-
-
Notifications
You must be signed in to change notification settings - Fork 96
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
Option to suppress "Skipped" messages #453
Comments
Hello, @jcmrva Can you provide a small example of a code that does what you described? |
I would also like to see this option. @ratsclub For example with the test suite let tests =
testList
"A test group"
[ test "one test" { Expect.equal (2 + 2) 4 "2+2" }
ftest "another test that fails" { Expect.equal (3 + 3) 5 "3+3" }
testAsync "this is an async test" {
let! x = async { return 4 }
Expect.equal x (2 + 2) "2+2"
} ]
|> testLabel "samples"
The option would skip over the messages |
A workaround: runTestsWithCLIArgs
[ Printer
{ Impl.TestPrinters.defaultPrinter with
beforeEach = fun _ -> async { () }
ignored = fun _ _ -> async { () } } ]
args tests
Although not ideal because the "test starting" message for the running test isn't shown |
rynoV
added a commit
to Auspice-Capital/expecto
that referenced
this issue
Sep 10, 2024
rynoV
added a commit
to Auspice-Capital/expecto
that referenced
this issue
Sep 10, 2024
(cherry picked from commit 3fde247)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This would be particularly useful when focusing a test, or list of tests.
We have hundreds of tests, so focusing results in a flood of messages.
The text was updated successfully, but these errors were encountered: