Item is used to represent spec items internally. A spec item consists of:
a textual description of a desired behavior
an example for that behavior
additional meta information
Everything that is an instance of the Example type class can be used as an example, including QuickCheck properties, Hspec expectations and HUnit assertions.
Constructors
ItemitemRequirement :: StringTextual description of behavior
itemLocation :: Maybe LocationSource location of the spec item
itemIsParallelizable :: Maybe BoolA flag that indicates whether it is safe to evaluate this spec item in parallel with other spec items
itemIsFocused :: BoolA flag that indicates whether this spec item is focused
itemAnnotations :: AnnotationsArbitrary additional data that can be used by third-party extensions.
itemExample :: Params -> (ActionWith a -> IO ()) -> ProgressCallback -> IO ResultExample for behavior