bitwizeshift / oxtest

🚧 A WIP rust unit-testing library
https://bitwizeshift.github.io/neotest
Apache License 2.0
0 stars 0 forks source link

Add non-fatal assertions #9

Open bitwizeshift opened 1 year ago

bitwizeshift commented 1 year ago

As an extension to #7, it can be useful in testing to provide non-fatal assertions for tests, which can allow the code to progress after failure.

The current proposed implementation is:

There should also be considerable code-sharing between #7 and this, since anything we want asserts of, we should also offer expects.