atom-mocha-test-runner icon indicating copy to clipboard operation
atom-mocha-test-runner copied to clipboard

New option for customizing `testPaths`

Open banacorn opened this issue 6 years ago • 2 comments

This commit adds a new option transformTestPaths: [FilePath] -> [FilePath] to createRunner, which allows users to map the origin given paths ["./spec"] to whatever paths they want.

This is particularly useful when you need to put your test in places other than ./spec/

banacorn avatar Jul 10 '19 07:07 banacorn

Just use this. I don't think this runner is maintained much anymore.

atom-mocha enables you to use an ordinary .mocharc.js file as a config, so you have full programmatic freedom over what and where test folders or files are loaded from:

https://github.com/Alhadis/Atom-Mocha/blob/master/docs/options.md#tests

Alhadis avatar Jul 10 '19 07:07 Alhadis

Thanks!

banacorn avatar Jul 10 '19 10:07 banacorn