Skip to content

carbon-io-examples/example__test-suites

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published