This trait loads specifications found on a given source directory based on a regular expression representing the Specification name, usually .*Spec
- Companion:
- object
Value members
Concrete methods
- Value parameters:
- filter
a function to filter out unwanted specifications
- glob
a path to a directory containing scala files (it can be a glob: i.e. "dir/**/*spec.scala")
- pattern
a regular expression which is supposed to match an object name extending a Specification
- Returns:
specifications created from specification names
Read the content of the file at 'path' and return all names matching the object pattern or the class pattern
Read the content of the file at 'path' and return all names matching the object pattern or the class pattern
pattern to use to get specification names from file contents
pattern to use to get specification names from file contents
- Value parameters:
- filter
a function to filter out unwanted specifications
- glob
a path to a directory containing scala files (it can be a glob: i.e. "dir/**/*spec.scala")
- pattern
a regular expression which is supposed to match an object/class name extending a Specification
- Returns:
specifications links created from the found specifications. When a specification can not be instantiated a failed example is created for it
- Value parameters:
- pathGlob
a path to a directory containing scala files (it can be a glob: i.e. "dir/**/*spec.scala")
- pattern
a regular expression which is supposed to match an object name extending a Specification
- Returns:
specification names by scanning files and trying to find specifications declarations
- Value parameters:
- filter
a function to filter out unwanted specifications
- glob
a path to a directory containing scala files (it can be a glob: i.e. "dir/**/*spec.scala")
- pattern
a regular expression which is supposed to match an object/class name extending a Specification
- Returns:
specifications created from specification names