File tree Expand file tree Collapse file tree
cardano-testnet/src/Testnet/Property Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,9 +47,14 @@ import qualified Test.Tasty.Hedgehog as H
4747import Test.Tasty.Providers (testPassed )
4848import Test.Tasty.Runners (Result (resultShortDescription ), TestTree )
4949
50+ -- | Whether the user has provided the path to an existing testnet environment
51+ -- through the @--node-env@ flag, or not. This determines whether the testnet
52+ -- will reuse an existing environment or whether a new one should be created.
5053data UserProvidedEnv
5154 = NoUserProvidedEnv
55+ -- ^ No user-provided environment, a new environment will be created for the user.
5256 | UserProvidedEnv FilePath
57+ -- ^ The user provided the path to an existing testnet environment through the @--node-env@ flag.
5358
5459runTestnet :: UserProvidedEnv -> (Conf -> H. Integration TestnetRuntime ) -> IO ()
5560runTestnet env tn = do
You can’t perform that action at this time.
0 commit comments