Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it easier to unit test the code base #17

Open
se02035 opened this issue Apr 20, 2022 · 0 comments
Open

Make it easier to unit test the code base #17

se02035 opened this issue Apr 20, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@se02035
Copy link
Contributor

se02035 commented Apr 20, 2022

Problem

The current code base is difficult to unit test; in most of the cases integration tests are required (these tests are typically slower and some elements are more complicated to mock/automate). Unit testing extensions is currently difficult. see microsoft/vscode#94746

Solution

Restructure the code base and use standard recommended practices (such as decoupling/loose coupling of components, integration/abstraction layer) to improve testability and maintainability.

There is a thin integration layer encapsulating the vscode module. The extension code communicates with the vscode module only via this layer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant