I've got an individual QuickCheck2 property I'd like to run more than the standard 100 times, but I've gotten stuck on how to convince Test.Framework
to run more using plusTestOptions
-- the testProperty
fails with "Arguments exhausted after 0 tests".
Relevant code snippet:
mkMsysTests :: TestArgs -> [Test]
mkMsysTests opts =
[ testGroup "foo"
[ plusTestOptions testOptions_more (testProperty "bar" prop_bar) ]
]
testOptions_more =
TestOptions { topt_seed = Nothing
, topt_maximum_unsuitable_generated_tests = Nothing
, topt_maximum_test_size = Just 500
, topt_maximum_test_depth = Nothing
, topt_timeout = Nothing
, topt_maximum_generated_tests = Just 10000
}
Theoretically, this should test the property 10,000 times. But it doesn't. Is there any good documentation or example that demonstrates how to use TestOptions
to run property tests more than the standard 100 times?