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

Log which projects don't have test suites #4

Open
snadi opened this issue Aug 29, 2018 · 2 comments
Open

Log which projects don't have test suites #4

snadi opened this issue Aug 29, 2018 · 2 comments
Labels
enhancement New feature or request

Comments

@snadi
Copy link
Contributor

snadi commented Aug 29, 2018

When running the tests, a project may be using maven but has no test suites. Such projects should be clearly marked. E.g., -1 as the value of the passing test or some other field marked for the project

@snadi snadi added the enhancement New feature or request label Aug 29, 2018
@mkareshk
Copy link
Collaborator

@snadi How can I detect this?

@snadi
Copy link
Contributor Author

snadi commented Sep 10, 2018

The safest way is to run mvn test and see if there is the message There are no tests to run. in the output.

Another heuristic can be to check if there is a src/test/java folder, although this may be inaccurate since I could have the folder but no test files under it.

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

2 participants