trait SpecificationsFinder
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
Abstract methods
def findSpecifications(glob: String, pattern: String, filter: String => Boolean, basePath: DirectoryPath, verbose: Boolean, classLoader: ClassLoader): Operation[List[SpecificationStructure]]
- Value Params
- 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
Concrete methods
def specifications(glob: String, pattern: String, filter: String => Boolean, basePath: DirectoryPath, verbose: Boolean, classLoader: ClassLoader): Seq[SpecificationStructure]
- Value Params
- 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