digitalmars.D - How do you run a selected test with dlangvs?
- 12345swordy (2/2) Jan 03 2021 I am trying to run a selected test instead of all of the tests.
- James Blachly (7/9) Jan 03 2021 This is one of the most popular packages on code.dlang.org, although I
- Andre Pany (9/11) Jan 04 2021 I am pretty satisfied with this unit test framework
I am trying to run a selected test instead of all of the tests. Any ideas on how to do so?
Jan 03 2021
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
Jan 03 2021
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
Jan 04 2021