Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

decates/chimp-example

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
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 git@github.com: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

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.