org

scalatest

package scalatest

ScalaTest's main traits, classes, and other members, including members supporting ScalaTest's DSL for the Scala interpreter.

Source
package.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. scalatest
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. trait Alerter extends AnyRef

    Trait providing an apply method to which alert messages about a running suite of tests can be reported.

  2. trait Alerting extends AnyRef

    Trait that contains the alert method, which can be used to send an alert to the reporter.

  3. trait AppendedClues extends AnyRef

    Trait providing an implicit conversion that allows clues to be placed after a block of code.

  4. case class Args(reporter: Reporter, stopper: Stopper = Stopper.default, filter: Filter = Filter.default, configMap: ConfigMap = ConfigMap.empty, distributor: Option[Distributor] = scala.None, tracker: Tracker = Tracker.default, chosenStyles: Set[String] = scala.this.Predef.Set.empty[String], runTestInNewInstance: Boolean = false, distributedTestSorter: Option[DistributedTestSorter] = scala.None, distributedSuiteSorter: Option[DistributedSuiteSorter] = scala.None) extends Product with Serializable

    Arguments bundle passed to four of ScalaTest's lifecycle methods: run, runNestedSuites, runTests, and runTest.

  5. type Assertion = scalatest.compatible.Assertion

    Marker trait that serves as the result type of assert, assume, and pending methods of trait Assertions, which return its only instance, the Succeeded singleton, or throw an exception that indicates a failed, canceled, or pending test.

    Marker trait that serves as the result type of assert, assume, and pending methods of trait Assertions, which return its only instance, the Succeeded singleton, or throw an exception that indicates a failed, canceled, or pending test.

  6. trait Assertions extends TripleEquals

    Trait that contains ScalaTest's basic assertion methods.

  7. trait AsyncTestRegistration extends AnyRef

    Trait declaring methods that can be used to register by-name test functions that have result type Future[Assertion].

  8. trait AsyncTestSuite extends Suite with RecoverMethods with CompleteLastly

    The base trait of ScalaTest's asynchronous testing styles, which defines a withFixture lifecycle method that accepts as its parameter a test function that returns a FutureOutcome.

  9. trait AsyncTestSuiteMixin extends SuiteMixin

    Trait defining abstract "lifecycle" methods that are implemented in AsyncTestSuite and can be overridden in stackable modification traits.

  10. trait BeforeAndAfter extends SuiteMixin

    Trait that can be mixed into suites that need code executed before and after running each test.

  11. trait BeforeAndAfterAll extends SuiteMixin

    Stackable trait that can be mixed into suites that need methods invoked before and after executing the suite.

  12. trait BeforeAndAfterAllConfigMap extends SuiteMixin

    Trait that can be mixed into suites that need methods that make use of the config map invoked before and/or after executing the suite.

  13. trait BeforeAndAfterEach extends SuiteMixin

    Stackable trait that can be mixed into suites that need code executed before and/or after running each test.

  14. trait BeforeAndAfterEachTestData extends SuiteMixin

    Stackable trait that can be mixed into suites that need code that makes use of test data (test name, tags, config map, etc.) executed before and/or after running each test.

  15. trait CancelAfterFailure extends TestSuiteMixin

    Trait that when mixed into a TestSuite cancels any remaining tests in that TestSuite instance after a test fails.

  16. case class Canceled(exception: TestCanceledException) extends Exceptional with Product with Serializable

    Outcome for a test that was canceled, containing an exception describing the cause of the cancelation.

  17. trait Checkpoints extends AnyRef

    Trait providing class Checkpoint, which enables multiple assertions to be performed within a test, with any failures accumulated and reported together at the end of the test.

  18. trait CompleteLastly extends AnyRef

    Trait that provides a complete-lastly construct, which ensures cleanup code in lastly is executed whether the code passed to complete completes abruptly with an exception or successfully results in a Future, FutureOutcome, or other type with an implicit Futuristic instance.

  19. final class CompositeStatus extends Status with Serializable

    Composite Status that aggregates its completion and failed states of set of other Statuses passed to its constructor.

  20. class ConfigMap extends Map[String, Any] with MapLike[String, Any, ConfigMap] with Serializable

    A map of configuration data.

  21. trait DiagrammedExpr[T] extends AnyRef

    A trait that represent an expression recorded by DiagrammedExprMacro, which includes the following members:

  22. trait DistributedSuiteSorter extends AnyRef

    A sorter for the events of a run's distributed suites.

  23. trait DistributedTestSorter extends AnyRef

    A sorter for the events of a suite's distributed tests.

  24. trait Distributor extends AnyRef

    Trait whose instances facilitate parallel execution of Suites.

  25. class DoNotDiscover extends Annotation with Annotation with ClassfileAnnotation

  26. trait Documenter extends AnyRef

    Trait to which markup text tests can be reported.

  27. trait Documenting extends AnyRef

    Trait that contains a markup method, which can be used to send markup to the Reporter.

  28. final case class DynaTags(suiteTags: Map[String, Set[String]], testTags: Map[String, Map[String, Set[String]]]) extends Product with Serializable

    Dynamic tags for a run.

  29. trait EitherValues extends AnyRef

    Trait that provides an implicit conversion that adds left.value and right.value methods to Either, which will return the selected value of the Either if defined, or throw TestFailedException if not.

  30. case class Entry[K, V](key: K, value: V) extends Product with Serializable

    A case class implementation of java.util.Map.Entry to make it easier to test Java Maps with ScalaTest Matchers.

  31. sealed abstract class Exceptional extends Outcome

    Superclass for the two outcomes of running a test that contain an exception: Failed and Canceled.

  32. case class Failed(exception: Throwable) extends Exceptional with Product with Serializable

    Outcome for a test that failed, containing an exception describing the cause of the failure.

  33. final class Filter extends Serializable

    Filter whose apply method determines which of the passed tests to run and ignore based on tags to include and exclude passed as as class parameters.

  34. class Finders extends Annotation with Annotation with ClassfileAnnotation

  35. trait FixtureAsyncTestRegistration extends AnyRef

    Trait declaring methods that can be used to register test functions that accept a fixture parameter and have result type Future[Assertion].

  36. trait FixtureAsyncTestSuite extends FixtureSuite with AsyncTestSuite

    The base trait of ScalaTest's "fixture" async testing styles, which enable you to pass fixture objects into tests.

  37. trait FixtureContext extends scalatest.compatible.Assertion

    Marker trait for fixture-context objects, that enables them to be used in testing styles that require type Assertion

  38. trait FixtureSuite extends Suite

    Base trait for a family of style traits that can pass a fixture object into tests.

  39. trait FixtureTestRegistration extends AnyRef

    Trait declaring methods that can be used to register test functions that accept a fixture parameter and have any result type.

  40. trait FixtureTestSuite extends FixtureSuite with TestSuite

    The base trait for ScalaTest's synchronous testing styles that accept a fixture object passed into tests.

  41. class FutureOutcome extends AnyRef

    Wrapper class for Future[Outcome] that presents a more convenient API for manipulation in withFixture methods in async styles.

  42. trait GivenWhenThen extends AnyRef

    Trait that contains methods named given, when, then, and and, which take a string message and implicit Informer, and forward the message to the informer.

  43. class Ignore extends Annotation with Annotation with ClassfileAnnotation

  44. trait Informer extends AnyRef

    Trait to which custom information about a running suite of tests can be reported.

  45. trait Informing extends AnyRef

    Trait that contains the info method, which can be used to send info to the reporter.

  46. trait Inside extends AnyRef

    Trait containing the inside construct, which allows you to make statements about nested object graphs using pattern matching.

  47. trait Inspectors extends AnyRef

    Provides nestable inspector methods (or just inspectors) that enable assertions to be made about collections.

  48. trait LoneElement extends AnyRef

    Trait that provides an implicit conversion that adds to collection types a loneElement method, which will return the value of the lone element if the collection does indeed contain one and only one element, or throw TestFailedException if not.

  49. trait NonImplicitAssertions extends Assertions

    Trait that can be mixed into a Suite to disable the implicit conversions provided by default in trait Assertions, which trait Suite extends.

  50. trait Notifier extends AnyRef

    Trait providing an apply method to which status updates about a running suite of tests can be reported.

  51. trait Notifying extends AnyRef

    Trait that contains the note method, which can be used to send a status notification to the reporter.

  52. trait OneInstancePerTest extends SuiteMixin

    Trait that facilitates a style of testing in which each test is run in its own instance of the suite class to isolate each test from the side effects of the other tests in the suite.

  53. trait OptionValues extends AnyRef

    Trait that provides an implicit conversion that adds a value method to Option, which will return the value of the option if it is defined, or throw TestFailedException if not.

  54. sealed abstract class Outcome extends Product with Serializable

    Superclass for the possible outcomes of running a test.

  55. trait OutcomeOf extends AnyRef

    Trait that contains the outcomeOf method, which executes a passed code block and transforms the outcome into an Outcome, using the same mechanism used by ScalaTest to produce an Outcome when executing a test.

  56. trait ParallelTestExecution extends OneInstancePerTest

    Trait that causes that the tests of any suite it is mixed into to be run in parallel if a Distributor is passed to runTests.

  57. trait PartialFunctionValues extends AnyRef

    Trait that provides an implicit conversion that adds a valueAt method to PartialFunction, which will return the value (result) of the function applied to the argument passed to valueAt, or throw TestFailedException if the partial function is not defined at the argument.

  58. trait Payloads extends AnyRef

    Trait facilitating the inclusion of a payload in a thrown ScalaTest exception.

  59. sealed trait PendingStatement extends AnyRef

    Trait mixed into the result type of the pending statement of trait Assertions, which always throws TestPendingException.

  60. trait PrivateMethodTester extends AnyRef

    Trait that facilitates the testing of private methods.

  61. trait RandomTestOrder extends OneInstancePerTest

    Trait that causes tests to be run in pseudo-random order.

  62. trait RecoverMethods extends AnyRef

    Offers two methods for transforming futures when exceptions are expected.

  63. trait Reporter extends AnyRef

    Trait whose instances collect the results of a running suite of tests and presents those results in some way to the user.

  64. trait ResourcefulReporter extends Reporter

    Subtrait of Reporter that contains a dispose method for releasing any finite, non-memory resources, such as file handles, held by the Reporter.

  65. trait Retries extends AnyRef

    Provides methods that can be used in withFixture implementations to retry tests in various scenarios.

  66. class Sequential extends Suite with SequentialNestedSuiteExecution

    A Suite class mixing in SequentialNestedSuiteExecution that takes zero to many Suites, which will be returned from its nestedSuites method.

  67. trait SequentialNestedSuiteExecution extends SuiteMixin

    Trait that causes the nested suites of any suite it is mixed into to be run sequentially even if a Distributor is passed to runNestedSuites.

  68. final class StatefulStatus extends Status with Serializable

    Status implementation that can change its state over time.

  69. sealed trait Status extends AnyRef

    The result status of running a test or a suite, which is used to support parallel and asynchronous execution of tests.

  70. class Stepwise extends Suite with StepwiseNestedSuiteExecution

    A Suite class that takes zero to many Suites, which will be returned from its nestedSuites method and executed in “stepwise” fashion by its runNestedSuites method.

  71. trait StepwiseNestedSuiteExecution extends SuiteMixin

    Trait that causes the nested suites of any suite it is mixed into to be run sequentially even if a Distributor is passed to runNestedSuites.

  72. trait Stopper extends AnyRef

    Trait whose instances can accept a stop request and indicate whether a stop has already been requested.

  73. trait Suite extends Assertions with Serializable

    A suite of tests.

  74. trait SuiteMixin extends AnyRef

    Trait defining abstract "lifecycle" methods that are implemented in Suite and can be overridden in stackable modification traits.

  75. class Suites extends Suite

    A Suite class that takes zero to many Suites in its constructor, which will be returned from its nestedSuites method.

  76. class Tag extends AnyRef

    Class whose subclasses can be used to tag tests in style traits in which tests are defined as functions.

  77. class TagAnnotation extends Annotation with Annotation with ClassfileAnnotation

  78. trait TestData extends AnyRef

    A bundle of information about the current test.

  79. trait TestRegistration extends AnyRef

    Trait declaring methods that can be used to register by-name test functions that have any result type.

  80. trait TestSuite extends Suite

    The base trait of ScalaTest's synchronous testing styles, which defines a withFixture lifecycle method that accepts as its parameter a test function that returns an Outcome.

  81. trait TestSuiteMixin extends SuiteMixin

    Trait defining abstract "lifecycle" methods that are implemented in TestSuite and can be overridden in stackable modification traits.

  82. trait TestsBeforeNestedSuites extends SuiteMixin

    SuiteMixin trait that overrides run to execute tests before nested suites.

  83. final class Tracker extends AnyRef

    Class that tracks the progress of a series of Ordinals produced by invoking next and nextNewOldPair on the current Ordinal.

  84. trait TryValues extends AnyRef

    Trait that provides an implicit conversion that adds success and failure methods to scala.util.Try, enabling you to make assertions about the value of a Success or the exception of a Failure.

  85. class WrapWith extends Annotation with Annotation with ClassfileAnnotation

  86. type AsyncFeatureSpec = scalatest.featurespec.AsyncFeatureSpec

    The name org.scalatest.AsyncFeatureSpec has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.featurespec.AsyncFeatureSpec, instead.

    The name org.scalatest.AsyncFeatureSpec has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.featurespec.AsyncFeatureSpec, instead.

    This type has been renamed to support future modularization of ScalaTest.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.AsyncFeatureSpec trait has been moved and renamed. Please use org.scalatest.featurespec.AsyncFeatureSpec instead.

  87. type AsyncFeatureSpecLike = scalatest.featurespec.AsyncFeatureSpecLike

    The name org.scalatest.AsyncFeatureSpecLike has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.featurespec.AsyncFeatureSpecLike, instead.

    The name org.scalatest.AsyncFeatureSpecLike has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.featurespec.AsyncFeatureSpecLike, instead.

    This type has been renamed to support future modularization of ScalaTest.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.AsyncFeatureSpecLike trait has been moved and renamed. Please use org.scalatest.featurespec.AsyncFeatureSpecLike instead.

  88. type AsyncFlatSpec = scalatest.flatspec.AsyncFlatSpec

    The name org.scalatest.AsyncFlatSpec has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.flatspec.AsyncFlatSpec, instead.

    The name org.scalatest.AsyncFlatSpec has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.flatspec.AsyncFlatSpec, instead.

    This type has been renamed to support future modularization of ScalaTest.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.AsyncFlatSpec trait has been moved and renamed. Please use org.scalatest.flatspec.AsyncFlatSpec instead.

  89. type AsyncFlatSpecLike = scalatest.flatspec.AsyncFlatSpecLike

    The name org.scalatest.AsyncFlatSpecLike has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.flatspec.AsyncFlatSpecLike, instead.

    The name org.scalatest.AsyncFlatSpecLike has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.flatspec.AsyncFlatSpecLike, instead.

    This type has been renamed to support future modularization of ScalaTest.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.AsyncFlatSpecLike trait has been moved and renamed. Please use org.scalatest.flatspec.AsyncFlatSpecLike instead.

  90. type AsyncFreeSpec = scalatest.freespec.AsyncFreeSpec

    The name org.scalatest.AsyncFreeSpec has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.freespec.AsyncFreeSpec, instead.

    The name org.scalatest.AsyncFreeSpec has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.freespec.AsyncFreeSpec, instead.

    This type has been renamed to support future modularization of ScalaTest.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.AsyncFreeSpec trait has been moved and renamed. Please use org.scalatest.freespec.AsyncFreeSpec instead.

  91. type AsyncFreeSpecLike = scalatest.freespec.AsyncFreeSpecLike

    The name org.scalatest.AsyncFreeSpecLike has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.freespec.AsyncFreeSpecLike, instead.

    The name org.scalatest.AsyncFreeSpecLike has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.freespec.AsyncFreeSpecLike, instead.

    This type has been renamed to support future modularization of ScalaTest.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.AsyncFreeSpecLike trait has been moved and renamed. Please use org.scalatest.freespec.AsyncFreeSpecLike instead.

  92. type AsyncFunSpec = scalatest.funspec.AsyncFunSpec

    The name org.scalatest.AsyncFunSpec has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.funspec.AsyncFunSpec, instead.

    The name org.scalatest.AsyncFunSpec has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.funspec.AsyncFunSpec, instead.

    This type has been renamed to support future modularization of ScalaTest.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.AsyncFunSpec trait has been moved and renamed. Please use org.scalatest.funspec.AsyncFunSpec instead.

  93. type AsyncFunSpecLike = scalatest.funspec.AsyncFunSpecLike

    The name org.scalatest.AsyncFunSpecLike has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.funspec.AsyncFunSpecLike, instead.

    The name org.scalatest.AsyncFunSpecLike has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.funspec.AsyncFunSpecLike, instead.

    This type has been renamed to support future modularization of ScalaTest.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.AsyncFunSpecLike trait has been moved and renamed. Please use org.scalatest.funspec.AsyncFunSpecLike instead.

  94. type AsyncFunSuite = scalatest.funsuite.AsyncFunSuite

    The name org.scalatest.AsyncFunSuite has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.funsuite.AsyncFunSuite, instead.

    The name org.scalatest.AsyncFunSuite has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.funsuite.AsyncFunSuite, instead.

    This type has been renamed to support future modularization of ScalaTest.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.AsyncFunSuite trait has been moved and renamed. Please use org.scalatest.funsuite.AsyncFunSuite instead.

  95. type AsyncFunSuiteLike = scalatest.funsuite.AsyncFunSuiteLike

    The name org.scalatest.AsyncFunSuiteLike has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.funsuite.AsyncFunSuiteLike, instead.

    The name org.scalatest.AsyncFunSuiteLike has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.funsuite.AsyncFunSuiteLike, instead.

    This type has been renamed to support future modularization of ScalaTest.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.AsyncFunSuiteLike trait has been moved and renamed. Please use org.scalatest.funsuite.AsyncFunSuiteLike instead.

  96. type AsyncWordSpec = scalatest.wordspec.AsyncWordSpec

    The name org.scalatest.AsyncWordSpec has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.wordspec.AsyncWordSpec, instead.

    The name org.scalatest.AsyncWordSpec has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.wordspec.AsyncWordSpec, instead.

    This type has been renamed to support future modularization of ScalaTest.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.AsyncWordSpec trait has been moved and renamed. Please use org.scalatest.wordspec.AsyncWordSpec instead.

  97. type AsyncWordSpecLike = scalatest.wordspec.AsyncWordSpecLike

    The name org.scalatest.AsyncWordSpecLike has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.wordspec.AsyncWordSpecLike, instead.

    The name org.scalatest.AsyncWordSpecLike has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.wordspec.AsyncWordSpecLike, instead.

    This type has been renamed to support future modularization of ScalaTest.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.AsyncWordSpecLike trait has been moved and renamed. Please use org.scalatest.wordspec.AsyncWordSpecLike instead.

  98. type DiagrammedAssertions = Diagrams

    The name org.scalatest.DiagrammedAssertions has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.diagrams.Diagrams, instead.

    The name org.scalatest.DiagrammedAssertions has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.diagrams.Diagrams, instead.

    This type has been renamed to suport future modularization of ScalaTest.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.DiagrammedAssertions trait has been moved and renamed. Please use org.scalatest.diagrams.Diagrams instead.

  99. type FeatureSpec = AnyFeatureSpec

    The name org.scalatest.FeatureSpec has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.featurespec.AnyFeatureSpec, instead.

    The name org.scalatest.FeatureSpec has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.featurespec.AnyFeatureSpec, instead.

    This type has been renamed to support future modularization of ScalaTest.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.FeatureSpec trait has been moved and renamed. Please use org.scalatest.featurespec.AnyFeatureSpec instead.

  100. type FeatureSpecLike = AnyFeatureSpecLike

    The name org.scalatest.FeatureSpecLike has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.featurespec.AnyFeatureSpecLike, instead.

    The name org.scalatest.FeatureSpecLike has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.featurespec.AnyFeatureSpecLike, instead.

    This type has been renamed to support future modularization of ScalaTest.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.FeatureSpecLike trait has been moved and renamed. Please use org.scalatest.featurespec.AnyFeatureSpecLike instead.

  101. type FlatSpec = AnyFlatSpec

    The name org.scalatest.FlatSpec has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.flatspec.AnyFlatSpec, instead.

    The name org.scalatest.FlatSpec has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.flatspec.AnyFlatSpec, instead.

    This type has been renamed to support future modularization of ScalaTest.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.FlatSpec trait has been moved and renamed. Please use org.scalatest.flatspec.AnyFlatSpec instead.

  102. type FlatSpecLike = AnyFlatSpecLike

    The name org.scalatest.FlatSpecLike has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.flatspec.AnyFlatSpecLike, instead.

    The name org.scalatest.FlatSpecLike has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.flatspec.AnyFlatSpecLike, instead.

    This type has been renamed to support future modularization of ScalaTest.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.FlatSpecLike trait has been moved and renamed. Please use org.scalatest.flatspec.AnyFlatSpecLike instead.

  103. type FreeSpec = AnyFreeSpec

    The name org.scalatest.FreeSpec has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.freespec.AnyFreeSpec, instead.

    The name org.scalatest.FreeSpec has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.freespec.AnyFreeSpec, instead.

    This type has been renamed to support future modularization of ScalaTest.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.FreeSpec trait has been moved and renamed. Please use org.scalatest.freespec.AnyFreeSpec instead.

  104. type FreeSpecLike = AnyFreeSpecLike

    The name org.scalatest.FreeSpecLike has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.freespec.AnyFreeSpecLike, instead.

    The name org.scalatest.FreeSpecLike has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.freespec.AnyFreeSpecLike, instead.

    This type has been renamed to support future modularization of ScalaTest.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.FreeSpecLike trait has been moved and renamed. Please use org.scalatest.freespec.AnyFreeSpecLike instead.

  105. type FunSpec = AnyFunSpec

    The name org.scalatest.FunSpec has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.funspec.AnyFunSpec, instead.

    The name org.scalatest.FunSpec has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.funspec.AnyFunSpec, instead.

    This type has been renamed to support future modularization of ScalaTest.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.FunSpec trait has been moved and renamed. Please use org.scalatest.funspec.AnyFunSpec instead.

  106. type FunSpecLike = AnyFunSpecLike

    The name org.scalatest.FunSpecLike has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.funspec.AnyFunSpecLike, instead.

    The name org.scalatest.FunSpecLike has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.funspec.AnyFunSpecLike, instead.

    This type has been renamed to support future modularization of ScalaTest.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.FunSpecLike trait has been moved and renamed. Please use org.scalatest.funspec.AnyFunSpecLike instead.

  107. type FunSuite = AnyFunSuite

    The name org.scalatest.FunSuite has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.funsuite.AnyFunSuite, instead.

    The name org.scalatest.FunSuite has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.funsuite.AnyFunSuite, instead.

    This type has been renamed to support future modularization of ScalaTest.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.FunSuite trait has been moved and renamed. Please use org.scalatest.funsuite.AnyFunSuite instead.

  108. type FunSuiteLike = AnyFunSuiteLike

    The name org.scalatest.FunSuiteLike has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.funsuite.AnyFunSuiteLike, instead.

    The name org.scalatest.FunSuiteLike has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.funsuite.AnyFunSuiteLike, instead.

    This type has been renamed to support future modularization of ScalaTest.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.FunSuiteLike trait has been moved and renamed. Please use org.scalatest.funsuite.AnyFunSuiteLike instead.

  109. type Matchers = scalatest.matchers.should.Matchers

    The name org.scalatest.Matchers has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.matchers.should.Matchers, instead.

    The name org.scalatest.Matchers has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.matchers.should.Matchers, instead.

    This type has been renamed to support future modularization of ScalaTest.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.Matchers trait has been moved and renamed. Please use org.scalatest.matchers.should.Matchers instead.

  110. type MustMatchers = scalatest.matchers.must.Matchers

    The name org.scalatest.MustMatchers has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.matchers.must.Matchers, instead.

    The name org.scalatest.MustMatchers has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.matchers.must.Matchers, instead.

    This type has been renamed to support future modularization of ScalaTest.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.MustMatchers trait has been moved and renamed. Please use org.scalatest.matchers.must.Matchers instead.

  111. type PropSpec = AnyPropSpec

    The name org.scalatest.PropSpec has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.propspec.AnyPropSpec, instead.

    The name org.scalatest.PropSpec has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.propspec.AnyPropSpec, instead.

    This type has been renamed to support future modularization of ScalaTest.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.PropSpec trait has been moved and renamed. Please use org.scalatest.propspec.AnyPropSpec instead.

  112. type PropSpecLike = AnyPropSpecLike

    The name org.scalatest.PropSpecLike has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.propspec.AnyPropSpecLike, instead.

    The name org.scalatest.PropSpecLike has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.propspec.AnyPropSpecLike, instead.

    This type has been renamed to support future modularization of ScalaTest.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.PropSpecLike trait has been moved and renamed. Please use org.scalatest.propspec.AnyPropSpecLike instead.

  113. trait Rerunner extends AnyRef

    Trait whose instances can rerun tests or other entities (such as suites).

  114. type WordSpec = AnyWordSpec

    The name org.scalatest.WordSpec has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.wordspec.AnyWordSpec, instead.

    The name org.scalatest.WordSpec has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.wordspec.AnyWordSpec, instead.

    This type has been renamed to support future modularization of ScalaTest.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.WordSpec trait has been moved and renamed. Please use org.scalatest.wordspec.AnyWordSpec instead.

  115. type WordSpecLike = AnyWordSpecLike

    The name org.scalatest.WordSpecLike has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.wordspec.AnyWordSpecLike, instead.

    The name org.scalatest.WordSpecLike has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.wordspec.AnyWordSpecLike, instead.

    This type has been renamed to support future modularization of ScalaTest.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.WordSpecLike trait has been moved and renamed. Please use org.scalatest.wordspec.AnyWordSpecLike instead.

