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

Yours sincerely,

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • Testing is a solution, not THE solution
    2003-04-09 09:57:29  anonymous2 [View]

    That's nice, but I can guarantee any software house that only implements provable algorithms will get crushed in the marketplace by a company that uses agile methodologies to produce software that is "good enough" because the agile company will ship first. Ship Or Die.

    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.