| Article: |
Top 12 Reasons to Write Unit Tests | |
| Subject: | Testing is a wrong way ... | |
| Date: | 2003-04-09 07:41:50 | |
| From: | anonymous2 | |
|
Response to: Testing is a wrong way ...
|
||
|
The solution is verification and analysis. As e.g. an algorithm, which was modelled with a petri net, can be examined for characteristics as deadlock, livelock, buffer capacity, ... Testing represents a optimistic procedure: develop first and then test. A better way would be the following: permit only methods for development, which produce guaranteed (mathematically founded) correct algorithms - see petri nets
|
||
Showing messages 1 through 1 of 1.
-
Testing is a solution, not THE solution
2003-04-09 09:57:29 anonymous2 [View]



In a risk-return analysis, test-first design will beat mathematical analysis in all but a few niches.
Also, you can't be competetive in the marketplace if you have to re-prove your code every time you have to adapt your code for a new feature, or refactoring.