Skip to content

Use custom test runner for Tools > REPL shortcuts: {Run Tests in Current NS, Run (test under cursor)}[in REPL] #3075

@nhooey

Description

@nhooey

It would be great to be able to specify a custom test runner for use with the shortcuts in Tools > REPL:

  1. Run Tests in Current NS in REPL
  2. Run (test under cursor) in REPL

So a subset of tests specified by the user being run in the REPL can have the same test output that the user configured by using their own custom or a library test runner.

This avoids the necessity to create IDE-global keyboard shortcuts and Templates to essentially rebuild the Cursive feature.

If Cursive is parsing the test result output of the test runner to annotate the IDE's code editor with pass/fail symbols, then this feature's implementation would have some complexities, but hopefully that's not the case.

Reference: Tools > REPL commands in the JetBrains IDE UI:

Image

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