|
|
|
|
|
by mristin
1844 days ago
|
|
P.S. I think the important bit is not to be religious about contracts and tests. Sometimes it's easy to write the contracts and have the function automatically tested, sometimes unit tests are clearer. I tend to limit myself to simple contracts and do table tests for the complex cases to reap the benefits of the both approaches. |
|
Do you have in mind some technique to turn contracts into tests or tests into contracts automatically, in order to close the gaps in quality control?