Skip to content

Commit 67a45a4

Browse files
committed
Improve equivalence tests
1 parent c394803 commit 67a45a4

File tree

3 files changed

+222
-44
lines changed

3 files changed

+222
-44
lines changed

.github/workflows/test.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ jobs:
5050
set -eux
5151
cabal update
5252
cabal build --enable-tests --enable-benchmarks
53-
cabal test
53+
cabal test --test-show-details=direct filepath-tests
54+
cabal test --test-show-details=direct --test-options='--quickcheck-tests 50_000' filepath-equivalent-tests
55+
cabal test --test-show-details=direct abstract-filepath
5456
cabal bench
5557
cabal haddock
5658
cabal check

filepath.cabal

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,12 @@ test-suite filepath-equivalent-tests
138138
, base
139139
, bytestring >=0.11.3.0
140140
, filepath
141+
, generic-random
142+
, generic-deriving
141143
, os-string >=2.0.1
142144
, QuickCheck >=2.7 && <2.15
145+
, tasty
146+
, tasty-quickcheck
143147

144148
test-suite abstract-filepath
145149
default-language: Haskell2010

0 commit comments

Comments
 (0)