Skip to content

testspace-samples/javascript.mocha

 
 

Repository files navigation

Testspace


JavaScript/Mocha sample for demonstrating Testspace based on the nodejs-tdd-boilerplate

Sample demonstrates techniques for using Testspace with Javascript code and the Mocha test framework together with Istanbul code coverage tool.

  • Using a Testspace Project that is connected with this GitHub Repo
  • Using 3 Online CI services for demonstration purposes only
  • Can review the Results at testspace-samples:javascript.mocha
  • Refer to our Help for more information

Using Multiple Online CI Services:

Build Build Status CircleCI


Publising Test Content using www.testspace.com

Space Health Space Metric Space Metric


Download and configure the Testspace client

mkdir -p $HOME/bin
curl -s https://testspace-client.s3.amazonaws.com/testspace-linux.tgz | tar -zxvf- -C $HOME/bin
testspace config url samples.testspace.com

Install npm and run make

npm install
make lint test

Push Content using Testspace client

testspace checkstyle.xml [Tests]xunit.xml{test} coverage/cobertura-coverage.xml

Packages

No packages published

Languages

  • JavaScript 99.1%
  • Makefile 0.9%