Mocha tries to find test files under test by default, how do I specify another dir, e.g. server-test?
If you are using nodejs, in your package.json under scripts
global (-g) installations: "test": "mocha server-test" or "test": "mocha server-test/**/*.js" for subdocumentsproject installations: "test": "node_modules/mocha/bin/mocha server-test" or "test": "node_modules/mocha/bin/mocha server-test/**/*.js" for subdocumentsThen just run your tests normally as npm test