Skip to content

Setting up jest-editor-support as a language server #205

Open
@seanpoulter

Description

@seanpoulter

I'm opening this issue as a place to discuss if/when we should set up jest-editor-support as a language server. If we start to look at testing unsaved documents, we're going to increase our IO and CPU loads which may be better suited to a language server.

Seems like it'd be useful to support:

  • incremental updates to source files
  • incremental AST updates (TS supports it, not sure about the Babylon parser)
  • providing parsed test suite and test locations, names, etc. for any consumer (e.g.: a test result View like JUnit in Eclipse)
  • incremental test result updates based on the files changed

Here's the relevant Extension docs for VS Code:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions