Programmatic usage Full documentation about it here Commands npm test - run our tests calling Mocha programatically found in index.js. The options are handed to mocha when it is instantiated.