ExpectationsCreation
org.specs2.matcher.ExpectationsCreation
trait ExpectationsCreation extends ResultChecks
Base trait to create expectations.
An expectation is a value which can have an optional description and which can be matched to produce a result (for example against an expected value)
When a result is produced it can possibly be thrown as an exception based on the behaviour of the ResultChecks trait
Attributes
- Graph
-
- Supertypes
- Known subtypes
-
trait DataTablestrait Tablestrait Tablesobject Tablestrait ExceptionMatchersobject ExceptionMatcherstrait Matcherstrait JUnitMustMatchersobject JUnitMustMatcherstrait JUnitShouldMatchersobject JUnitShouldMatchersobject Matcherstrait MustMatchersobject MustMatcherstrait SpecificationFeaturestrait SpecificationLikeclass Specificationtrait SpecificationFeaturestrait SpecificationLikeclass Specificationclass SpecificationWithJUnittrait SpecificationLiketrait SpecificationLikeclass Specificationclass Specificationtrait Cardclass SpecificationWithJUnittrait SpecLikeclass Spectrait SpecLikeclass Specclass SpecWithJUnittrait MustThrownMatchersobject MustThrownMatcherstrait SpecLikeclass Specclass SpecWithJUnittrait ShouldMatchersobject ShouldMatcherstrait ShouldThrownMatchersobject ShouldThrownMatcherstrait Expectationsobject Expectationstrait JsonMatchersobject JsonMatcherstrait NoThrownExpectationsobject ReturnsSyntaxtrait ScalaInterpreterMatcherstrait StoredExpectationstrait AllExpectationstrait ExpectationsDescriptionobject ExpectationsDescriptiontrait ExpectedResultsobject ExpectedResultstrait ThrownExpectationstrait JUnitExpectationstrait JUnitMustExpectationsobject JUnitMustExpectationstrait JUnitShouldExpectationsobject JUnitShouldExpectationstrait MustThrownExpectationsobject MustThrownExpectationstrait ShouldThrownExpectationsobject ShouldThrownExpectationsobject ThrownExpectationstrait FilesContentMatcherstrait ContentMatchersobject ContentMatcherstrait FutureMatchersobject FutureMatcherstrait MatcherImplicitsobject MatcherImplicitstrait MustExpectationsobject MustExpectationstrait ReturnsSyntaxtrait ShouldExpectationsobject ShouldExpectationstrait ThrownExpectablestrait ThrownStandardResultsobject TypedEqualtrait ScalaCheckPropertyChecktrait AsResultPropobject AsResultProptrait OneExpectationPerProptrait ScalaCheckPropertyDsltrait ScalaChecktrait AsResultPropLowImplicits
Members list
In this article