Value Members

  1. object AppendedClues extends AppendedClues

    Companion object that facilitates the importing of AppendedClues members as an alternative to mixing it in.

  2. object Assertions extends Assertions

    Companion object that facilitates the importing of Assertions members as an alternative to mixing it in.

  3. object Canceled extends Serializable

    Companion object to class Canceled that provides, in addition to the extractor and factory method provided by the compiler given its companion is a case class, a second factory method that produces a Canceled outcome given a string message.

  4. object Checkpoints extends Checkpoints

    Companion object that facilitates the importing the members of trait Checkpoints as an alternative to mixing it in.

  5. object CompleteLastly extends CompleteLastly

    Companion object that facilitates the importing of CompleteLastly members as an alternative to mixing it in.

  6. object ConfigMap extends Serializable

    Companion object to class ConfigMap containing factory methods.

  7. object DiagrammedExpr

    DiagrammedExpr companion object that provides factory methods to create different sub types of DiagrammedExpr

  8. object EitherValues extends EitherValues

    Companion object that facilitates the importing of ValueEither members as an alternative to mixing it in.

  9. object Exceptional extends Serializable

    Companion object to class Exceptional that provides a factory method and an extractor that enables patterns that match both Failed and Canceled outcomes and extracts the contained exception and a factory method.

  10. object Failed extends Serializable

    Companion object for Failed offering several factory methods.

  11. object FailedStatus extends Status with Serializable

    Singleton status that represents an already completed run with at least one failed test or aborted suite.

  12. object Filter extends Serializable

    Companion object to Filter offering a default Filter and a factory method for Filters.

  13. object FutureOutcome

    Companion object to FutureOutcomes that contains factory methods for creating already-completed FutureOutcomes.

  14. object Inside extends Inside

    Companion object that facilitates the importing of the inside construct as an alternative to mixing it in.

  15. object Inspectors extends Inspectors

    Companion object that facilitates the importing of Inspectors members as an alternative to mixing it in.

  16. object LoneElement extends LoneElement

    Companion object that facilitates the importing of LoneElement members as an alternative to mixing it in.

  17. object NonImplicitAssertions extends NonImplicitAssertions

    Companion object that facilitates the importing of the members of trait Assertions without importing the implicit conversions it provides by default.

  18. object OptionValues extends OptionValues

    Companion object that facilitates the importing of OptionValues members as an alternative to mixing it in.

  19. object Outcome extends Serializable

    Companion object for trait Outcome that contains an implicit method that enables collections of Outcomes to be flattened into a collections of contained exceptions.

  20. object OutcomeOf extends OutcomeOf

    Companion object that facilitates the importing of OutcomeOf's method as an alternative to mixing it in.

  21. object PartialFunctionValues extends PartialFunctionValues

    Companion object that facilitates the importing of PartialFunctionValues members as an alternative to mixing it in.

  22. object Payloads extends Payloads

    Companion object that facilitates the importing of Payloads members as an alternative to mixing it in.

  23. object Pending extends Outcome with Product with Serializable

    Outcome for a test that was pending, which contains an optional string giving more information on what exactly is needed for the test to become non-pending.

  24. object PrivateMethodTester extends PrivateMethodTester

    Companion object that facilitates the importing of PrivateMethodTester members as an alternative to mixing it in.

  25. object RecoverMethods extends RecoverMethods

    Companion object that facilitates the importing of RecoverMethods's method as an alternative to mixing it in.

  26. object Retries extends Retries

    Companion object to trait Retries that enables its members to be imported as an alternative to mixing them in.

  27. val ScalaTestVersion: String

    The version number of ScalaTest.

    The version number of ScalaTest.

    returns

    the ScalaTest version number.

  28. object Sequential extends Serializable

    Companion object to class Sequential that offers an apply factory method for creating a Sequential instance.

  29. object Stepwise extends Serializable

    Companion object to class Stepwise that offers an apply factory method for creating a Stepwise instance.

  30. object Stopper

    Companion object to Stopper that holds a factory method that produces a new Stopper whose stopRequested method returns false until after its requestStop has been invoked.

  31. object Succeeded extends Outcome with scalatest.compatible.Assertion with Product with Serializable

    Outcome for a test that succeeded.

  32. object SucceededStatus extends Status with Serializable

    Singleton status that represents an already completed run with no tests failed and no suites aborted.

  33. object Suites extends Serializable

    Companion object to class Suites that offers an apply factory method for creating a Suites instance.

  34. object Tag

    Companion object for Tag, which offers a factory method.

  35. object Tracker

    Companion object to Tracker offering a default Tracker.

  36. object TryValues extends TryValues

    Companion object that facilitates the importing of TryValues members as an alternative to mixing it in.

  37. package compatible

    Package containing one trait that can be released as a separate module that third party libraries can depend on to define assertions that are compatible with ScalaTest.

  38. package concurrent

    Classes, traits, and objects related to testing asynchronous and multi-threaded behavior.

  39. package diagrams

    A single traits and companion object that provides a assertions that draw code diagrams on failure.

  40. package enablers

    Classes, traits, and objects for typeclasses that enable ScalaTest's DSLs.

  41. package events

    Classes for events sent to the org.scalatest.Reporter to report the results of running tests.

  42. package exceptions

    Classes and traits for exceptions thrown by ScalaTest.

  43. package featurespec

    Classes and traits for ScalaTest's FeatureSpec style.

  44. package fixture

    Classes and traits supporting ScalaTest's "fixture" style traits, which allow you to pass fixture objects into tests.

  45. package flatspec

    Classes and traits for ScalaTest's FlatSpec style.

  46. package freespec

    Classes and traits for ScalaTest's FreeSpec style.

  47. package funspec

    Classes and traits for ScalaTest's FunSpec style.

  48. package funsuite

    Classes and traits for ScalaTest's FunSuite style.

  49. package matchers

    Classes and traits for matchers.

  50. package path

    ScalaTest's old path package that contains deprecated aliases for path style traits.

  51. package prop

  52. package propspec

    Classes and traits for ScalaTest's PropSpec style.

  53. package tagobjects

    Singleton-object versions of ScalaTest's built-in tags.

  54. package time

    Classes, traits, and objects for ScalaTest's time DSL.

  55. package tools

    Tools for running ScalaTest.

  56. package verbs

    Classes and traits that support ScalaTest DSLs.

  57. package words

    A deprecated package that contained support for ScalaTest DSLs.

  58. package wordspec

    Classes and traits for ScalaTest's WordSpec style.

