From 5b4c4f070187e051049afd8e458793163b4919bb Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Sun, 7 Nov 2021 21:33:27 -0500 Subject: feat(gs/xanthous): Enable tasty-rerun Rerunning only failed tests is nice! To use this, run `cabal new-run test -- --rerun` Change-Id: I9dc4d69749c3e3d5ba8d1661a2fdf73e49cd8ad5 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3816 Tested-by: BuildkiteCI Reviewed-by: grfn --- users/grfn/xanthous/test/Test/Prelude.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'users/grfn/xanthous/test/Test') diff --git a/users/grfn/xanthous/test/Test/Prelude.hs b/users/grfn/xanthous/test/Test/Prelude.hs index 2df0a6290a02..75c1ebf5e76a 100644 --- a/users/grfn/xanthous/test/Test/Prelude.hs +++ b/users/grfn/xanthous/test/Test/Prelude.hs @@ -5,6 +5,7 @@ module Test.Prelude , module Test.Tasty , module Test.Tasty.HUnit , module Test.Tasty.QuickCheck + , module Test.Tasty.Ingredients.Rerun , module Test.QuickCheck.Classes , testBatch , jsonRoundTrip @@ -15,6 +16,7 @@ import Xanthous.Prelude hiding (assert, elements) import Test.Tasty import Test.Tasty.QuickCheck import Test.Tasty.HUnit +import Test.Tasty.Ingredients.Rerun import Test.QuickCheck.Classes import Test.QuickCheck.Checkers (TestBatch, EqProp ((=-=))) import Test.QuickCheck.Instances.ByteString () -- cgit 1.4.1