Thread overview | |||||
---|---|---|---|---|---|
|
January 03, 2021 How do you run a selected test with dlangvs? | ||||
---|---|---|---|---|
| ||||
I am trying to run a selected test instead of all of the tests. Any ideas on how to do so? |
January 03, 2021 Re: How do you run a selected test with dlangvs? | ||||
---|---|---|---|---|
| ||||
Posted in reply to 12345swordy | On 1/3/21 6:40 PM, 12345swordy wrote: > I am trying to run a selected test instead of all of the tests. Any ideas on how to do so? This is one of the most popular packages on code.dlang.org, although I have personally not used it. The documentation indicates that tests can be named individually (via attribuets) and run individually or as group(s) https://code.dlang.org/packages/unit-threaded This package likewise is also very popular: https://code.dlang.org/packages/silly |
January 04, 2021 Re: How do you run a selected test with dlangvs? | ||||
---|---|---|---|---|
| ||||
Posted in reply to 12345swordy | On Sunday, 3 January 2021 at 23:40:37 UTC, 12345swordy wrote: > I am trying to run a selected test instead of all of the tests. Any ideas on how to do so? I am pretty satisfied with this unit test framework https://code.dlang.org/packages/d-unit. You can filter the tests and with latest version it also supports to activate/deactivate tests based on environment variables / operation system or boolean conditions (same attributes like in JUnit 5). Kind regards Andre |
Copyright © 1999-2021 by the D Language Foundation