|
|
|
|
|
by fendy3002
715 days ago
|
|
Unpopular opinion, but I always say that unit tests are contracts for the API. If you don't want / don't need to make contract, don't do unit tests. Unit tests main purpose is not to improve code or reduce bug, it's main purpose is to verify the code to work against the contract that's defined in unit tests. Code improvement or bug reduction are added benefit, if any. |
|
You’re talking about integration tests or e2e tests.
Those don’t sound like unit tests.