unit tests with name and verbose report
Paul Backus
snarwin at gmail.com
Thu Aug 4 17:56:43 UTC 2022
On Thursday, 4 August 2022 at 17:08:39 UTC, Danesh Daroui wrote:
> 1. Would it be possible to have "named" unit tests? Right now
> only anonymous unit tests ara apparently supported in D and
> when the tests are executed no detailed information is shown. I
> would like to see how many tests have been executed, how many
> passed and how many failed and complete names of the test for
> both passed and failed.
There are alternative test runners that support these features.
The two most popular are [`unit-threaded`][1] and [`silly`][2].
[1]: https://code.dlang.org/packages/unit-threaded
[2]: https://code.dlang.org/packages/silly
More information about the Digitalmars-d
mailing list