File tree Expand file tree Collapse file tree 7 files changed +43
-27
lines changed Expand file tree Collapse file tree 7 files changed +43
-27
lines changed Original file line number Diff line number Diff line change 1
1
0.2.5
2
2
* Deprecate `NN_LINGER` option
3
+ * Improve testsuite reliability
3
4
4
5
0.2.4
5
6
* Bumped upper bound on binary
Original file line number Diff line number Diff line change @@ -51,39 +51,17 @@ library
51
51
test-suite tests
52
52
type : exitcode-stdio-1.0
53
53
hs-source-dirs : tests
54
- main-is : PropDriver .hs
54
+ main-is : Main .hs
55
55
other-modules : BinaryProperties Properties
56
56
ghc-options : -O2 -Wall -fwarn-tabs -threaded "-with-rtsopts=-N" -rtsopts
57
57
default-language : Haskell2010
58
- build-tool-depends :
59
- tasty-discover :tasty-discover
60
58
build-depends :
61
59
base >= 4.5 && < 5 ,
62
60
bytestring >= 0.9.0 && < 0.13 ,
63
61
nanomsg-haskell,
64
62
QuickCheck,
65
63
tasty,
66
- tasty-quickcheck,
67
- tasty-discover
68
-
69
- test-suite tests-binary
70
- type : exitcode-stdio-1.0
71
- hs-source-dirs : tests
72
- main-is : BinaryDriver.hs
73
- other-modules : Properties BinaryProperties
74
- ghc-options : -O2 -Wall -fwarn-tabs -threaded "-with-rtsopts=-N" -rtsopts
75
- default-language : Haskell2010
76
- build-tool-depends :
77
- tasty-discover :tasty-discover
78
- build-depends :
79
- base >= 4.5 && < 5 ,
80
- bytestring >= 0.9.0 && < 0.13 ,
81
- nanomsg-haskell,
82
- binary,
83
- QuickCheck,
84
- tasty,
85
- tasty-quickcheck,
86
- tasty-discover
64
+ tasty-quickcheck
87
65
88
66
source-repository head
89
67
type : git
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -204,3 +204,13 @@ test_options = sequentialTestGroup "options" AllFinish
204
204
close sock
205
205
return $ value === v
206
206
207
+ tests :: TestTree
208
+ tests = sequentialTestGroup " BinaryProperties" AllFinish
209
+ [ testProperty " reverse" prop_reverse
210
+ , testProperty " PubSub" prop_PubSub
211
+ , testProperty " Pair" prop_Pair
212
+ , testProperty " Pipeline" prop_Pipeline
213
+ , testProperty " ReqRep" prop_ReqRep
214
+ , testProperty " Bus" prop_Bus
215
+ ]
216
+
Original file line number Diff line number Diff line change
1
+ import qualified Test.Tasty as T
2
+ import qualified Test.Tasty.Ingredients as T
3
+
4
+ import qualified BinaryProperties
5
+ import qualified Properties
6
+
7
+ tests :: T. TestTree
8
+ tests =
9
+ T. sequentialTestGroup " tests" T. AllFinish
10
+ [ Properties. tests
11
+ , BinaryProperties. tests
12
+ ]
13
+
14
+ ingredients :: [T. Ingredient ]
15
+ ingredients = T. defaultIngredients
16
+
17
+ main :: IO ()
18
+ main = do
19
+ T. defaultMainWithIngredients ingredients tests
20
+
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- {-# LANGUAGE TemplateHaskell #-}
2
1
{-# LANGUAGE ScopedTypeVariables #-}
3
2
{-# OPTIONS_GHC -fno-warn-orphans #-}
4
3
module Properties where
@@ -199,3 +198,13 @@ test_options = sequentialTestGroup "options" AllFinish
199
198
close sock
200
199
return $ value === v
201
200
201
+ tests :: TestTree
202
+ tests = sequentialTestGroup " Properties" AllFinish
203
+ [ testProperty " reverse" prop_reverse
204
+ , testProperty " PubSub" prop_PubSub
205
+ , testProperty " Pair" prop_Pair
206
+ , testProperty " Pipeline" prop_Pipeline
207
+ , testProperty " ReqRep" prop_ReqRep
208
+ , testProperty " Bus" prop_Bus
209
+ ]
210
+
You can’t perform that action at this time.
0 commit comments