美文网首页我爱编程
Node.js 常用自动化测试框架Summary

Node.js 常用自动化测试框架Summary

作者: autoforce | 来源:发表于2017-05-10 15:08 被阅读0次

    #1.WebdriverJs (Selenium-webdriver)

    "WebdriverJS" is another name for selenium-webdriver, the official Node.JS implementation of the JSONWire (WebDriver Wire) Protocol by the Selenium team.

    #2. Webdriverio

    "WebdriverIO" is an independent implementation of the JSON Wire Protocol by Christian Bromann (SO profile), who works at Sauce Labs, a provider of cloud-base cross-browser testing.

    #3. protractor

    Protractor is an end-to-end test framework for Angular and AngularJS applications. Protractor is a Node.js program built on top of WebDriverJS. Protractor runs tests against your application running in a real browser, interacting with it as a user would.

    #4. Jasmine (Combining WebDriverJS with Jasmine)

    Jasmine is a Behavior Driven Development testing framework for JavaScript. It does not rely on browsers, DOM, or any JavaScript framework. Thus it's suited for websites, Node.js projects, or anywhere that JavaScript can run.

    #5. Nightwatch.js

    Nightwatch.js describes itself as an easy-to-use Node.js-based end-to-end (E2E) testing solution for browser-based apps and websites. It uses the Selenium WebDriver API to perform commands and assertions on DOM elements for front end testing.

    #6. Mocha

    Mocha is a feature-rich JavaScript test framework running on Node.js and in the browser, making asynchronous testing simple and fun. Mocha tests run serially, allowing for flexible and accurate reporting, while mapping uncaught exceptions to the correct test cases.

    相关文章

      网友评论

        本文标题:Node.js 常用自动化测试框架Summary

        本文链接:https://www.haomeiwen.com/subject/cadyjttx.html