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

check that all methods in a test are annotated #294

Open
yegor256 opened this issue Nov 22, 2023 · 3 comments
Open

check that all methods in a test are annotated #294

yegor256 opened this issue Nov 22, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@yegor256
Copy link

Would be great to check whether all methods in a test are annotated with @Test or @Before or @After

@volodya-lombrozo
Copy link
Owner

volodya-lombrozo commented Nov 22, 2023

@yegor256 We already have this check. Could you please add a bit of context, please?
Pay attention, that In order to enable that feature you might need to enable experimental configuration:

<configuration>
  <experimental/>
</configuration>

It is an experimental feature because it is rather strict and requires lots of changes in big projects.

@yegor256
Copy link
Author

@volodya-lombrozo it was missing at yegor256/jhome@f27131c#diff-4ae68b20587162945777266357143ea2da59b1cb31b71e5f40cc5db2325f7d86R114 That's why I suggested to add it. If it already exists, let's close this ticket.

@volodya-lombrozo
Copy link
Owner

@yegor256 you are right. The check doesn't work by some reason. I will investigate it and fix. Thanks.

@volodya-lombrozo volodya-lombrozo self-assigned this Nov 22, 2023
@volodya-lombrozo volodya-lombrozo added the bug Something isn't working label Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants