Object/Trait

org.specs2.runner

SpecificationsFinder

Related Docs: trait SpecificationsFinder | package runner

Permalink

object SpecificationsFinder extends SpecificationsFinder

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SpecificationsFinder
  2. SpecificationsFinder
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def findSpecifications(glob: String = specificationsPath, pattern: String = specificationsPattern, filter: (String) ⇒ Boolean = (name: String) => true, basePath: DirectoryPath = ..., verbose: Boolean = false, classLoader: ClassLoader = ..., filePathReader: FilePathReader = FileSystem, env: Env = Env()): Operation[List[SpecificationStructure]]

    Permalink

    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

    filter

    a function to filter out unwanted specifications

    returns

    specifications created from specification names

    Definition Classes
    SpecificationsFinder
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  10. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  14. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  15. def readClassNames(path: FilePath, objectPattern: Pattern, classPattern: Pattern, filePathReader: FilePathReader, verbose: Boolean): Operation[List[String]]

    Permalink

    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

    Definition Classes
    SpecificationsFinder
  16. def specPattern(specType: String, pattern: String): String

    Permalink

    pattern to use to get specification names from file contents

    pattern to use to get specification names from file contents

    Definition Classes
    SpecificationsFinder
  17. def specificationLinks(glob: String = "**/*.scala", pattern: String = ..., filter: (String) ⇒ Boolean = (name: String) => true, basePath: DirectoryPath = ..., verbose: Boolean = false, classLoader: ClassLoader = ..., filePathReader: FilePathReader = FileSystem, env: Env = Env()): Seq[Fragment]

    Permalink

    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

    filter

    a function to filter out unwanted specifications

    returns

    specifications links created from the found specifications. When a specification can not be instantiated a failed example is created for it

    Definition Classes
    SpecificationsFinder
  18. def specificationNames(pathGlob: String, pattern: String, basePath: DirectoryPath, filePathReader: FilePathReader, verbose: Boolean): Operation[List[String]]

    Permalink

    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

    Definition Classes
    SpecificationsFinder
  19. def specifications(glob: String = "**/*.scala", pattern: String = ..., filter: (String) ⇒ Boolean = (name: String) => true, basePath: DirectoryPath = ..., verbose: Boolean = false, classLoader: ClassLoader = ..., filePathReader: FilePathReader = FileSystem): Seq[SpecificationStructure]

    Permalink

    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

    filter

    a function to filter out unwanted specifications

    returns

    specifications created from specification names

    Definition Classes
    SpecificationsFinder
  20. val specificationsBasePath: String

    Permalink

    base path for the specification files

  21. val specificationsPath: String

    Permalink

    glob pattern for the file paths inside the base path

  22. val specificationsPattern: String

    Permalink

    Regex pattern used to capture a specification name in an object/class declaration

  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from SpecificationsFinder

Inherited from AnyRef

Inherited from Any

Ungrouped