Open crenshaw-dev opened 8 months ago
CI needs to block PRs that have new lines of code but no test coverage.
Code should be unit tested.
Require >30% coverage. Low enough to not be obnoxious, but high enough to motivate some basic testing.
I believe the Rollouts repo does this.
I think new code needs to have at least 70% coverage. We are facing issues and bugs that could be easily avoided by simple unit tests.
Summary
CI needs to block PRs that have new lines of code but no test coverage.
Motivation
Code should be unit tested.
Proposal
Require >30% coverage. Low enough to not be obnoxious, but high enough to motivate some basic testing.
I believe the Rollouts repo does this.