0.2.4 • Published 11 years ago

cucumber-poc v0.2.4

Weekly downloads
10
License
-
Repository
github
Last release
11 years ago

Angular Cucumber Example

This is a working example of running Angular E2E tests using Cucumber.js, Protractor, and WebDriverJS.

Getting Started

  1. Install dependencies

    npm install
    bower install
  2. Start the application server

    grunt server

Running Tests

  1. Start the application server

    grunt server
  2. Start the selenium server

    grunt selenium
  3. Run the cucumber tests

    grunt test

Resources

TODO

Questions

These are questions that I need to figure out due to my lack of familiarity with WebDriverJS and Selenium.

  • Why does omitting usingServer allow running tests on Chrome without having the selenium server running?
  • Saving world.coffee triggers some actions on the selenium server. Assuming there is some file watching mechanism in place, what files are watched and which actions are taken?