digitalmars.D.learn - Execute certain Tests?
- Martin Brezel (5/5) Nov 02 2019 Is there a trick to execute only the test, defined in one file?
- Paul Backus (2/7) Nov 02 2019 dmd -unittest -run -main module.d
- Max Haughton (5/10) Nov 02 2019 Not by default, if you know the language well then you can use
Is there a trick to execute only the test, defined in one file? Or the Tests of a certain Module? Or in general: How to avoid to execute all the tests, when running "dub test"? It doesn't has to be dub, though.
Nov 02 2019
On Saturday, 2 November 2019 at 17:27:14 UTC, Martin Brezel wrote:Is there a trick to execute only the test, defined in one file? Or the Tests of a certain Module? Or in general: How to avoid to execute all the tests, when running "dub test"? It doesn't has to be dub, though.dmd -unittest -run -main module.d
Nov 02 2019
On Saturday, 2 November 2019 at 17:27:14 UTC, Martin Brezel wrote:Is there a trick to execute only the test, defined in one file? Or the Tests of a certain Module? Or in general: How to avoid to execute all the tests, when running "dub test"? It doesn't has to be dub, though.Not by default, if you know the language well then you can use UDAs to write a fancy test runner in ten minutes, if not then use Attila's unit-threaded (or similar) Max
Nov 02 2019