Skip to content

Commit d2d59e8

Browse files
authored
Merge pull request #262 from well-typed/edsko/intro-regression-tests
Introduce `Test.Regression.*` hierarchy
2 parents 08b5990 + 09738eb commit d2d59e8

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

grapesy/grapesy.cabal

+1-1
Original file line numberDiff line numberDiff line change
@@ -222,11 +222,11 @@ test-suite test-grapesy
222222
Test.Driver.Dialogue.Generation
223223
Test.Driver.Dialogue.TestClock
224224
Test.Prop.Dialogue
225+
Test.Regression.Issue102
225226
Test.Sanity.BrokenDeployments
226227
Test.Sanity.Compression
227228
Test.Sanity.Disconnect
228229
Test.Sanity.EndOfStream
229-
Test.Sanity.Exception
230230
Test.Sanity.Interop
231231
Test.Sanity.StreamingType.CustomFormat
232232
Test.Sanity.StreamingType.NonStreaming

grapesy/test-grapesy/Main.hs

+4-2
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ import GHC.Conc.Sync (threadLabel)
1414
#endif
1515

1616
import Test.Prop.Dialogue qualified as Dialogue
17+
import Test.Regression.Issue102 qualified as Issue102
1718
import Test.Sanity.BrokenDeployments qualified as BrokenDeployments
1819
import Test.Sanity.Compression qualified as Compression
1920
import Test.Sanity.Disconnect qualified as Disconnect
2021
import Test.Sanity.EndOfStream qualified as EndOfStream
21-
import Test.Sanity.Exception qualified as Exception
2222
import Test.Sanity.Interop qualified as Interop
2323
import Test.Sanity.StreamingType.CustomFormat qualified as StreamingType.CustomFormat
2424
import Test.Sanity.StreamingType.NonStreaming qualified as StreamingType.NonStreaming
@@ -36,10 +36,12 @@ main = do
3636
, StreamingType.CustomFormat.tests
3737
]
3838
, Compression.tests
39-
, Exception.tests
4039
, Interop.tests
4140
, BrokenDeployments.tests
4241
]
42+
, testGroup "Regression" [
43+
Issue102.tests
44+
]
4345
, testGroup "Prop" [
4446
Dialogue.tests
4547
]

grapesy/test-grapesy/Test/Sanity/Exception.hs renamed to grapesy/test-grapesy/Test/Regression/Issue102.hs

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
-- (server), and
1515
-- 2. future calls are still possible (client), and more handlers can be started
1616
-- to deal with future calls (server).
17-
module Test.Sanity.Exception (tests) where
17+
module Test.Regression.Issue102 (tests) where
1818

1919
import Control.Concurrent.Async
2020
import Control.Exception
@@ -38,7 +38,7 @@ import Test.Driver.ClientServer
3838
import Test.Util.Exception
3939

4040
tests :: TestTree
41-
tests = testGroup "Test.Sanity.Exception" [
41+
tests = testGroup "Issue102" [
4242
testCase "client" test_clientException
4343
, testCase "server" test_serverException
4444

0 commit comments

Comments
 (0)