ContextualFragmentFactory
org.specs2.specification.create.ContextualFragmentFactory
class ContextualFragmentFactory(factory: FragmentFactory, context: Env => Context) extends FragmentFactory
Fragment factory that is creating examples with a given context and delegating to another factory all the rest
Attributes
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
def example[T](text: String, withEnv: Env => T)(implicit as: AsResult[T], p: ImplicitParam): Fragment
In this article