selective tests

Seb seb at wilzba.ch
Sat Oct 12 17:13:28 UTC 2019


On Saturday, 12 October 2019 at 13:50:46 UTC, IGotD- wrote:
> On Saturday, 12 October 2019 at 09:52:59 UTC, Jonathan M Davis 
> wrote:
>> [...]
>
> This would be helpful. About all C++ unit test frameworks have 
> named test and you can select a specific one or several in the 
> command line. Very useful when you work on a specific test and 
> other tests take some time to finish.
>
> having
>
> unittest OptionalName
> {
>    ...
> }
>
> would actually help a lot. I don't think this would be very 
> difficult to implement and wouldn't break anything.

It wouldn't be hard, but someone would need to write a DIP for 
it. In the meantime you can use 
https://github.com/atilaneves/unit-threaded.


More information about the Digitalmars-d-learn mailing list