Deprecated Value Members

  1. val DiagrammedAssertions: Diagrams.type

    The name org.scalatest.DiagrammedAssertions has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.diagrams.Diagrams, instead.

    The name org.scalatest.DiagrammedAssertions has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.diagrams.Diagrams, instead.

    This type has been renamed to suport future modularization of ScalaTest.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.DiagrammedAssertions object has been moved and renamed. Please use org.scalatest.diagrams.Diagrams instead.

  2. val Matchers: scalatest.matchers.should.Matchers.type

    The name org.scalatest.Matchers has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.matchers.should.Matchers, instead.

    The name org.scalatest.Matchers has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.matchers.should.Matchers, instead.

    This type has been renamed to support future modularization of ScalaTest.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.Matchers trait has been moved and renamed. Please use org.scalatest.matchers.should.Matchers instead.

  3. val MustMatchers: scalatest.matchers.must.Matchers.type

    The name org.scalatest.MustMatchers has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.matchers.must.Matchers, instead.

    The name org.scalatest.MustMatchers has been deprecated and will be removed in a future version of ScalaTest. Please use its new name, org.scalatest.matchers.must.Matchers, instead.

    This type has been renamed to support future modularization of ScalaTest.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.MustMatchers trait has been moved and renamed. Please use org.scalatest.matchers.must.Matchers instead.

Inherited from AnyRef

Inherited from Any

Ungrouped