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

TestModule.testOnly should fail if no tests were matched #3204

Closed
lefou opened this issue Jun 11, 2024 · 0 comments · Fixed by #3224
Closed

TestModule.testOnly should fail if no tests were matched #3204

lefou opened this issue Jun 11, 2024 · 0 comments · Fixed by #3224
Milestone

Comments

@lefou
Copy link
Member

lefou commented Jun 11, 2024

If there is a typo in the filter string, it can happen, that no test were executed at all.

@lefou lefou changed the title TestModule.testOnly should fail if no tests where matched TestModule.testOnly should fail if no tests were matched Jun 21, 2024
lefou added a commit that referenced this issue Jun 21, 2024
```
> mill foo.test.testOnly MyTest
...
1 target failed
foo.test.testOnly Test selector does not match any test: MyTest
Run discoveredTestClasses to see available tests
```

Fix #3204
@lefou lefou closed this as completed in 53fce63 Jun 21, 2024
@lefou lefou added this to the 0.11.8 milestone Jun 21, 2024
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

Successfully merging a pull request may close this issue.

1 participant