mocha run file before all tests code example Example: how to run mocha tests form a file $ mocha -g 'logs a'