Mocha test driver for test-machinepack
npm install test-machinepack-mochaMocha driver for running tests on machinepacks.
> Confused? See http://node-machine.org for documentation.
``bash`
npm install -g test-machinepack-mocha
You can use the generic driver to run tests. To do that, just cd into your machinepack and then run:
`bash``
testmachinepack-mocha
So what do the tests look like?
Check out this example from machinepack-npm:
https://github.com/mikermcneil/machinepack-npm/blob/master/tests/list-packages.json
MIT