Skip to content

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

Open
@Saif-Shines

Description

@Saif-Shines

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.

Activity

Saif-Shines

Saif-Shines commented on Jun 17, 2021

@Saif-Shines
Author

Meanwhile I'd try,

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

ShMcK commented on Sep 4, 2021

@ShMcK
Member

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      [Question] - Is it possible to use Jest as Test Runner? · Issue #84 · coderoad/coderoad-cli