print a message after the execution based on the number of specifications
print a message after the execution based on the number of specifications
print a message before the execution
print a message before the execution
the Arguments object depending on the command-line options
a SpecificationStructure
object from a className if that class is a SpecificationStructure
class.
Tries to load the class name and cast it to a specification
None in case of an exception.
a SpecificationStructure
object from a className if that class is a SpecificationStructure
class.
Tries to load the class name and cast it to a specification
None in case of an exception.
exit the system with a specific code:
exit the system with a specific code:
- 0 if all the specifications are successful - 1 if there are only failures - 100 if there is any error - 101 if one of them could not even be executed (this is represented by None)
exit the system for one executed specification (None means that the specification could not be executed)
exit the system for one executed specification (None means that the specification could not be executed)
this method can be overriden for testing
this method can be overriden for testing
pattern to use to get specification names from file contents
pattern to use to get specification names from file contents
the specifications class names to execute
a path to a directory containing scala files (it can be a glob: i.e. "dir/**/spec.scala")
a regular expression which is supposed to match an object name extending a Specification
specification names by scanning files and trying to find specifications declarations
the specifications to execute
a path to a directory containing scala files (it can be a glob: i.e. "dir/**/spec.scala")
a regular expression which is supposed to match an object name extending a Specification
a function to filter out unwanted specifications
specifications created from specification names
run all specifications found in the test directory