Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Saif-Shines opened this issue Jun 17, 2021 · 2 comments
Open

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

Saif-Shines opened this issue Jun 17, 2021 · 2 comments

Comments

@Saif-Shines
Copy link

Saif-Shines commented Jun 17, 2021

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.

@Saif-Shines
Copy link
Author

Meanwhile I'd try,

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

@ShMcK
Copy link
Member

ShMcK commented Sep 4, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants