-
Notifications
You must be signed in to change notification settings - Fork 15
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
Fails should be fails and not errors #9
Comments
If we're providing better |
Just to be clear that line is about how to test this package. not for using this package to rest others. |
If you Test Summary: | Broken Total
@test_broken with fail | 5 5
Test Summary: | Broken Total
@test_broken with errors | 2 2
Test Summary: | Broken Total
@test_skip | 4 4 @testset "@test_broken with fail" begin
@test_broken false
@test_broken 1 == 2
@test_broken 1 != 1
@test_broken strip("\t hi \n") != "hi"
@test_broken strip("\t this should fail \n") == "hi"
end I assume this is accepted as long as it's described clearly. |
Changing
into
would do it.
But that makes testing the fail case harder.
One way to handle that is to test in a different process.
Which is what the code I was confused about in #4 did:
https://github.com/Evizero/ReferenceTests.jl/pull/4/files#diff-fce720c43af3c52c862fd7451c7374b8R26
The text was updated successfully, but these errors were encountered: