Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

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

About

Carbon.io example illustrating test suites

Resources

License

Releases

No releases published

Packages

No packages published