| Thread overview | |||||
|---|---|---|---|---|---|
|
May 19, 2007 unittests all in one time | ||||
|---|---|---|---|---|
| ||||
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 Re: unittests all in one time | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Jan Hanselaer | 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 Re: unittests all in one time | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Jan Hanselaer | 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
| |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply