Some programming courses teach "write tests first"
Writing tests first is an excellent practice, but often leads to an unfortunate tendency for developers to ignore further whitebox methods. Agile methods talk about writing your tests, then writing your code until you get a green bar. A green bar at this stage should *not* be taken as a pass, but only an indicator that the code now fullfills its contract. That is insufficient to pass the code. Branch and boundary coverage simply can't be analyzed until after the code is written.
In reply to Re: Re: Automatic generation of tests
by Anonymous Monk
in thread Automatic generation of tests
by DrHyde
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |