org.specs2.matcher
Members list
Packages
Type members
Classlikes
Matchers for Action values
Matchers for Action values
Attributes
- Companion
- object
- Supertypes
-
trait ValueCheckstrait ValueChecksBasetrait ValueChecksLowImplicitsclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
object ActionMatchers
Attributes
- Companion
- trait
- Supertypes
-
trait ActionMatcherstrait ValueCheckstrait ValueChecksBasetrait ValueChecksLowImplicitsclass Objecttrait Matchableclass AnyShow all
- Self type
-
ActionMatchers.type
Inherit this trait to provide a Matcher where both the actual and the expected values can be adapted with a function.
Inherit this trait to provide a Matcher where both the actual and the expected values can be adapted with a function.
Attributes
- Supertypes
- Known subtypes
-
class EqualityMatcher[T]class BeEqualTo
- Self type
This matcher always matches any value of type T
This matcher always matches any value of type T
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Matcher[T]class Objecttrait Matchableclass AnyShow all
This trait provides matchers which are applicable to any type of value
This trait provides matchers which are applicable to any type of value
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object AnyMatcherstrait 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 ShouldThrownMatchersShow all
Attributes
- Companion
- trait
- Supertypes
- Self type
-
AnyMatchers.type
Attributes
- Supertypes
Equality Matcher
Equality Matcher
Attributes
- Supertypes
-
class EqualityMatcher[Any]trait AdaptableMatcher[Any]trait Matcher[Any]class Objecttrait Matchableclass AnyShow all
ValueCheck for a typed expected value. It uses the BeEqualTo matcher
ValueCheck for a typed expected value. It uses the BeEqualTo matcher
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ValueCheck[T]class Objecttrait Matchableclass AnyShow all
ValueCheck for an untyped expected value. It uses the BeEqualTo matcher
ValueCheck for an untyped expected value. It uses the BeEqualTo matcher
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ValueCheck[T]class Objecttrait Matchableclass AnyShow all
Matcher for a boolean value which must be true
Matcher for a boolean value which must be true
Attributes
- Supertypes
Attributes
- Supertypes
Attributes
- Supertypes
Attributes
- Supertypes
Attributes
- Supertypes
Attributes
- Supertypes
- Self type
-
BeMatching.type
Attributes
- Supertypes
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Matcher[T]class Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
Attributes
- Supertypes
Matcher for a boolean value which must be true
Matcher for a boolean value which must be true
Attributes
- Supertypes
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Matcher[T]class Objecttrait Matchableclass AnyShow all
transient class allowing the creation of a delta
transient class allowing the creation of a delta
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
The ContentMatchers trait provides matchers to make comparisons between files, sequences,...
The ContentMatchers trait provides matchers to make comparisons between files, sequences,...
Attributes
- Companion
- object
- Supertypes
-
trait FilesContentMatcherstrait TraversableMatcherstrait NumberOfTimestrait ValueChecksLowImplicitstrait TraversableBaseMatcherstrait FileMatcherstrait PathMatcherstrait LinesContentMatcherstrait Expectationstrait ExpectationsDescriptiontrait TypedEqualtrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTracetrait DifferenceFiltersclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
object ContentMatchers
Attributes
- Companion
- trait
- Supertypes
-
trait ContentMatcherstrait FilesContentMatcherstrait TraversableMatcherstrait NumberOfTimestrait ValueChecksLowImplicitstrait TraversableBaseMatcherstrait FileMatcherstrait PathMatcherstrait LinesContentMatcherstrait Expectationstrait ExpectationsDescriptiontrait TypedEqualtrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTracetrait DifferenceFiltersclass Objecttrait Matchableclass AnyShow all
- Self type
-
ContentMatchers.type
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
DataTableRow.type
This trait provides implicit definitions and types to create DataTables.
This trait provides implicit definitions and types to create DataTables.
A DataTable has a header defining column names and rows holding values. It is possible to apply a function taking the row values and returning a Result.
A TableHeader is defined by separating the column names with '|': "a" | "b" | "c"
A DataRow is defined by separating the row values with '!': 1 ! 2 ! 3
Note that the '!' method can conflict with the creation of Examples when the value is a string. In that case it is possible to use the '!!! method to disambiguate:
"1" !! "2" ! "3"
In that case the first column of the header can also be defined with '||' for pure symmetry reasons:
"a" || "b" | "c" "1" !! "2" ! "3"
Attributes
- See also
-
org.specs2.matcher.DataTablesSpec for examples
- Supertypes
-
trait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
- Known subtypes
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
DataTablesGenerator.type
Matchers for the Either datatype
Matchers for the Either datatype
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object EitherMatcherstrait 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 ShouldThrownMatchersShow all
Attributes
- Companion
- trait
- Supertypes
- Self type
-
EitherMatchers.type
Matcher for equalIgnoreSpace comparison, ignoring the nodes order
Matcher for equalIgnoreSpace comparison, ignoring the nodes order
Attributes
- Supertypes
Matcher for equalIgnoreSpace comparison, considering the node order
Matcher for equalIgnoreSpace comparison, considering the node order
Attributes
- Supertypes
Attributes
- Supertypes
- Known subtypes
-
class BeEqualTo
- Self type
This trait adds the possibility to retry a given matcher until it succeeds.
This trait adds the possibility to retry a given matcher until it succeeds.
This was contributed by @robey (http://robey.lag.net)
Attributes
- Companion
- object
- Supertypes
- Known subtypes
-
object EventuallyMatcherstrait 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 ShouldThrownMatchersShow all
Attributes
- Companion
- trait
- Supertypes
- Self type
-
EventuallyMatchers.type
These matchers can be used to check if exceptions are thrown or not
These matchers can be used to check if exceptions are thrown or not
Attributes
- Companion
- object
- Supertypes
-
trait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
object 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 ShouldThrownMatchersShow all
Attributes
- Companion
- trait
- Supertypes
-
trait ExceptionMatcherstrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
- Self type
-
ExceptionMatchers.type
The Expectable class models anything which can be checked by applying a Matcher
The Expectable class models anything which can be checked by applying a Matcher
It stores a value which is only evaluated when necessary and an optional additional description for that value.
The Expectable object is responsible for creating its own description, based on the value toString method and and an additional description.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Self type
-
Expectable[T]
Factory methods for creating Expectables
Factory methods for creating Expectables
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Expectable.type
This trait provides implicit definitions to transform any value into an Expectable
This trait provides implicit definitions to transform any value into an Expectable
Attributes
- Companion
- object
- Supertypes
-
trait ExpectationsDescriptiontrait TypedEqualtrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
object Expectationstrait JsonMatchersobject JsonMatcherstrait NoThrownExpectationsobject ReturnsSyntaxtrait ScalaInterpreterMatcherstrait SpecLikeclass Specclass SpecWithJUnittrait SpecificationFeaturestrait SpecificationLikeclass Specificationtrait SpecificationFeaturestrait SpecificationLikeclass Specificationclass SpecificationWithJUnittrait SpecificationLiketrait SpecificationLikeclass Specificationclass Specificationtrait Cardclass SpecificationWithJUnittrait StoredExpectationstrait AllExpectationsobject Tablestrait SpecLikeclass Spectrait SpecLikeclass Specclass SpecWithJUnitShow all
Attributes
- Companion
- trait
- Supertypes
-
trait Expectationstrait ExpectationsDescriptiontrait TypedEqualtrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
- Self type
-
Expectations.type
Base trait to create expectations.
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
- 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 AsResultPropLowImplicitsShow all
Attributes
- Companion
- object
- Supertypes
-
trait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait Expectationsobject Expectationstrait JsonMatchersobject JsonMatcherstrait NoThrownExpectationsobject ReturnsSyntaxtrait ScalaInterpreterMatcherstrait SpecLikeclass Specclass SpecWithJUnittrait SpecificationFeaturestrait SpecificationLikeclass Specificationtrait SpecificationFeaturestrait SpecificationLikeclass Specificationclass SpecificationWithJUnittrait SpecificationLiketrait SpecificationLikeclass Specificationclass Specificationtrait Cardclass SpecificationWithJUnittrait StoredExpectationstrait AllExpectationsobject Tablestrait SpecLikeclass Spectrait SpecLikeclass Specclass SpecWithJUnitobject ExpectationsDescriptionShow all
Attributes
- Companion
- trait
- Supertypes
-
trait ExpectationsDescriptiontrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
- Self type
This trait can be used in conjunction with Pattern matchers:
This trait can be used in conjunction with Pattern matchers:
List(1, 2) must beLike { case List(a, b) => ok } List(1, 2) must beLike { case List(a, b) => ko("unexpected") }
Attributes
- Companion
- object
- Supertypes
-
trait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
object ExpectedResultstrait ThrownExpectationstrait JUnitExpectationstrait JUnitMustExpectationsobject JUnitMustExpectationstrait JUnitMustMatchersobject JUnitMustMatcherstrait JUnitShouldExpectationsobject JUnitShouldExpectationstrait JUnitShouldMatchersobject JUnitShouldMatcherstrait MustThrownExpectationsobject MustThrownExpectationstrait MustThrownMatchersobject MustThrownMatcherstrait SpecLikeclass Specclass SpecWithJUnittrait SpecificationFeaturestrait SpecificationLikeclass Specificationclass SpecificationWithJUnittrait ShouldThrownExpectationsobject ShouldThrownExpectationstrait ShouldThrownMatchersobject ShouldThrownMatchersobject ThrownExpectationstrait SpecificationFeaturestrait SpecificationLikeclass Specificationtrait SpecificationLiketrait SpecificationLikeclass Specificationclass Specificationtrait Cardclass SpecificationWithJUnittrait SpecLikeclass Spectrait SpecLikeclass Specclass SpecWithJUnitShow all
Attributes
- Companion
- trait
- Supertypes
-
trait ExpectedResultstrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
- Self type
-
ExpectedResults.type
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Matcher[TypecheckResult]class Objecttrait Matchableclass AnyShow all
The FileMatchers trait provides matchers which are applicable to files
The FileMatchers trait provides matchers which are applicable to files
Attributes
- Companion
- object
- Supertypes
- Known subtypes
Attributes
- Companion
- trait
- Supertypes
- Self type
-
FileMatchers.type
This trait provides matchers to check the presence of some expected files vs the actual ones and also ways to verify the contents of these files
This trait provides matchers to check the presence of some expected files vs the actual ones and also ways to verify the contents of these files
Attributes
- Supertypes
-
trait TraversableMatcherstrait NumberOfTimestrait ValueChecksLowImplicitstrait TraversableBaseMatcherstrait LinesContentMatcherstrait Expectationstrait ExpectationsDescriptiontrait TypedEqualtrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTracetrait DifferenceFilterstrait FileMatcherstrait PathMatchersclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait ContentMatchersobject ContentMatchers
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
FutureMatcher.type
This trait is for transforming matchers of values to matchers of Futures
This trait is for transforming matchers of values to matchers of Futures
Attributes
- Companion
- object
- Supertypes
-
trait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
object FutureMatcherstrait 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 ShouldThrownMatchersShow all
Attributes
- Companion
- trait
- Supertypes
-
trait FutureMatcherstrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
- Self type
-
FutureMatchers.type
This trait adds implicit conversions to be able to use Hamcrest matchers as specs2 matchers.
This trait adds implicit conversions to be able to use Hamcrest matchers as specs2 matchers.
Attributes
This trait throws AssertionFailed errors when a match fails.
This trait throws AssertionFailed errors when a match fails.
It is involved when reusing Matchers with JUnit
Attributes
- Supertypes
-
trait ThrownExpectationstrait ExpectedResultstrait ThrownStandardResultstrait StandardResultstrait ThrownExpectablestrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait JUnitMustExpectationsobject JUnitMustExpectationstrait JUnitMustMatchersobject JUnitMustMatcherstrait JUnitShouldExpectationsobject JUnitShouldExpectationstrait JUnitShouldMatchersobject JUnitShouldMatchersShow all
This trait can be imported to use MustMatchers in JUnit
This trait can be imported to use MustMatchers in JUnit
Attributes
- Companion
- object
- Supertypes
-
trait JUnitExpectationstrait MustThrownExpectationstrait ThrownExpectationstrait ExpectedResultstrait ThrownStandardResultstrait StandardResultstrait ThrownExpectablestrait MustExpectationstrait TypedEqualtrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
- Known subtypes
Attributes
- Companion
- trait
- Supertypes
-
trait JUnitMustExpectationstrait JUnitExpectationstrait MustThrownExpectationstrait ThrownExpectationstrait ExpectedResultstrait ThrownStandardResultstrait StandardResultstrait ThrownExpectablestrait MustExpectationstrait TypedEqualtrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
- Self type
These traits and objects can be used in JUnit
These traits and objects can be used in JUnit
Attributes
- Companion
- object
- Supertypes
-
trait JUnitMustExpectationstrait JUnitExpectationstrait MustThrownExpectationstrait ThrownExpectationstrait ExpectedResultstrait ThrownStandardResultstrait StandardResultstrait ThrownExpectablestrait MustExpectationstrait TypedEqualtrait Matcherstrait FutureMatcherstrait EventuallyMatcherstrait EventuallyResultstrait TryMatcherstrait EitherMatcherstrait OptionMatcherstrait ValueCheckstrait ValueChecksBasetrait NumericMatcherstrait ExceptionMatcherstrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTracetrait StringMatcherstrait MapMatcherstrait TraversableMatcherstrait NumberOfTimestrait ValueChecksLowImplicitstrait TraversableBaseMatcherstrait AnyMatchersclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
object JUnitMustMatchers
Attributes
- Companion
- trait
- Supertypes
-
trait NoMatchResultStackTracetrait JUnitMustMatcherstrait JUnitMustExpectationstrait JUnitExpectationstrait MustThrownExpectationstrait ThrownExpectationstrait ExpectedResultstrait ThrownStandardResultstrait StandardResultstrait ThrownExpectablestrait MustExpectationstrait TypedEqualtrait Matcherstrait FutureMatcherstrait EventuallyMatcherstrait EventuallyResultstrait TryMatcherstrait EitherMatcherstrait OptionMatcherstrait ValueCheckstrait ValueChecksBasetrait NumericMatcherstrait ExceptionMatcherstrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTracetrait StringMatcherstrait MapMatcherstrait TraversableMatcherstrait NumberOfTimestrait ValueChecksLowImplicitstrait TraversableBaseMatcherstrait AnyMatchersclass Objecttrait Matchableclass AnyShow all
- Self type
-
JUnitMustMatchers.type
This trait can be imported to use ShouldMatchers in JUnit
This trait can be imported to use ShouldMatchers in JUnit
Attributes
- Companion
- object
- Supertypes
-
trait JUnitExpectationstrait ShouldThrownExpectationstrait ThrownExpectationstrait ExpectedResultstrait ThrownStandardResultstrait StandardResultstrait ThrownExpectablestrait ShouldExpectationstrait TypedEqualtrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
- Known subtypes
Attributes
- Companion
- trait
- Supertypes
-
trait JUnitShouldExpectationstrait JUnitExpectationstrait ShouldThrownExpectationstrait ThrownExpectationstrait ExpectedResultstrait ThrownStandardResultstrait StandardResultstrait ThrownExpectablestrait ShouldExpectationstrait TypedEqualtrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
- Self type
Attributes
- Companion
- object
- Supertypes
-
trait JUnitShouldExpectationstrait JUnitExpectationstrait ShouldThrownExpectationstrait ThrownExpectationstrait ExpectedResultstrait ThrownStandardResultstrait StandardResultstrait ThrownExpectablestrait ShouldExpectationstrait TypedEqualtrait Matcherstrait FutureMatcherstrait EventuallyMatcherstrait EventuallyResultstrait TryMatcherstrait EitherMatcherstrait OptionMatcherstrait ValueCheckstrait ValueChecksBasetrait NumericMatcherstrait ExceptionMatcherstrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTracetrait StringMatcherstrait MapMatcherstrait TraversableMatcherstrait NumberOfTimestrait ValueChecksLowImplicitstrait TraversableBaseMatcherstrait AnyMatchersclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
object JUnitShouldMatchers
Attributes
- Companion
- trait
- Supertypes
-
trait NoMatchResultStackTracetrait JUnitShouldMatcherstrait JUnitShouldExpectationstrait JUnitExpectationstrait ShouldThrownExpectationstrait ThrownExpectationstrait ExpectedResultstrait ThrownStandardResultstrait StandardResultstrait ThrownExpectablestrait ShouldExpectationstrait TypedEqualtrait Matcherstrait FutureMatcherstrait EventuallyMatcherstrait EventuallyResultstrait TryMatcherstrait EitherMatcherstrait OptionMatcherstrait ValueCheckstrait ValueChecksBasetrait NumericMatcherstrait ExceptionMatcherstrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTracetrait StringMatcherstrait MapMatcherstrait TraversableMatcherstrait NumberOfTimestrait ValueChecksLowImplicitstrait TraversableBaseMatcherstrait AnyMatchersclass Objecttrait Matchableclass AnyShow all
- Self type
-
JUnitShouldMatchers.type
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait JsonTypeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait JsonTypeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait JsonTypeclass Objecttrait Matchableclass AnyShow all
Matchers for Json expressions (entered as strings)
Matchers for Json expressions (entered as strings)
Attributes
- Companion
- object
- Supertypes
-
trait JsonSelectorstrait Expectationstrait ExpectationsDescriptiontrait TypedEqualtrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
object JsonMatchers
- Self type
Attributes
- Companion
- trait
- Supertypes
-
trait JsonMatcherstrait JsonSelectorstrait Expectationstrait ExpectationsDescriptiontrait TypedEqualtrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
- Self type
-
JsonMatchers.type
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait JsonTypeclass Objecttrait Matchableclass AnyShow all
Different ways of selecting elements in a Json object
Different ways of selecting elements in a Json object
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait JsonTypeclass Objecttrait Matchableclass AnyShow all
abstract JSON types for specs2
abstract JSON types for specs2
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class JsonArrayclass JsonBooleanclass JsonMapobject JsonNullclass JsonNumberclass JsonStringShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- object
- Supertypes
-
trait Expectationstrait ExpectationsDescriptiontrait TypedEqualtrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTracetrait DifferenceFiltersclass Objecttrait Matchableclass AnyShow all
- Known subtypes
Attributes
- Companion
- trait
- Supertypes
-
trait LinesContentMatcherstrait Expectationstrait ExpectationsDescriptiontrait TypedEqualtrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTracetrait DifferenceFiltersclass Objecttrait Matchableclass AnyShow all
- Self type
-
LinesContentMatchers.type
Matchers for Maps
Matchers for Maps
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object MapMatcherstrait 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 ShouldThrownMatchersShow all
Attributes
- Companion
- trait
- Supertypes
- Self type
-
MapMatchers.type
this trait allows to fill-in stack traces on match results for precise location
this trait allows to fill-in stack traces on match results for precise location
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait NoMatchResultStackTraceobject JUnitMustMatchersobject JUnitShouldMatchersobject MustMatchersobject MustThrownMatchersobject ShouldMatchersobject ShouldThrownMatcherstrait ResultCheckstrait ExpectationsCreationtrait DataTablestrait Tablestrait Tablesobject Tablestrait ExceptionMatchersobject ExceptionMatcherstrait Matcherstrait JUnitMustMatcherstrait JUnitShouldMatchersobject Matcherstrait MustMatcherstrait SpecificationFeaturestrait SpecificationLikeclass Specificationtrait SpecificationFeaturestrait SpecificationLikeclass Specificationclass SpecificationWithJUnittrait SpecificationLiketrait SpecificationLikeclass Specificationclass Specificationtrait Cardclass SpecificationWithJUnittrait SpecLikeclass Spectrait SpecLikeclass Specclass SpecWithJUnittrait MustThrownMatcherstrait SpecLikeclass Specclass SpecWithJUnittrait ShouldMatcherstrait 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 AsResultPropLowImplicitsShow all
The Matcher trait is the base trait for any Matcher.
The Matcher trait is the base trait for any Matcher.
This trait can be extended to provide an appropriate apply method that will check an expectable value a: Expectable[T].
The result of a match is a Result
Matchers can be composed.
Implementation notes:
- the parameter to the apply method must be a by-name parameter. This allows some values to be evaluated only when necessary.
- However in the implementation of the apply function, it must be taken care of not evaluating the parameter twice. Assigning it to a val is the solution to this issue.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class ExceptionMatcher[E]class FindMatcherclass FindMatcherPatternclass FindMatcherRegexclass FindMatcherWithGroupstrait AdaptableMatcher[T]class EqualityMatcher[T]class BeEqualToclass AlwaysMatcher[T]class BeCloseTo[T]class BeFalseMatcherclass BeGreaterThan[T]class BeGreaterThanOrEqualTo[T]class BeLessThan[T]class BeLessThanOrEqualTo[T]class BeNull[T]class BeOneOf[T]class BeSignificantlyCloseTo[T]class BeTheSameAs[T]class BeTrueMatcherclass BetweenMatcher[T]class ContainWithResult[T]class ContainWithResultSeq[T]class LocalFilesContentMatcherclass LocalPathsMatcherclass FailTypecheckMatcherclass JsonMatcherclass JsonFinalMatcherclass JsonSelectorMatcherclass NeverMatcher[T]class LeftCheckedMatcher[T]class RightCheckedMatcher[T]class SomeCheckedMatcher[T]class TryFailureCheckedMatcher[T]class LeftMatcher[T]class RightMatcher[T]class SomeMatcher[T]class TryFailureMatcher[T]class OrderingMatcher[T]class SizedCheckedMatcher[T]class SizedMatcher[T]class TerminationMatcher[T]class TrySuccessCheckedMatcher[T]class TrySuccessMatcher[T]class TypecheckMatcherclass XmlMatcherShow all
- Self type
-
Matcher[T]
Attributes
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object Matcherobject MatcherCreation
Attributes
- Companion
- trait
- Supertypes
- Self type
-
MatcherCreation.type
This trait adds some implicits to easily fold sequences of results
This trait adds some implicits to easily fold sequences of results
Attributes
- Companion
- object
- Supertypes
-
trait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
object MatcherImplicitstrait SpecificationFeaturestrait SpecificationLikeclass Specificationtrait SpecificationFeaturestrait SpecificationLikeclass Specificationclass SpecificationWithJUnittrait SpecificationLiketrait SpecificationLikeclass Specificationclass Specificationtrait Cardclass SpecificationWithJUnitShow all
Attributes
- Companion
- trait
- Supertypes
-
trait MatcherImplicitstrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
- Self type
-
MatcherImplicits.type
Trait aggregating the most common specs2 matchers
Trait aggregating the most common specs2 matchers
Attributes
- Companion
- object
- Supertypes
-
trait FutureMatcherstrait EventuallyMatcherstrait EventuallyResultstrait TryMatcherstrait EitherMatcherstrait OptionMatcherstrait ValueCheckstrait ValueChecksBasetrait NumericMatcherstrait ExceptionMatcherstrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTracetrait StringMatcherstrait MapMatcherstrait TraversableMatcherstrait NumberOfTimestrait ValueChecksLowImplicitstrait TraversableBaseMatcherstrait AnyMatchersclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait 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 ShouldThrownMatchersShow all
Attributes
- Companion
- trait
- Supertypes
-
trait Matcherstrait FutureMatcherstrait EventuallyMatcherstrait EventuallyResultstrait TryMatcherstrait EitherMatcherstrait OptionMatcherstrait ValueCheckstrait ValueChecksBasetrait NumericMatcherstrait ExceptionMatcherstrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTracetrait StringMatcherstrait MapMatcherstrait TraversableMatcherstrait NumberOfTimestrait ValueChecksLowImplicitstrait TraversableBaseMatcherstrait AnyMatchersclass Objecttrait Matchableclass AnyShow all
- Self type
-
Matchers.type
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
MatchingExpression.type
This trait provides implicit definitions to check values with matchers by using a "must" syntax: value must matcher
This trait provides implicit definitions to check values with matchers by using a "must" syntax: value must matcher
Attributes
- Companion
- object
- Supertypes
-
trait TypedEqualtrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
object MustExpectationstrait MustMatchersobject MustMatcherstrait SpecificationFeaturestrait SpecificationLikeclass Specificationtrait SpecificationFeaturestrait SpecificationLikeclass Specificationclass SpecificationWithJUnittrait SpecificationLiketrait SpecificationLikeclass Specificationclass Specificationtrait Cardclass SpecificationWithJUnittrait SpecLikeclass Spectrait SpecLikeclass Specclass SpecWithJUnittrait MustThrownExpectationstrait JUnitMustExpectationsobject JUnitMustExpectationstrait JUnitMustMatchersobject JUnitMustMatchersobject MustThrownExpectationstrait MustThrownMatchersobject MustThrownMatcherstrait SpecLikeclass Specclass SpecWithJUnitShow all
Attributes
- Companion
- trait
- Supertypes
-
trait MustExpectationstrait TypedEqualtrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
- Self type
-
MustExpectations.type
Attributes
- Companion
- object
- Supertypes
-
trait MustExpectationstrait TypedEqualtrait Matcherstrait FutureMatcherstrait EventuallyMatcherstrait EventuallyResultstrait TryMatcherstrait EitherMatcherstrait OptionMatcherstrait ValueCheckstrait ValueChecksBasetrait NumericMatcherstrait ExceptionMatcherstrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTracetrait StringMatcherstrait MapMatcherstrait TraversableMatcherstrait NumberOfTimestrait ValueChecksLowImplicitstrait TraversableBaseMatcherstrait AnyMatchersclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
object MustMatcherstrait SpecificationFeaturestrait SpecificationLikeclass Specificationtrait SpecificationFeaturestrait SpecificationLikeclass Specificationclass SpecificationWithJUnittrait SpecificationLiketrait SpecificationLikeclass Specificationclass Specificationtrait Cardclass SpecificationWithJUnittrait SpecLikeclass Spectrait SpecLikeclass Specclass SpecWithJUnitShow all
Attributes
- Companion
- trait
- Supertypes
-
trait NoMatchResultStackTracetrait MustMatcherstrait MustExpectationstrait TypedEqualtrait Matcherstrait FutureMatcherstrait EventuallyMatcherstrait EventuallyResultstrait TryMatcherstrait EitherMatcherstrait OptionMatcherstrait ValueCheckstrait ValueChecksBasetrait NumericMatcherstrait ExceptionMatcherstrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTracetrait StringMatcherstrait MapMatcherstrait TraversableMatcherstrait NumberOfTimestrait ValueChecksLowImplicitstrait TraversableBaseMatcherstrait AnyMatchersclass Objecttrait Matchableclass AnyShow all
- Self type
-
MustMatchers.type
This trait provides implicit definitions to transform any value into an Expectable which throws exceptions when a match fails
This trait provides implicit definitions to transform any value into an Expectable which throws exceptions when a match fails
Attributes
- Companion
- object
- Supertypes
-
trait ThrownExpectationstrait ExpectedResultstrait ThrownStandardResultstrait StandardResultstrait ThrownExpectablestrait MustExpectationstrait TypedEqualtrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait JUnitMustExpectationsobject JUnitMustExpectationstrait JUnitMustMatchersobject JUnitMustMatchersobject MustThrownExpectationstrait MustThrownMatchersobject MustThrownMatcherstrait SpecLikeclass Specclass SpecWithJUnittrait SpecificationFeaturestrait SpecificationLikeclass Specificationclass SpecificationWithJUnitShow all
Attributes
- Companion
- trait
- Supertypes
-
trait MustThrownExpectationstrait ThrownExpectationstrait ExpectedResultstrait ThrownStandardResultstrait StandardResultstrait ThrownExpectablestrait MustExpectationstrait TypedEqualtrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
- Self type
Attributes
- Companion
- object
- Supertypes
-
trait MustThrownExpectationstrait ThrownExpectationstrait ExpectedResultstrait ThrownStandardResultstrait StandardResultstrait ThrownExpectablestrait MustExpectationstrait TypedEqualtrait Matcherstrait FutureMatcherstrait EventuallyMatcherstrait EventuallyResultstrait TryMatcherstrait EitherMatcherstrait OptionMatcherstrait ValueCheckstrait ValueChecksBasetrait NumericMatcherstrait ExceptionMatcherstrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTracetrait StringMatcherstrait MapMatcherstrait TraversableMatcherstrait NumberOfTimestrait ValueChecksLowImplicitstrait TraversableBaseMatcherstrait AnyMatchersclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
object MustThrownMatcherstrait SpecLikeclass Specclass SpecWithJUnittrait SpecificationFeaturestrait SpecificationLikeclass Specificationclass SpecificationWithJUnitShow all
Attributes
- Companion
- trait
- Supertypes
-
trait NoMatchResultStackTracetrait MustThrownMatcherstrait MustThrownExpectationstrait ThrownExpectationstrait ExpectedResultstrait ThrownStandardResultstrait StandardResultstrait ThrownExpectablestrait MustExpectationstrait TypedEqualtrait Matcherstrait FutureMatcherstrait EventuallyMatcherstrait EventuallyResultstrait TryMatcherstrait EitherMatcherstrait OptionMatcherstrait ValueCheckstrait ValueChecksBasetrait NumericMatcherstrait ExceptionMatcherstrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTracetrait StringMatcherstrait MapMatcherstrait TraversableMatcherstrait NumberOfTimestrait ValueChecksLowImplicitstrait TraversableBaseMatcherstrait AnyMatchersclass Objecttrait Matchableclass AnyShow all
- Self type
-
MustThrownMatchers.type
This matcher never matches any value of type T
This matcher never matches any value of type T
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Matcher[T]class Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
this trait doesn't fill-in stack traces
this trait doesn't fill-in stack traces
Attributes
- Supertypes
- Known subtypes
-
object JUnitMustMatchersobject JUnitShouldMatchersobject MustMatchersobject MustThrownMatchersobject ShouldMatchersobject ShouldThrownMatchersShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
This trait can be used to cancel the effect of thrown expectations.
This trait can be used to cancel the effect of thrown expectations.
For example it can be mixed-in a mutable.Specification so that no exception is thrown on failure
Attributes
- Supertypes
-
trait Expectationstrait ExpectationsDescriptiontrait TypedEqualtrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
This trait can be used to suppress the TypedEqual implicit
This trait can be used to suppress the TypedEqual implicit
Attributes
- Supertypes
- Self type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Matchers for Numerical values
Matchers for Numerical values
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait 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 ShouldThrownMatchersobject NumericMatchersShow all
Attributes
- Companion
- trait
- Supertypes
- Self type
-
NumericMatchers.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Matchers for Operation values
Matchers for Operation values
Attributes
- Companion
- object
- Supertypes
-
trait ValueCheckstrait ValueChecksBasetrait ValueChecksLowImplicitsclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
object OperationMatchers
Attributes
- Companion
- trait
- Supertypes
-
trait OperationMatcherstrait ValueCheckstrait ValueChecksBasetrait ValueChecksLowImplicitsclass Objecttrait Matchableclass AnyShow all
- Self type
-
OperationMatchers.type
Attributes
- Supertypes
- Known subtypes
-
class LeftCheckedMatcher[T]class RightCheckedMatcher[T]class SomeCheckedMatcher[T]class TryFailureCheckedMatcher[T]
Attributes
- Supertypes
- Known subtypes
Matchers for Options
Matchers for Options
Attributes
- Companion
- object
- Supertypes
-
trait ValueCheckstrait ValueChecksBasetrait ValueChecksLowImplicitsclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait 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 ShouldThrownMatchersobject OptionMatchersShow all
Attributes
- Companion
- trait
- Supertypes
-
trait OptionMatcherstrait ValueCheckstrait ValueChecksBasetrait ValueChecksLowImplicitsclass Objecttrait Matchableclass AnyShow all
- Self type
-
OptionMatchers.type
Attributes
- Supertypes
The PathFunction object encapsulate a search for a node and/or attributes or attributeValues with an XPath function If node has some children, then they are searched using equality
The PathFunction object encapsulate a search for a node and/or attributes or attributeValues with an XPath function If node has some children, then they are searched using equality
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait XPathFunctionstrait (Seq[Node]) => Seq[Node]class Objecttrait Matchableclass AnyShow all
The PathMatchers trait provides matchers which are applicable to strings representing paths
The PathMatchers trait provides matchers which are applicable to strings representing paths
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait FileMatchersobject FileMatcherstrait FilesContentMatcherstrait ContentMatchersobject ContentMatchersobject PathMatchersShow all
- Self type
Attributes
- Companion
- trait
- Supertypes
- Self type
-
PathMatchers.type
class representing a numeric range
class representing a numeric range
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
- Known subtypes
-
trait ExpectationsCreationtrait 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 AsResultPropLowImplicitsShow all
Matchers for Results
Matchers for Results
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object ResultMatchers
Attributes
- Companion
- trait
- Supertypes
- Self type
-
ResultMatchers.type
Those definitions help specifying the result messages for matchers
Those definitions help specifying the result messages for matchers
Attributes
- Companion
- object
- Supertypes
-
trait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
object ReturnsSyntax
Attributes
- Companion
- trait
- Supertypes
-
trait Expectationstrait ExpectationsDescriptiontrait TypedEqualtrait ReturnsSyntaxtrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
- Self type
-
ReturnsSyntax.type
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Expectationstrait ExpectationsDescriptiontrait TypedEqualtrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
This trait provides implicit definitions to check values with matchers by using a "should" syntax: value should matcher
This trait provides implicit definitions to check values with matchers by using a "should" syntax: value should matcher
Attributes
- Companion
- object
- Supertypes
-
trait TypedEqualtrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
object ShouldExpectationstrait ShouldMatchersobject ShouldMatcherstrait SpecificationFeaturestrait SpecificationLikeclass Specificationtrait SpecificationFeaturestrait SpecificationLikeclass Specificationclass SpecificationWithJUnittrait SpecificationLiketrait SpecificationLikeclass Specificationclass Specificationtrait Cardclass SpecificationWithJUnittrait ShouldThrownExpectationstrait JUnitShouldExpectationsobject JUnitShouldExpectationstrait JUnitShouldMatchersobject JUnitShouldMatchersobject ShouldThrownExpectationstrait ShouldThrownMatchersobject ShouldThrownMatchersShow all
Attributes
- Companion
- trait
- Supertypes
-
trait ShouldExpectationstrait TypedEqualtrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
- Self type
-
ShouldExpectations.type
Attributes
- Companion
- object
- Supertypes
-
trait ShouldExpectationstrait TypedEqualtrait Matcherstrait FutureMatcherstrait EventuallyMatcherstrait EventuallyResultstrait TryMatcherstrait EitherMatcherstrait OptionMatcherstrait ValueCheckstrait ValueChecksBasetrait NumericMatcherstrait ExceptionMatcherstrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTracetrait StringMatcherstrait MapMatcherstrait TraversableMatcherstrait NumberOfTimestrait ValueChecksLowImplicitstrait TraversableBaseMatcherstrait AnyMatchersclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
object ShouldMatcherstrait SpecificationFeaturestrait SpecificationLikeclass Specificationtrait SpecificationFeaturestrait SpecificationLikeclass Specificationclass SpecificationWithJUnittrait SpecificationLiketrait SpecificationLikeclass Specificationclass Specificationtrait Cardclass SpecificationWithJUnitShow all
Attributes
- Companion
- trait
- Supertypes
-
trait NoMatchResultStackTracetrait ShouldMatcherstrait ShouldExpectationstrait TypedEqualtrait Matcherstrait FutureMatcherstrait EventuallyMatcherstrait EventuallyResultstrait TryMatcherstrait EitherMatcherstrait OptionMatcherstrait ValueCheckstrait ValueChecksBasetrait NumericMatcherstrait ExceptionMatcherstrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTracetrait StringMatcherstrait MapMatcherstrait TraversableMatcherstrait NumberOfTimestrait ValueChecksLowImplicitstrait TraversableBaseMatcherstrait AnyMatchersclass Objecttrait Matchableclass AnyShow all
- Self type
-
ShouldMatchers.type
This trait provides implicit definitions to transform any value into an Expectable which throws exceptions when a match fails
This trait provides implicit definitions to transform any value into an Expectable which throws exceptions when a match fails
Attributes
- Companion
- object
- Supertypes
-
trait ThrownExpectationstrait ExpectedResultstrait ThrownStandardResultstrait StandardResultstrait ThrownExpectablestrait ShouldExpectationstrait TypedEqualtrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait JUnitShouldExpectationsobject JUnitShouldExpectationstrait JUnitShouldMatchersobject JUnitShouldMatchersobject ShouldThrownExpectationstrait ShouldThrownMatchersobject ShouldThrownMatcherstrait SpecificationFeaturestrait SpecificationLikeclass Specificationclass SpecificationWithJUnitShow all
Attributes
- Companion
- trait
- Supertypes
-
trait ShouldThrownExpectationstrait ThrownExpectationstrait ExpectedResultstrait ThrownStandardResultstrait StandardResultstrait ThrownExpectablestrait ShouldExpectationstrait TypedEqualtrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
- Self type
Attributes
- Companion
- object
- Supertypes
-
trait ShouldThrownExpectationstrait ThrownExpectationstrait ExpectedResultstrait ThrownStandardResultstrait StandardResultstrait ThrownExpectablestrait ShouldExpectationstrait TypedEqualtrait Matcherstrait FutureMatcherstrait EventuallyMatcherstrait EventuallyResultstrait TryMatcherstrait EitherMatcherstrait OptionMatcherstrait ValueCheckstrait ValueChecksBasetrait NumericMatcherstrait ExceptionMatcherstrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTracetrait StringMatcherstrait MapMatcherstrait TraversableMatcherstrait NumberOfTimestrait ValueChecksLowImplicitstrait TraversableBaseMatcherstrait AnyMatchersclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
object ShouldThrownMatcherstrait SpecificationFeaturestrait SpecificationLikeclass Specificationclass SpecificationWithJUnit
Attributes
- Companion
- trait
- Supertypes
-
trait NoMatchResultStackTracetrait ShouldThrownMatcherstrait ShouldThrownExpectationstrait ThrownExpectationstrait ExpectedResultstrait ThrownStandardResultstrait StandardResultstrait ThrownExpectablestrait ShouldExpectationstrait TypedEqualtrait Matcherstrait FutureMatcherstrait EventuallyMatcherstrait EventuallyResultstrait TryMatcherstrait EitherMatcherstrait OptionMatcherstrait ValueCheckstrait ValueChecksBasetrait NumericMatcherstrait ExceptionMatcherstrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTracetrait StringMatcherstrait MapMatcherstrait TraversableMatcherstrait NumberOfTimestrait ValueChecksLowImplicitstrait TraversableBaseMatcherstrait AnyMatchersclass Objecttrait Matchableclass AnyShow all
- Self type
-
ShouldThrownMatchers.type
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
Attributes
- Supertypes
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
The StringMatchers trait provides matchers which are applicable to String objects
The StringMatchers trait provides matchers which are applicable to String objects
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object BeMatchingtrait 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 ShouldThrownMatchersobject StringMatchersShow all
Attributes
- Companion
- trait
- Supertypes
- Self type
-
StringMatchers.type
Attributes
- Supertypes
This trait provides matchers to check if a block of code is terminating or not
This trait provides matchers to check if a block of code is terminating or not
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object TerminationMatchers
Attributes
- Companion
- trait
- Supertypes
- Self type
-
TerminationMatchers.type
Attributes
- Supertypes
-
trait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait ThrownExpectationstrait JUnitExpectationstrait JUnitMustExpectationsobject JUnitMustExpectationstrait JUnitMustMatchersobject JUnitMustMatcherstrait JUnitShouldExpectationsobject JUnitShouldExpectationstrait JUnitShouldMatchersobject JUnitShouldMatcherstrait MustThrownExpectationsobject MustThrownExpectationstrait MustThrownMatchersobject MustThrownMatcherstrait SpecLikeclass Specclass SpecWithJUnittrait SpecificationFeaturestrait SpecificationLikeclass Specificationclass SpecificationWithJUnittrait ShouldThrownExpectationsobject ShouldThrownExpectationstrait ShouldThrownMatchersobject ShouldThrownMatchersobject ThrownExpectationsShow all
Thrown expectations will throw a FailureException if a match fails
Thrown expectations will throw a FailureException if a match fails
This trait can be extended to be used in another framework like ScalaTest:
trait ScalaTestExpectations extends ThrownExpectations { override protected def checkResultFailure(r: =>Result) = { r match { case f @ Failure(ko, _, _, _) => throw new TestFailedException(f.message, f.exception, 0) case _ => () } m } }
Attributes
- Companion
- object
- Supertypes
-
trait ExpectedResultstrait ThrownStandardResultstrait StandardResultstrait ThrownExpectablestrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait JUnitExpectationstrait JUnitMustExpectationsobject JUnitMustExpectationstrait JUnitMustMatchersobject JUnitMustMatcherstrait JUnitShouldExpectationsobject JUnitShouldExpectationstrait JUnitShouldMatchersobject JUnitShouldMatcherstrait MustThrownExpectationsobject MustThrownExpectationstrait MustThrownMatchersobject MustThrownMatcherstrait SpecLikeclass Specclass SpecWithJUnittrait SpecificationFeaturestrait SpecificationLikeclass Specificationclass SpecificationWithJUnittrait ShouldThrownExpectationsobject ShouldThrownExpectationstrait ShouldThrownMatchersobject ShouldThrownMatchersobject ThrownExpectationsShow all
Attributes
- Companion
- trait
- Supertypes
-
trait ThrownExpectationstrait ExpectedResultstrait ThrownStandardResultstrait StandardResultstrait ThrownExpectablestrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
- Self type
-
ThrownExpectations.type
Lightweight ThrownExpectations trait with less implicit methods
Lightweight ThrownExpectations trait with less implicit methods
Attributes
- Supertypes
-
trait ThrownExpectablestrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait ThrownExpectationstrait JUnitExpectationstrait JUnitMustExpectationsobject JUnitMustExpectationstrait JUnitMustMatchersobject JUnitMustMatcherstrait JUnitShouldExpectationsobject JUnitShouldExpectationstrait JUnitShouldMatchersobject JUnitShouldMatcherstrait MustThrownExpectationsobject MustThrownExpectationstrait MustThrownMatchersobject MustThrownMatcherstrait SpecLikeclass Specclass SpecWithJUnittrait SpecificationFeaturestrait SpecificationLikeclass Specificationclass SpecificationWithJUnittrait ShouldThrownExpectationsobject ShouldThrownExpectationstrait ShouldThrownMatchersobject ShouldThrownMatchersobject ThrownExpectationsShow all
This trait can be used to integrate failures and skip messages into specs2
This trait can be used to integrate failures and skip messages into specs2
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Attributes
- Supertypes
-
trait ExpectedResultstrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait ThrownExpectationstrait JUnitExpectationstrait JUnitMustExpectationsobject JUnitMustExpectationstrait JUnitMustMatchersobject JUnitMustMatcherstrait JUnitShouldExpectationsobject JUnitShouldExpectationstrait JUnitShouldMatchersobject JUnitShouldMatcherstrait MustThrownExpectationsobject MustThrownExpectationstrait MustThrownMatchersobject MustThrownMatcherstrait SpecLikeclass Specclass SpecWithJUnittrait SpecificationFeaturestrait SpecificationLikeclass Specificationclass SpecificationWithJUnittrait ShouldThrownExpectationsobject ShouldThrownExpectationstrait ShouldThrownMatchersobject ShouldThrownMatchersobject ThrownExpectationsShow all
Attributes
- Supertypes
-
trait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTracetrait StandardResultsclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait ThrownExpectationstrait JUnitExpectationstrait JUnitMustExpectationsobject JUnitMustExpectationstrait JUnitMustMatchersobject JUnitMustMatcherstrait JUnitShouldExpectationsobject JUnitShouldExpectationstrait JUnitShouldMatchersobject JUnitShouldMatcherstrait MustThrownExpectationsobject MustThrownExpectationstrait MustThrownMatchersobject MustThrownMatcherstrait SpecLikeclass Specclass SpecWithJUnittrait SpecificationFeaturestrait SpecificationLikeclass Specificationclass SpecificationWithJUnittrait ShouldThrownExpectationsobject ShouldThrownExpectationstrait ShouldThrownMatchersobject ShouldThrownMatchersobject ThrownExpectationsShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait TraversableMatcherstrait FilesContentMatcherstrait ContentMatchersobject ContentMatcherstrait 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 ShouldThrownMatchersobject TraversableMatchersShow all
- Self type
Matchers for traversables
Matchers for traversables
Attributes
- Companion
- object
- Supertypes
-
trait NumberOfTimestrait ValueChecksLowImplicitstrait TraversableBaseMatchersclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait FilesContentMatcherstrait ContentMatchersobject ContentMatcherstrait 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 ShouldThrownMatchersobject TraversableMatchersShow all
Attributes
- Companion
- trait
- Supertypes
-
trait TraversableMatcherstrait NumberOfTimestrait ValueChecksLowImplicitstrait TraversableBaseMatchersclass Objecttrait Matchableclass AnyShow all
- Self type
-
TraversableMatchers.type
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Matchers for util.Try instances
Matchers for util.Try instances
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait 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 ShouldThrownMatchersobject TryeMatchersShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
- Self type
-
TryeMatchers.type
Attributes
- Supertypes
Matchers for checking if a piece of code compiles or not
Matchers for checking if a piece of code compiles or not
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object TypecheckMatchers
Attributes
- Companion
- trait
- Supertypes
- Self type
-
TypecheckMatchers.type
This trait adds some implicits to create expectations with the === sign
This trait adds some implicits to create expectations with the === sign
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait Expectationsobject Expectationstrait JsonMatchersobject JsonMatcherstrait NoThrownExpectationsobject ReturnsSyntaxtrait ScalaInterpreterMatcherstrait SpecLikeclass Specclass SpecWithJUnittrait SpecificationFeaturestrait SpecificationLikeclass Specificationtrait SpecificationFeaturestrait SpecificationLikeclass Specificationclass SpecificationWithJUnittrait SpecificationLiketrait SpecificationLikeclass Specificationclass Specificationtrait Cardclass SpecificationWithJUnittrait StoredExpectationstrait AllExpectationsobject Tablestrait SpecLikeclass Spectrait SpecLikeclass Specclass SpecWithJUnittrait MustExpectationsobject MustExpectationstrait MustMatchersobject MustMatcherstrait MustThrownExpectationstrait JUnitMustExpectationsobject JUnitMustExpectationstrait JUnitMustMatchersobject JUnitMustMatchersobject MustThrownExpectationstrait MustThrownMatchersobject MustThrownMatcherstrait NoTypedEqualtrait ShouldExpectationsobject ShouldExpectationstrait ShouldMatchersobject ShouldMatcherstrait ShouldThrownExpectationstrait JUnitShouldExpectationsobject JUnitShouldExpectationstrait JUnitShouldMatchersobject JUnitShouldMatchersobject ShouldThrownExpectationstrait ShouldThrownMatchersobject ShouldThrownMatchersobject TypedEqualShow all
- Self type
Attributes
- Companion
- trait
- Supertypes
-
trait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTracetrait TypedEqualclass Objecttrait Matchableclass AnyShow all
- Self type
-
TypedEqual.type
Common interface for checks of a value of type T:
Common interface for checks of a value of type T:
- a expected single value of type T
- a Matcher[T]
- a function returning a type R having an AsResult instance
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class BeEqualTypedValueCheck[T]class BeEqualValueCheck[T]
- Self type
-
ValueCheck[T]
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ValueCheck.type
implicit conversions used to create ValueChecks
implicit conversions used to create ValueChecks
Attributes
- Companion
- object
- Supertypes
- Known subtypes
-
trait ActionMatchersobject ActionMatcherstrait 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 OperationMatchersobject OperationMatcherstrait OptionMatchersobject OptionMatchersobject ValueChecksShow all
Attributes
- Companion
- trait
- Supertypes
-
trait ValueCheckstrait ValueChecksBasetrait ValueChecksLowImplicitsclass Objecttrait Matchableclass AnyShow all
- Self type
-
ValueChecks.type
Attributes
- Supertypes
- Known subtypes
-
trait ValueCheckstrait ActionMatchersobject ActionMatcherstrait 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 OperationMatchersobject OperationMatcherstrait OptionMatchersobject OptionMatchersobject ValueChecksShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait ValueChecksBasetrait ValueCheckstrait ActionMatchersobject ActionMatcherstrait 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 OperationMatchersobject OperationMatcherstrait OptionMatchersobject OptionMatchersobject ValueChecksShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class PathFunction
The XmlMatcher class matches an xml Node, or a list of Nodes against a list of search functions, which can either search for:
The XmlMatcher class matches an xml Node, or a list of Nodes against a list of search functions, which can either search for:
-
a given direct child, with its label and/or attributes and/or attributes names and values
-
a given child, direct or not (maybe deeply nested), with its label and/or attributes and/or attributes names and values
XmlMatchers can be "chained" by using the \ or the \ methods. In that case, the resulting matcher has a new search function which tries to match the result of the preceding function. For example
must \\("c").\("d")
will be ok.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
The XmlMatchers trait provides matchers which are applicable to xml nodes
The XmlMatchers trait provides matchers which are applicable to xml nodes
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object XmlMatchers
Attributes
- Companion
- trait
- Supertypes
- Self type
-
XmlMatchers.type
Types
Value members
Inherited methods
this method can be overridden to throw exceptions when checking a result
this method can be overridden to throw exceptions when checking a result
Attributes
- Inherited from:
- ResultChecks
Attributes
- Returns
-
an Expectable with a description function
- Inherited from:
- ExpectationsCreation
Attributes
- Returns
-
an Expectable with a description
- Inherited from:
- ExpectationsCreation
Attributes
- Returns
-
an Expectable
- Inherited from:
- ExpectationsCreation
Attributes
- Returns
-
an Expectable with a description function
- Inherited from:
- ExpectationsCreation
Attributes
- Returns
-
an Expectable with a function to show the element T
- Inherited from:
- ExpectationsCreation
this method can be overridden to intercept a Result and modify it. It is used for example to set a stacktrace providing the location of a failure
this method can be overridden to intercept a Result and modify it. It is used for example to set a stacktrace providing the location of a failure
Attributes
- Inherited from:
- ResultChecks
Attributes
- Returns
-
the result without any side-effects
- Inherited from:
- ResultChecks
this method can be overridden to avoid filling-in a stacktrace indicating the location of the result
this method can be overridden to avoid filling-in a stacktrace indicating the location of the result
Attributes
- Inherited from:
- MatchResultStackTrace
Attributes
- Inherited from:
- ExpectationsCreation
Attributes
- Inherited from:
- ExpectationsCreation
Extensions
Inherited extensions
Attributes
- Inherited from:
- ReturnsSyntax
Attributes
- Inherited from:
- ReturnsSyntax
Attributes
- Inherited from:
- ReturnsSyntax