[phobos] Split std.datetime in two?

spir denis.spir at gmail.com
Fri Feb 11 10:10:01 PST 2011


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



More information about the phobos mailing list