qcheck 0.1.0

A library for automatic randomized testing.


To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

qcheck Build Status

A library for automatic randomized testing.

==== Usage

unittest
{
    import qcheck;

    static void testSort(int[] arr)
    {
        import std.algorithm;
        auto res = sort(arr);
        foreach (i; 1 .. res.length)
            assert(res[i-1] <= res[i]);
    }

    qcheck!testSort();
}
Authors:
Martin Nowak
Dependencies:
none
Versions:
0.1.0 2014-Oct-14
~master 2015-Feb-11
~testBeta 2015-Sep-13
Show all 3 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 214 downloads total