Unit-threaded v0.4.0 released
Atila Neves via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Wed Apr 23 00:42:55 PDT 2014
http://code.dlang.org/packages/unit-threaded
. The @HiddenTest UDA now takes a compile-time string meant to be
a bug id or other reason why the test is hidden. Unfortunately
that means previous code using it needs to add a string or it'll
fail to compile
. The new @ShouldFail UDA also takes a compile-time string for
the same reason. This fauses a test to fail unless it throws.
Harder to sweep under the carpet than @HiddenTest
. On the sweeping front, the number of hidden tests is now
reported in yellow
. Exceptions that aren't a descendant of
unit_threaded.check.UnitTestException display a stack trace. This
is for easier debugging in case an unexpected exception is thrown
. The one bug I knew of was fixed
Atila
More information about the Digitalmars-d-announce
mailing list