[Issue 4747] Make each unittest block a separate function that runs independently of the others

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Sep 25 03:24:50 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=4747


jens.k.mueller at gmx.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jens.k.mueller at gmx.de


--- Comment #1 from jens.k.mueller at gmx.de 2012-09-25 03:25:20 PDT ---
I'm not sure but isn't your second point more related to stack traces? I mean
if the stack trace would provide proper line numbers it was easy to find out
which unittest failed. Further this only applies if all you have is a stack
trace. That means if something was thrown you get the line number information.
If there is a segfault or similar (division by zero) you currently have to run
it under a debugger. I think this should be improved by providing better stack
traces.

Anyway the first point remains valid. unittests are often independent and it
should be possible to execute them independently.

-- 
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