Thread overview
unittests all in one time
May 19, 2007
Jan Hanselaer
May 19, 2007
Daniel919
May 25, 2007
Sean Kelly
May 19, 2007
Hi

When looking around how unittesting works I encountered the problem that the
execution of the tests stops from the moment one assert  fails.
I've seen proposals to make them run all and give a list of all the failing
tests.
What I was wondering is if there's something like that planned to
incorporate into the language itself?

D is the first language I'm using unittests in just because it's very handy with the testcode nearby the source code you're testing. But it would be much easier if all the tests are run in one time.

Greetings
Jan


May 19, 2007
Hi, I never used it so far, but you might check out
UnittestWalker from Thomas Kühne: http://flectioned.kuehne.cn/#unittest

> What I was wondering is if there's something like that planned to
> incorporate into the language itself?
I don't know.
May 25, 2007
Jan Hanselaer wrote:
> Hi
> 
> When looking around how unittesting works I encountered the problem that the execution of the tests stops from the moment one assert  fails.
> I've seen proposals to make them run all and give a list of all the failing tests.
> What I was wondering is if there's something like that planned to incorporate into the language itself?

I just added a feature to Tango that allows this behavior.  I'm not sure if that qualifies, but I thought it worth mentioning.


Sean