Skip to content

Commit

Permalink
Introduce Test.Regression.* hierarchy
Browse files Browse the repository at this point in the history
  • Loading branch information
edsko committed Nov 30, 2024
1 parent 08b5990 commit 09738eb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion grapesy/grapesy.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -222,11 +222,11 @@ test-suite test-grapesy
Test.Driver.Dialogue.Generation
Test.Driver.Dialogue.TestClock
Test.Prop.Dialogue
Test.Regression.Issue102
Test.Sanity.BrokenDeployments
Test.Sanity.Compression
Test.Sanity.Disconnect
Test.Sanity.EndOfStream
Test.Sanity.Exception
Test.Sanity.Interop
Test.Sanity.StreamingType.CustomFormat
Test.Sanity.StreamingType.NonStreaming
Expand Down
6 changes: 4 additions & 2 deletions grapesy/test-grapesy/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ import GHC.Conc.Sync (threadLabel)
#endif

import Test.Prop.Dialogue qualified as Dialogue
import Test.Regression.Issue102 qualified as Issue102
import Test.Sanity.BrokenDeployments qualified as BrokenDeployments
import Test.Sanity.Compression qualified as Compression
import Test.Sanity.Disconnect qualified as Disconnect
import Test.Sanity.EndOfStream qualified as EndOfStream
import Test.Sanity.Exception qualified as Exception
import Test.Sanity.Interop qualified as Interop
import Test.Sanity.StreamingType.CustomFormat qualified as StreamingType.CustomFormat
import Test.Sanity.StreamingType.NonStreaming qualified as StreamingType.NonStreaming
Expand All @@ -36,10 +36,12 @@ main = do
, StreamingType.CustomFormat.tests
]
, Compression.tests
, Exception.tests
, Interop.tests
, BrokenDeployments.tests
]
, testGroup "Regression" [
Issue102.tests
]
, testGroup "Prop" [
Dialogue.tests
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
-- (server), and
-- 2. future calls are still possible (client), and more handlers can be started
-- to deal with future calls (server).
module Test.Sanity.Exception (tests) where
module Test.Regression.Issue102 (tests) where

import Control.Concurrent.Async
import Control.Exception
Expand All @@ -38,7 +38,7 @@ import Test.Driver.ClientServer
import Test.Util.Exception

tests :: TestTree
tests = testGroup "Test.Sanity.Exception" [
tests = testGroup "Issue102" [
testCase "client" test_clientException
, testCase "server" test_serverException

Expand Down

0 comments on commit 09738eb

Please sign in to comment.