selkamand / assertions

Assertions with Beautiful and Customizable Error Messages
https://selkamand.github.io/assertions/
Other
0 stars 0 forks source link

Add explanation of low code-cov #26

Open selkamand opened 1 year ago

selkamand commented 1 year ago

Robust assertion packages should have extremely high unit-test coverage

Unfortunately, because assertion function from this package are created with a function assert_create the unit tests aren't considered to cover the assertion creation statements

selkamand commented 1 year ago

Try and find a way to get coverage metrics that actually tell us which assertions have high/low code coverage. As it is the coverage stats are not super helpful

selkamand commented 1 year ago

Added a test to check a reasonable number of tests per assertion has been - don't think we can do much more than that for now. Ensure some explanation of the problem is written somewhere on the readme, then we should close