-
Notifications
You must be signed in to change notification settings - Fork 8
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
Tests don't fail when exception is thrown #177
Comments
thanks for using the package!
Intended usage would look like % cat test/runtests.jl
using ReTestItems
runtests() % cat test/example_tests.jl
@testitem "Example tests" begin
error("Fail")
end |
Aha, thanks. I indeed get better luck with that setup. It does seem like something, somewhere, should be noticing that tests failed under the setup I had, though - is that |
hmmm, yeah, good point Does this branch give you the behaviour you expect: #178 ? You can try it out if using |
For some reason I can't seem to try that out, I keep getting |
looks like a known issue with using |
It appears that if a
@testitem
inruntests.jl
throws an exception, the overall test process still returns status 0, i.e., success.Here's a minimal working example:
Notice the
Testing Inflect tests passed
message and the exit status.Thoughts on why this is happening and how to fix it?
The text was updated successfully, but these errors were encountered: