Skip to content

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

Open

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

  1. 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
    ...
  2. 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