summaryrefslogtreecommitdiff
path: root/src/Test.hs
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2024-08-02 21:02:44 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2024-08-02 21:05:55 +0200
commitc3efce4ff72f6284b1036df27edddbe0eae8026b (patch)
treea29a3baa04df2331568653e4470c9d816e11f229 /src/Test.hs
parent542e518ddd09ad9e4b44f17185d97b9f5ee943f1 (diff)
Module name declaration
Changelog: Accept module name declaration
Diffstat (limited to 'src/Test.hs')
-rw-r--r--src/Test.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Test.hs b/src/Test.hs
index d080cae..7f698a2 100644
--- a/src/Test.hs
+++ b/src/Test.hs
@@ -1,4 +1,5 @@
module Test (
+ Module(..),
Test(..),
TestStep(..),
SourceLine(..),
@@ -30,6 +31,11 @@ import {-# SOURCE #-} Network
import {-# SOURCE #-} Process
import Util
+data Module = Module
+ { moduleName :: [ Text ]
+ , moduleTests :: [ Test ]
+ }
+
data Test = Test
{ testName :: Text
, testSteps :: [TestStep]