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

Plugin self tests #94

Open
stefan6419846 opened this issue Aug 18, 2022 · 0 comments
Open

Plugin self tests #94

stefan6419846 opened this issue Aug 18, 2022 · 0 comments

Comments

@stefan6419846
Copy link

Is your feature request related to a problem?

I just built the plugin the other day, when I observed some warnings being emitted, which mostly originated from the plugin API calling some deprecated methods. Fixing these issues might not be obvious as this might have unexpected side effects which are not visible during some quick testing.

Describe the solution you'd like

The plugin provides corresponding self tests (as unit and integration/UI tests), allowing a contributor to run them after some changes to verify the correct plugin behavior.

JetBrains provides some guidance for this: https://plugins.jetbrains.com/docs/intellij/testing-plugins.html. checkstyle-idea has some tests as well, which is described as the "reference implementation" in the README (although Checkstyle is written in Java, in contrast to pylint being Python-based).

Describe alternatives you've considered

Manually testing the plugin will work for a rather basic overview, but extensive coverage of all relevant parts (in the best case) is rather unlikely in this case.

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

No branches or pull requests

1 participant