/benderjs-example-project

Example project using Bender.js for the testing

Primary LanguageJavaScriptMIT LicenseMIT

Build Status

benderjs-example-project

Example project using Bender.js for the testing. The tests are written in Jasmine and loaded with benderjs-jasmine test framework adapter.

See Testing in Bender for more details.

Installation

Clone the project:

$ git clone https://github.com/benderjs/benderjs-example-project.git

Install NPM dependencies:

$ npm install

Running the tests

There are two common ways to run the tests using Bender - using a dashboard or a command line.

Using a dashboard

Start Bender.js server:

$ bender server run

Open http://localhost:1030 in your web browser.

Press 'Start tests' button for all the tests or a specific test's ID to run it singly.

Using a command line

$ bender run

By default, it will open Chrome browser and execute all the tests in it. If you wish to use a different browser, use -b/--browser option, e.g.:

$ bender run -b firefox

License

MIT, for license details see: LICENSE.md