[Issue 5283] New: Increase granularity of unit tests so that all unittest blocks in a module run even after another block fails
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Nov 27 22:41:12 PST 2010
http://d.puremagic.com/issues/show_bug.cgi?id=5283
Summary: Increase granularity of unit tests so that all
unittest blocks in a module run even after another
block fails
Product: D
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: jmdavisProg at gmx.com
--- Comment #0 from Jonathan M Davis <jmdavisProg at gmx.com> 2010-11-27 22:39:46 PST ---
I don't think that this is in bugzilla, and I don't want to get lost, so I'm
adding it.
Currently, if a unittest block fails in a module, no more unittest blocks in
that module run. The unittest blocks in other modules are run, but not the rest
of the unittest blocks in any module where a test failure occurs. Ideally,
_every_ unittest block would run. Failures would be reported for each block
which failed, but whether a particular unittest block failed would have no
impact on whether the other unittest blocks ran.
There was a discussion on the Phobos list about this a few months back, and
from this post ( http://www.mail-archive.com/phobos@puremagic.com/msg01307.html
) by Sean Kelly, it appears that a change needs to be made to dmd to make this
possible. So, whatever change needs to happen to dmd to properly expose the
unittest blocks and make it possible to call all of them in a module even if
one fails needs to be done one of these days (preferrably sooner rather than
later).
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list