Modulesandwich-0.3.1.0Haskell2010
Test.Sandwich.Internal
Internal functionality exposed for debugging or for sibling libraries such as sandwich-webdriver to use. Should not be used otherwise.
- 13 types
- 2 classes
- 32 values
- Packagesandwich-0.3.1.0
- Exports47
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceInternal.hs
Instances5Functor, Foldable, Traversable, Show1, Show
Functor (SpecCommand context m)Defined in sandwich-0.3.1.0 · Test.Sandwich.Types.SpecFoldable (SpecCommand context m)Defined in sandwich-0.3.1.0 · Test.Sandwich.Types.SpecTraversable (SpecCommand context m)Defined in sandwich-0.3.1.0 · Test.Sandwich.Types.SpecShow1 (SpecCommand context m)Defined in sandwich-0.3.1.0 · Test.Sandwich.Types.SpecShow t => Show (SpecCommand context m t)Defined in sandwich-0.3.1.0 · Test.Sandwich.Types.Spec
Has-* class for asserting a BaseContext is available.
Instances2HasBaseContext
HasBaseContext BaseContextDefined in sandwich-0.3.1.0 · Test.Sandwich.Types.RunTreeHasBaseContext context => HasBaseContext (intro :> context)Defined in sandwich-0.3.1.0 · Test.Sandwich.Types.RunTree
Instances3HasLabel
HasLabel (LabelValue l a) l aDefined in sandwich-0.3.1.0 · Test.Sandwich.Types.SpecHasLabel (LabelValue l a :> context) l aDefined in sandwich-0.3.1.0 · Test.Sandwich.Types.SpecHasLabel context l a => HasLabel (intro :> context) l aDefined in sandwich-0.3.1.0 · Test.Sandwich.Types.Spec
Constructors
Instances2HasLabel
HasLabel (LabelValue l a) l aDefined in sandwich-0.3.1.0 · Test.Sandwich.Types.SpecHasLabel (LabelValue l a :> context) l aDefined in sandwich-0.3.1.0 · Test.Sandwich.Types.Spec
Constructors
a :> binfixr 9
Instances4Show, HasBaseContext, HasLabel
(Show a, Show b) => Show (a :> b)Defined in sandwich-0.3.1.0 · Test.Sandwich.Types.SpecHasBaseContext context => HasBaseContext (intro :> context)Defined in sandwich-0.3.1.0 · Test.Sandwich.Types.RunTreeHasLabel (LabelValue l a :> context) l aDefined in sandwich-0.3.1.0 · Test.Sandwich.Types.SpecHasLabel context l a => HasLabel (intro :> context) l aDefined in sandwich-0.3.1.0 · Test.Sandwich.Types.Spec
Constructors
ExampleTunExampleT :: ReaderT context (LoggingT m) a
Instances19MonadReader, MonadBase, MonadBaseControl, MonadTrans, MonadTransControl, Monad, …
Monad m => MonadReader context (ExampleT context m)Defined in sandwich-0.3.1.0 · Test.Sandwich.Types.SpecMonadBase b m => MonadBase b (ExampleT context m)Defined in sandwich-0.3.1.0 · Test.Sandwich.Types.SpecMonadBaseControl b m => MonadBaseControl b (ExampleT context m)Defined in sandwich-0.3.1.0 · Test.Sandwich.Types.SpecMonadTrans (ExampleT context)Defined in sandwich-0.3.1.0 · Test.Sandwich.Types.SpecMonadTransControl (ExampleT context)Defined in sandwich-0.3.1.0 · Test.Sandwich.Types.SpecMonad m => Monad (ExampleT context m)Defined in sandwich-0.3.1.0 · Test.Sandwich.Types.SpecFunctor m => Functor (ExampleT context m)Defined in sandwich-0.3.1.0 · Test.Sandwich.Types.SpecMonadIO m => MonadFail (ExampleT context m)Defined in sandwich-0.3.1.0 · Test.Sandwich.Types.SpecApplicative m => Applicative (ExampleT context m)Defined in sandwich-0.3.1.0 · Test.Sandwich.Types.Spec(Applicative m, Alternative (LoggingT m)) => Alternative (ExampleT context m)Defined in sandwich-0.3.1.0 · Test.Sandwich.Types.SpecMonadIO m => MonadIO (ExampleT context m)Defined in sandwich-0.3.1.0 · Test.Sandwich.Types.SpecMonadCatch m => MonadCatch (ExampleT context m)Defined in sandwich-0.3.1.0 · Test.Sandwich.Types.SpecMonadMask m => MonadMask (ExampleT context m)Defined in sandwich-0.3.1.0 · Test.Sandwich.Types.SpecMonadThrow m => MonadThrow (ExampleT context m)Defined in sandwich-0.3.1.0 · Test.Sandwich.Types.Spec(MonadIO m, MonadUnliftIO m) => MonadUnliftIO (ExampleT context m)Defined in sandwich-0.3.1.0 · Test.Sandwich.Types.SpecMonadIO m => MonadLogger (ExampleT context m)Defined in sandwich-0.3.1.0 · Test.Sandwich.Types.SpecMonadIO m => MonadLoggerIO (ExampleT context m)Defined in sandwich-0.3.1.0 · Test.Sandwich.Types.Spectype StM (ExampleT context m) a = ComposeSt (ExampleT context) m aDefined in sandwich-0.3.1.0 · Test.Sandwich.Types.Spectype StT (ExampleT context) a = StT LoggingT (StT (ReaderT context) a)Defined in sandwich-0.3.1.0 · Test.Sandwich.Types.Spec
For tests
13 declarationsConstructors
RunNodeBefore :: RunNodeCommonWithStatus s l t -> [RunNodeWithStatus context s l t] -> ExampleT context IO () -> RunNodeWithStatus context s l trunNodeCommon :: RunNodeCommonWithStatus s l trunNodeChildren :: [RunNodeWithStatus context s l t]runNodeBefore :: ExampleT context IO ()
RunNodeAfter :: RunNodeCommonWithStatus s l t -> [RunNodeWithStatus context s l t] -> ExampleT context IO () -> RunNodeWithStatus context s l trunNodeCommon :: RunNodeCommonWithStatus s l trunNodeChildren :: [RunNodeWithStatus context s l t]runNodeAfter :: ExampleT context IO ()
RunNodeIntroduce :: Typeable intro => RunNodeCommonWithStatus s l t -> [RunNodeWithStatus (LabelValue lab intro :> context) s l t] -> ExampleT context IO intro -> (intro -> ExampleT context IO ()) -> RunNodeWithStatus context s l trunNodeCommon :: RunNodeCommonWithStatus s l trunNodeChildrenAugmented :: [RunNodeWithStatus (LabelValue lab intro :> context) s l t]runNodeAlloc :: ExampleT context IO introrunNodeCleanup :: intro -> ExampleT context IO ()
RunNodeIntroduceWith :: RunNodeCommonWithStatus s l t -> [RunNodeWithStatus (LabelValue lab intro :> context) s l t] -> ((intro -> ExampleT context IO [Result]) -> ExampleT context IO ()) -> RunNodeWithStatus context s l trunNodeCommon :: RunNodeCommonWithStatus s l trunNodeChildrenAugmented :: [RunNodeWithStatus (LabelValue lab intro :> context) s l t]runNodeIntroduceAction :: (intro -> ExampleT context IO [Result]) -> ExampleT context IO ()
RunNodeAround :: RunNodeCommonWithStatus s l t -> [RunNodeWithStatus context s l t] -> (ExampleT context IO [Result] -> ExampleT context IO ()) -> RunNodeWithStatus context s l trunNodeCommon :: RunNodeCommonWithStatus s l trunNodeChildren :: [RunNodeWithStatus context s l t]runNodeActionWith :: ExampleT context IO [Result] -> ExampleT context IO ()
RunNodeDescribe :: RunNodeCommonWithStatus s l t -> [RunNodeWithStatus context s l t] -> RunNodeWithStatus context s l trunNodeCommon :: RunNodeCommonWithStatus s l trunNodeChildren :: [RunNodeWithStatus context s l t]
RunNodeParallel :: RunNodeCommonWithStatus s l t -> [RunNodeWithStatus context s l t] -> RunNodeWithStatus context s l trunNodeCommon :: RunNodeCommonWithStatus s l trunNodeChildren :: [RunNodeWithStatus context s l t]
RunNodeIt :: RunNodeCommonWithStatus s l t -> ExampleT context IO () -> RunNodeWithStatus context s l trunNodeCommon :: RunNodeCommonWithStatus s l trunNodeExample :: ExampleT context IO ()
Constructors
Instances2Eq, Show
(Eq t, Eq s, Eq l) => Eq (RunNodeCommonWithStatus s l t)Defined in sandwich-0.3.1.0 · Test.Sandwich.Types.RunTree(Show t, Show s, Show l) => Show (RunNodeCommonWithStatus s l t)Defined in sandwich-0.3.1.0 · Test.Sandwich.Types.RunTree
Constructors
Wait for a tree, catching any synchronous exceptions and returning them as a list
Constructors
Instances2Eq, Show
Eq SomeAsyncExceptionWithEqDefined in sandwich-0.3.1.0 · Test.Sandwich.Types.SpecShow SomeAsyncExceptionWithEqDefined in sandwich-0.3.1.0 · Test.Sandwich.Types.Spec
For debugging
25 declarationsGather all node options from a spec
For 0 repeats, repeat until a failure
TODO: get these automatically from mainCommandLineOptions