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:
Publising Test Content using www.testspace.com
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