strikt
strikt copied to clipboard
Report skipped assertions
If an assertion is not evaluated because the chain before it broke it would be nice to see that in the output.
I think that this one is actually quite important. In fact, the cases where the assertion fails are way more important to print to the console than the cases where it succeeded.
I didn't look to deep into the code base, but I guess to make this happen you would need some sort of Abstract Syntax Tree for the compound assertion?
We are using this library for a couple of months. The main point is output for soft assertions, which I personally admire. One drawback of assertion output is when one assertion fails between 20-30 that have been passed. It isn't easy to find it in CI/CD server log or IDE console etc. Very nice feature would be the possibility to print out only the failed one.
Any suggestion or the possibility of implementing something similar in the near future.
Thanks