de.tototec.sbuild.addons.scalatest

ScalaTest

class ScalaTest extends AnyRef

ScalaTest Addon to run unit tests with ScalaTest.

The ScalaTest runner can be configured via constructor parameter or vars. To run use ScalaTest#execute.

To easily configure and execute the test runner in one go, see ScalaTest$#apply.

Since

0.1.1

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ScalaTest
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ScalaTest(classpath: Seq[File] = null, runPath: Seq[String] = null, reporter: String = null, configMap: Map[String, String] = null, includes: Seq[String] = null, excludes: Seq[String] = null, parallel: Boolean = null, threadCount: Integer = null, suites: Seq[String] = null, packages: Seq[String] = null, packagesRecursive: Seq[String] = null, testNgTests: Seq[String] = null, junitTests: Seq[String] = null, fork: Boolean = false, graphicalOutputSettings: String = null, standardOutputSettings: String = null, standardErrorSettings: String = null, outputFile: File = null, outputFileSettings: String = null, xmlOutputDir: File = null, reporterClass: String = null, additionalScalaTestArgs: Seq[String] = null)(implicit project: Project)

    Create a new ScalaTest Runner addon instance.

    Create a new ScalaTest Runner addon instance. All parameters can be omitted and set later.

    classpath

    The classpath used to run the ScalaTest itself. Also the test classes may be made available on the classpath, in which case no runpath needs to be specified.

    runPath

    A list of filenames, directory paths, and/or URLs that Runner uses to load classes for the running test. If runpath is specified, Runner creates a custom class loader to load classes available on the runpath. The graphical user interface reloads the test classes anew for each run by creating and using a new instance of the custom class loader for each run. The classes that comprise the test may also be made available on the classpath, in which case no runpath need be specified.

    reporter

    configure te reporter.

    configMap
    includes
    excludes
    parallel

    Since 0.1.5.9000.

    threadCount

    Since 0.1.5.9000.

    suites

    Since 0.1.5.9000.

    packages

    Since 0.1.5.9000.

    packagesRecursive

    Since 0.1.5.9000.

    testNgTests

    Since 0.1.5.9000.

    junitTests

    Since 0.1.5.9000.

    fork

    Since 0.2.0.9000.

    additionalScalaTestArgs

    Additional arguments for the scalatest runner. Since 0.6.0.9001.

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from ScalaTest to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (ScalaTest, B)

    Implicit information
    This member is added by an implicit conversion from ScalaTest to ArrowAssoc[ScalaTest] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. var additionalScalaTestArgs: Seq[String]

    Additional arguments for the scalatest runner.

    Additional arguments for the scalatest runner. Since 0.6.0.9001.

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. var classpath: Seq[File]

    The classpath used to run the ScalaTest itself.

    The classpath used to run the ScalaTest itself. Also the test classes may be made available on the classpath, in which case no runpath needs to be specified.

  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. var configMap: Map[String, String]

  13. def ensuring(cond: (ScalaTest) ⇒ Boolean, msg: ⇒ Any): ScalaTest

    Implicit information
    This member is added by an implicit conversion from ScalaTest to Ensuring[ScalaTest] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: (ScalaTest) ⇒ Boolean): ScalaTest

    Implicit information
    This member is added by an implicit conversion from ScalaTest to Ensuring[ScalaTest] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean, msg: ⇒ Any): ScalaTest

    Implicit information
    This member is added by an implicit conversion from ScalaTest to Ensuring[ScalaTest] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean): ScalaTest

    Implicit information
    This member is added by an implicit conversion from ScalaTest to Ensuring[ScalaTest] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  19. var excludes: Seq[String]

  20. def execute: Unit

    Execute this ScalaTest runner.

  21. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. var fork: Boolean

    Since 0.2.0.9000.

  23. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from ScalaTest to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  24. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  25. var graphicalOutputSettings: String

  26. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  27. var includes: Seq[String]

  28. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  29. var junitTests: Seq[String]

    Since 0.1.5.9000.

  30. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  31. final def notify(): Unit

    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  33. var outputFile: File

  34. var outputFileSettings: String

  35. var packages: Seq[String]

    Since 0.1.5.9000.

  36. var packagesRecursive: Seq[String]

    Since 0.1.5.9000.

  37. var parallel: Boolean

    Since 0.1.5.9000.

  38. var reporterClass: String

  39. var runPath: Seq[String]

    A list of filenames, directory paths, and/or URLs that Runner uses to load classes for the running test.

    A list of filenames, directory paths, and/or URLs that Runner uses to load classes for the running test. If runpath is specified, Runner creates a custom class loader to load classes available on the runpath. The graphical user interface reloads the test classes anew for each run by creating and using a new instance of the custom class loader for each run. The classes that comprise the test may also be made available on the classpath, in which case no runpath need be specified.

  40. val scalaTestClassName: String

  41. var standardErrorSettings: String

  42. var standardOutputSettings: String

  43. var suites: Seq[String]

    Since 0.1.5.9000.

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

    Definition Classes
    AnyRef
  45. var testNgTests: Seq[String]

    Since 0.1.5.9000.

  46. var threadCount: Integer

    Since 0.1.5.9000.

  47. def toString(): String

    Definition Classes
    AnyRef → Any
  48. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long, arg1: Int): Unit

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. var xmlOutputDir: File

  52. def [B](y: B): (ScalaTest, B)

    Implicit information
    This member is added by an implicit conversion from ScalaTest to ArrowAssoc[ScalaTest] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from ScalaTest to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (scalaTest: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from ScalaTest to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (scalaTest: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. var reporter: String

    configure te reporter.

    configure te reporter.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0.9001) reporter is deprecated

  2. def x: ScalaTest

    Implicit information
    This member is added by an implicit conversion from ScalaTest to ArrowAssoc[ScalaTest] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (scalaTest: ArrowAssoc[ScalaTest]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  3. def x: ScalaTest

    Implicit information
    This member is added by an implicit conversion from ScalaTest to Ensuring[ScalaTest] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (scalaTest: Ensuring[ScalaTest]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from ScalaTest to StringAdd

Inherited by implicit conversion any2stringfmt from ScalaTest to StringFormat

Inherited by implicit conversion any2ArrowAssoc from ScalaTest to ArrowAssoc[ScalaTest]

Inherited by implicit conversion any2Ensuring from ScalaTest to Ensuring[ScalaTest]

Ungrouped