Low level unit test library in druntime
Dicebot via Digitalmars-d
digitalmars-d at puremagic.com
Fri Sep 2 12:52:51 PDT 2016
On Friday, 2 September 2016 at 19:26:41 UTC, Jacob Carlborg wrote:
> On 2016-09-01 14:02, Dicebot wrote:
>
>> What would be different? List of unit test blocks available in
>> the program?
>
> How the unit tests are written and collected.
>
> unittest { assert(true); }
>
> class FooTest : Test
> {
> void testFoo() { assert(true); }
> }
>
> describe("foo", {
> it("does something", {
> assert(true);
> });
> });
Then we perfectly understand each other and I will vote against
introducing any other way/syntax for writing _unit_ tests in D
with all my passion.
More information about the Digitalmars-d
mailing list