std.experimental.testing formal review
Atila Neves via Digitalmars-d
digitalmars-d at puremagic.com
Fri Sep 11 04:27:58 PDT 2015
On Friday, 11 September 2015 at 10:02:22 UTC, NVolcz wrote:
> On Wednesday, 9 September 2015 at 15:20:41 UTC, Robert burner
> Schadek wrote:
>> This post marks the start of the two week review process of
>> std.experimental.testing.
>> </ snip>
>
> Some questions from a Java programmer:
> How would I go about making test fixtures. Ex. in JUnit you
> have @Before and @BeforeClass
The py.test way: write a function that creates the fixture, call
it from the unit test.
> Is it possible to categorize tests?
D's module system does that already.
> How about Fuzz-tests, randomize input for test on each run?
Like QuickCheck? Robert has something for that.
> Time limited test? If this tests runs more than 5min then fail
Unit tests should run in a fraction of a second... no, there's no
such functionality.
Atila
More information about the Digitalmars-d
mailing list