Skip to content

decates/chimp-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chimp-example

An example of using Chimp to run BDD tests really easily in Node, using the sample tests from the documentation.

There is a sample Cucumber test, and a sample Mocha test.

Prerequisites

Just a recent version of NodeJS (v5.3.0 or higher?) and Chrome installed.

Setting up

  1. Clone the repository: git clone [email protected]:decates/chimp-example.git
  2. Install dependencies: npm install

Running the tests

Run the Cucumber test once only: npm test

or, run the mocha test: npm run-script mocha

Watching files

Chimp comes into its own when watching test files for changes, keeping the browser open, and re-running tests quickly to provide rapid feedback.

To watch the Cucumber test (features/search.feature): npm run-script watch

or to watch the Mocha test (features/google.js): npm run-script mocha-watch

About

An example of using chimp to run BDD tests.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published