qcheck ~testBeta

A library for automatic randomized testing.


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

qcheck Build Status

A library for automatic randomized testing.

Usage

int[] mysort(int[] arr)
{
    // ...
    return arr;
}

unittest
{
    import qcheck;
    import std.algorithm;

    quickCheck!((int[] a) => assert(equal(sort(arr.dup), mysort(arr.dup))));
}
Authors:
  • Martin Nowak
Dependencies:
none
Versions:
0.1.1 2018-Jan-31
0.1.0 2014-Oct-14
~master 2018-Jan-31
~testBeta 2015-Sep-13
Show all 4 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 231 downloads total

Score:
0.9
Short URL:
qcheck.dub.pm