fix[test]: Don't test read/show instances for more than a second

This commit is contained in:
vegowotenks 2025-08-18 20:09:21 +02:00
parent c87cbb5405
commit 5ccb477a50

View file

@ -33,5 +33,6 @@ allTests :: [(String, Property)]
allTests = $allProperties allTests = $allProperties
testGroup :: TestTree testGroup :: TestTree
testGroup = Tasty.localOption (QuickCheckMaxSize 25) -- it is necessary to restrain the size because the generated core would get veeeeeery big otherwise testGroup = Tasty.localOption (QuickCheckMaxSize 5) -- anything above 25 doesn't finish in reasonable time on my laptop
$ Tasty.QuickCheck.testProperties $moduleName allTests $ Tasty.QuickCheck.testProperties $moduleName allTests
-- I don't want to stress-tess or bench-mark it, just prove it works cause I hacked a little around it.