Carbon.io example illustrating test suites
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.gitignore
.travis.yml
LICENSE
README.md
package-lock.json
package.json

README.md

Test Suites example

Build Status Carbon Version

This example illustrates the use of Carbon.io to implement test suites using Test-tube.

Test suites are used to organize and manage large sets of tests. In this example we create the following test tree via Test-tube:

MathTests
  * ArithmeticTests
    - AdditionTests
    - SubtractionTests
    - MultiplicationTests
    - DivisionTests
  * LogicTests
    - AndTests
    - OrTests
    - NotTests

The root of the test tree (the top-level test) is located in test/index.js.

Installing

We encourage you to clone the git repository so you can play around with the code.

$ git clone -b carbon-0.7 git@github.com:carbon-io-examples/example__test-suites.git
$ cd example__test-suites
$ npm install

Running the example test suite

$ node test

or

$ node test/index.js

or

$ npm test