add test summary with number of parts and time
Sponsored-by: Brock Spratlen on Patreon
This commit is contained in:
parent
287b070597
commit
28c4051e3d
2 changed files with 14 additions and 3 deletions
4
Test.hs
4
Test.hs
|
@ -128,7 +128,7 @@ runner :: TestOptions -> IO ()
|
|||
runner opts = parallelTestRunner opts tests
|
||||
|
||||
tests :: Int -> Bool -> Bool -> TestOptions -> [TestTree]
|
||||
tests n crippledfilesystem adjustedbranchok opts =
|
||||
tests numparts crippledfilesystem adjustedbranchok opts =
|
||||
properties
|
||||
: withTestMode remotetestmode testRemotes
|
||||
: concatMap mkrepotests testmodes
|
||||
|
@ -147,7 +147,7 @@ tests n crippledfilesystem adjustedbranchok opts =
|
|||
| otherwise = Nothing
|
||||
mkrepotests (d, te) = map
|
||||
(\uts -> withTestMode te uts)
|
||||
(repoTests d n)
|
||||
(repoTests d numparts)
|
||||
|
||||
properties :: TestTree
|
||||
properties = localOption (QuickCheckTests 1000) $ testGroup "QuickCheck" $
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue