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

--- Comment #0 from Jonathan M Davis <> 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 (
) 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

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to