Skip to content

Seems there are a variety of ways to do automated functional testing. This is the result of some research I am doing to determine which is best for my projects.

Notifications You must be signed in to change notification settings

21alexander21/functional-testing-prototypes

 
 

Repository files navigation

Functional Testing Prototypes

Seems there are a variety of ways to do automated functional testing. This is the result of some research I have done to determine which is best for my projects.

My goal is to do a small set of tests using each combination of projects and see what is good and bad about each. So far the tests consist of:

  • Navigating to http://cnn.com and validating that the "Home" navigation item is on the page.

Technologies

Project Code Repository Homepage
Selenium https://code.google.com/p/selenium/ http://docs.seleniumhq.org/
PhantomJS https://github.com/ariya/phantomjs/ http://phantomjs.org/
CasperJS https://github.com/n1k0/casperjs http://casperjs.org/
Mocha https://github.com/visionmedia/mocha http://visionmedia.github.io/mocha/
Chai https://github.com/chaijs/chai http://chaijs.com/
Arrow https://github.com/yahoo/arrow
Nightwatch.js https://github.com/beatfactor/nightwatch http://nightwatchjs.org/
Nodeunit https://github.com/caolan/nodeunit
WebdriverJS (Node) https://github.com/Camme/webdriverjs

Combinations

None of the technologies above are really standalone. All of these things work together in various ways.

  • Mocha - Chai - WebdriverJS (Node) - Selenium - Working Example
  • Mocha - Chai - Arrow - Selenium
  • Mocha - Chai - Arrow - PhantomJS
  • Mocha - Chai - Other?
  • PhantomJS - CasperJS
  • Nightwatch - Nodeunit - Selenium

References

About

Seems there are a variety of ways to do automated functional testing. This is the result of some research I am doing to determine which is best for my projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 90.8%
  • HTML 6.4%
  • CSS 1.2%
  • Other 1.6%