package specs2
Type Members
- trait ScalaCheck extends ScalaCheckPropertyCreation with ScalaCheckPropertyCheck with ScalaCheckParameters with AsResultProp with ScalaCheckPropertyDsl with GenInstances
-
abstract
class
Spec extends SpecLike
Lightweight specification with only 3 implicit methods
Lightweight specification with only 3 implicit methods
- 2 implicits to create the specification string context
- 1 implicit to create expectations with "must"
- 1 implicit to add arguments to the specification
- trait SpecLike extends ImmutableSpecificationStructure with S2StringContext1 with AcceptanceDsl1 with MustMatchers1 with ArgumentsCreation with ArgumentsShortcuts with FormattingFragments with StandardResults with StandardMatchResults
-
abstract
class
SpecWithJUnit extends Spec
This class must be inherited to allow a Specification to be executed as a JUnit test
This class must be inherited to allow a Specification to be executed as a JUnit test
- Annotations
- @RunWith()
-
abstract
class
Specification extends SpecificationLike
Immutable Specification class
Immutable Specification class
It contains all necessary functionalities to create specifications:
- create fragments
- create expectations
- trait SpecificationLike extends ImmutableSpecificationStructure with SpecificationCreation with SpecificationFeatures
-
abstract
class
SpecificationWithJUnit extends Specification
This class must be inherited to allow a Specification to be executed as a JUnit test
This class must be inherited to allow a Specification to be executed as a JUnit test
- Annotations
- @RunWith()