Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: release-201304…
Pull request Compare This branch is 580 commits behind master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
common
etc
lib/metadata
man
node-tap
node_modules
sbin
smf
tests
tools
README.md
README.migration
runtest
runtests

README.md

How to use the tests.

The tests here run in the GZ as they need to be able to manage VMs. Tests are now bundled into the platform at build time. To run all tests you can go to /usr/vm/test in the platform and run:

touch /lib/sdc/.sdc-test-no-production-data
./runtests

This will take some time and run them all. If you want to run a single test, go to /usr/vm/test and run:

touch /lib/sdc/.sdc-test-no-production-data
./runtest tests/test-<testname>.js

which will run only that test.

How to update the test framework (node-tap) from upstream.

You should be able to just run:

./tools/setup-tap.sh

which will update all the node-tap files. Please ensure all tests are working before you commit the update to node-tap.

Something went wrong with that request. Please try again.