coderoad/coderoad-cli

[Question] - Is it possible to use Jest as Test Runner?

saif-shines opened this issue · 2 comments

Maintainers,

Thanks for building a great project. I really appreciate it, and I am exploring if this can be something I could invest in and adopt.

I see test runner coderoad uses is mocha.

Does coderoad CLI(or may be VS Code extension) recognize only mocha? Can I use jest? For example, features to Jest's snapshot testing is one feature that can be complimentary for tutorials use cases.

Meanwhile I'd try,

...
 testRunner:
    command: ./node_modules/.bin/jest
    args:
      tap: --reporter=mocha-tap-reporter
    directory: coderoad
...
ShMcK commented

I'm a fan of Jest, but the startup performance on each test run is very slow. Around 3s on a newish Macbook Pro.