Created
November 3, 2024 12:09
-
-
Save Bodigrim/f8a63d4829610743073ec997d39d3b46 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Main where | |
import Test.Tasty | |
import Test.Tasty.Providers | |
data Foo = Foo | |
instance IsTest Foo where | |
testOptions = pure [] | |
run _ _ _ = pure $ testPassed "" | |
main :: IO () | |
main = do | |
let tests = map (\k -> singleTest (show k) Foo) [0..500] | |
mkGroups t = map (\k -> testGroup (show k) t) [0..500] | |
defaultMain $ | |
testGroup "All" $ mkGroups tests |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment