Sometimes we think that we have enough tests, sometimes we don't. How about having a metric that will give us a better vision ?
For this, there's coverage. It helps us to know what have been tested and what haven't. However, we can still write stupid tests without any expect that cover all the lines.
Consider it as a maximum of trust you can have in a codebase.
Must have
[ ] Coverage on test run if COVERAGE env var is set
Why ?
Sometimes we think that we have enough tests, sometimes we don't. How about having a metric that will give us a better vision ?
For this, there's coverage. It helps us to know what have been tested and what haven't. However, we can still write stupid tests without any expect that cover all the lines.
Consider it as a maximum of trust you can have in a codebase.
Must have
COVERAGE
env var is setTodo
Reading list