fix[test]: don't take one minute for two tests
This commit is contained in:
parent
c02f1b292b
commit
390308e9d7
1 changed files with 5 additions and 1 deletions
|
@ -16,6 +16,9 @@ import Control.Applicative (pure)
|
||||||
import Data.Maybe (Maybe)
|
import Data.Maybe (Maybe)
|
||||||
import Test.Tasty.QuickCheck qualified as Tasty.QuickCheck
|
import Test.Tasty.QuickCheck qualified as Tasty.QuickCheck
|
||||||
import Test.Tasty (TestTree)
|
import Test.Tasty (TestTree)
|
||||||
|
import Test.Tasty.QuickCheck (QuickCheckMaxSize(QuickCheckMaxSize))
|
||||||
|
import Data.Function (($))
|
||||||
|
import Test.Tasty qualified as Tasty
|
||||||
|
|
||||||
-- | This is testworthy since I have somehow hand-hacked the read/show de/serialization of 'ImplicitMap'
|
-- | This is testworthy since I have somehow hand-hacked the read/show de/serialization of 'ImplicitMap'
|
||||||
|
|
||||||
|
@ -30,4 +33,5 @@ allTests :: [(String, Property)]
|
||||||
allTests = $allProperties
|
allTests = $allProperties
|
||||||
|
|
||||||
testGroup :: TestTree
|
testGroup :: TestTree
|
||||||
testGroup = Tasty.QuickCheck.testProperties "Data.Map.Implicit" allTests
|
testGroup = Tasty.localOption (QuickCheckMaxSize 25) -- it is necessary to restrain the size because the generated core would get veeeeeery big otherwise
|
||||||
|
$ Tasty.QuickCheck.testProperties "Data.Map.Implicit" allTests
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue