Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Unit testing framework for actions #475

Open
@nrc

Description

@nrc

I would like to be able to test the various actions the RLS can perform without having to create a project, start the server, do the initialisation, etc. (i.e., an integration test). This is currently difficult because we have a lot of heavyweight context. I believe that if we can mock the ActionContext, unit testing should then be straightforward. However, mocking the ActionContext includes mocking the VFS, configuration, IO, the analysis data, and the build manager. Which will be interesting!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions