On 02/11/2011 02:39 PM, Steve Schveighoffer wrote:
With unit tests, you care about one thing -- what happened to make this unit test fail. A one line independent unit test is ideal, you need to do no context reading in order to figure out how the test is constructed. It allows easy proof that the test is not flawed, and quick direction to the actual problem.
This is a design issue with assert. One cannot have it tell what one needs to know for diagnose, even less on demand, eg when a regression test suite fails after a change.
Denis -- _________________ vita es estrany spir.wikidot.com _______________________________________________ phobos mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/phobos
