Package

org.scalatest

fixture

Permalink

package fixture

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

This package is released as part of the scalatest-core module.

Source
package.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. fixture
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait AsyncConfigMapFixture extends AnyRef

    Permalink

    Trait that when mixed into a FixtureAsyncTestSuite passes the config map passed to runTest as a fixture into each test.

    Trait that when mixed into a FixtureAsyncTestSuite passes the config map passed to runTest as a fixture into each test.

    Here's an example in which tests just check to make sure "hello" and "world" are defined keys in the config map:

    package org.scalatest.examples.fixture.configmapfixture
    
    import org.scalatest._
    
    class ExampleAsyncSpec extends fixture.AsyncFlatSpec with fixture.AsyncConfigMapFixture with Matchers {
    
      "The config map" should "contain hello" in { configMap =>
        // Use the configMap passed to runTest in the test
        configMap should contain key "hello"
      }
    
      it should "contain world" in { configMap =>
        configMap should contain key "world"
      }
    }
    

    If you run this class without defining "hello" and "world" in the confg map, the tests will fail:

    scala> org.scalatest.run(new ExampleSpec)
    ExampleSpec:
    The config map
    - should contain hello *** FAILED ***
      Map() did not contain key "hello" (:20)
    - should contain world *** FAILED ***
      Map() did not contain key "world" (:24)
    

    If you do define "hello" and "world" keys in the confg map, the tests will success:

    scala> org.scalatest.run(new ExampleSpec, configMap = Map("hello" -> "hi", "world" -> "globe"))
    ExampleSpec:
    The config map
    - should contain hello
    - should contain world
    

  2. trait AsyncTestDataFixture extends AnyRef

    Permalink

    Trait that when mixed into a FixtureAsyncTestSuite passes the TestData passed to withFixture as a fixture into each test.

    Trait that when mixed into a FixtureAsyncTestSuite passes the TestData passed to withFixture as a fixture into each test.

    For example, here's how you could access the test's name in each test using AsyncTestDataFixture:

    package org.scalatest.examples.fixture.testdatafixture
    
    import org.scalatest._
    
    class ExampleAsyncSpec extends fixture.AsyncFlatSpec with fixture.AsyncTestDataFixture {
    
      "Accessing the test data" should "be easy!" in { td =>
        assert(td.name == "Accessing the test data should be easy!")
      }
    
      it should "be fun!" in { td =>
        assert(td.name == "Accessing the test data should be fun!")
      }
    }
    

  3. trait ConfigMapFixture extends AnyRef

    Permalink

    Trait that when mixed into a FixtureSuite passes the config map passed to runTest as a fixture into each test.

    Trait that when mixed into a FixtureSuite passes the config map passed to runTest as a fixture into each test.

    Here's an example in which tests just check to make sure "hello" and "world" are defined keys in the config map:

    package org.scalatest.examples.fixture.configmapfixture
    
    import org.scalatest._
    
    class ExampleSpec extends fixture.FlatSpec with fixture.ConfigMapFixture with Matchers {
    
      "The config map" should "contain hello" in { configMap =>
        // Use the configMap passed to runTest in the test
        configMap should contain key "hello"
      }
    
      it should "contain world" in { configMap =>
        configMap should contain key "world"
      }
    }
    

    If you run this class without defining "hello" and "world" in the confg map, the tests will fail:

    scala> org.scalatest.run(new ExampleSpec)
    ExampleSpec:
    The config map
    - should contain hello *** FAILED ***
      Map() did not contain key "hello" (:20)
    - should contain world *** FAILED ***
      Map() did not contain key "world" (:24)
    

    If you do define "hello" and "world" keys in the confg map, the tests will success:

    scala> org.scalatest.run(new ExampleSpec, configMap = Map("hello" -> "hi", "world" -> "globe"))
    ExampleSpec:
    The config map
    - should contain hello
    - should contain world
    

  4. trait NoArg extends DelayedInit with () ⇒ Unit

    Permalink

    A function that takes no parameters (i.e., a Function0 or "no-arg" function) and results in Unit, which when invoked executes the body of the constructor of the class into which this trait is mixed.

    A function that takes no parameters (i.e., a Function0 or "no-arg" function) and results in Unit, which when invoked executes the body of the constructor of the class into which this trait is mixed.

    This trait extends DelayedInit and defines a delayedInit method that saves the body of the constructor (passed to delayedInit) for later execution when apply is invoked.

    This trait is somewhat magical and therefore may be challenging for your collegues to understand, so please use it as a last resort only when the simpler options described in the "shared fixtures" section of your chosen style trait won't do the job. NoArg is intended to address a specific use case that will likely be rare, and is unlikely to be useful outside of its intended use case, but it is quite handy for its intended use case (described in the next paragraph). One potential gotcha, for example, is that a subclass's constructor body could in theory be executed multiple times by simply invoking apply multiple times. In the intended use case for this trait, however, the body will be executed only once.

    The intended use case for this method is (relatively rare) situations in which you want to extend a different instance of the same class for each test, with the body of the test inheriting the members of that class, and with code executed before and/or after the body of the test.

    For example, Akka's TestKit class takes an ActorSystem, which must have a unique name. To run a suite of tests in parallel, each test must get its own ActorSystem, to ensure the tests run in isolation. At the end of each test, the ActorSystem must be shutdown. With NoArg, you can achieve this by first defining a class that extends TestKit and mixes in NoArg. Here's an example taken with permission from the book Akka Concurrency, by Derek Wyatt:

    import akka.actor.ActorSystem
    import akka.testkit.{TestKit, ImplicitSender}
    import java.util.concurrent.atomic.AtomicInteger
    import org.scalatest.fixture.NoArg
    
    object ActorSys {
      val uniqueId = new AtomicInteger(0)
    }
    
    class ActorSys(name: String) extends
            TestKit(ActorSystem(name))
            with ImplicitSender
            with NoArg {
    
      def this() = this(
        "TestSystem%05d".format(
           ActorSys.uniqueId.getAndIncrement()))
    
      def shutdown(): Unit = system.shutdown()
    
      override def apply() {
        try super.apply()
        finally shutdown()
      }
    }
    

    Given this implementation of ActorSys, which will invoke shutdown after the constructor code is executed, you can run each test in a suite in a subclass of TestKit, giving each test's TestKit an ActorSystem with a unique name, allowing you to safely run those tests in parallel. Here's an example from Akka Concurrency:

    class MyActorSpec extends fixture.WordSpec
            with Matchers
            with UnitFixture
            with ParallelTestExecution {
    
      def makeActor(): ActorRef =
        system.actorOf(Props[MyActor], "MyActor")
    
      "My Actor" should {
        "throw when made with the wrong name" in new ActorSys {
          an [Exception] should be thrownBy {
            // use a generated name
            val a = system.actorOf(Props[MyActor])
          }
        }
        "construct without exception" in new ActorSys {
          val a = makeActor()
          // The throw will cause the test to fail
        }
        "respond with a Pong to a Ping" in new ActorSys {
          val a = makeActor()
          a ! Ping
          expectMsg(Pong)
        }
      }
    }
    

    UnitFixture is used in this example, because in this case, the fixture.WordSpec feature enabling tests to be defined as functions from fixture objects of type FixtureParam to Unit is not being used. Rather, only the secondary feature that enables tests to be defined as functions from no parameters to Unit is being used. This secondary feature is described in the second-to-last paragraph on the main Scaladoc documentation of fixture.WordSpec, which says:

    If a test doesn't need the fixture, you can indicate that by providing a no-arg instead of a one-arg function, ... In other words, instead of starting your function literal with something like “db =>”, you'd start it with “() =>”. For such tests, runTest will not invoke withFixture(OneArgTest). It will instead directly invoke withFixture(NoArgTest).

    Since FixtureParam is unused in this use case, it could be anything. Making it Unit will hopefully help readers more easily recognize that it is not being used.

    Note: As of Scala 2.11, DelayedInit (which is used by NoArg) has been deprecated, to indicate it is buggy and should be avoided if possible. Those in charge of the Scala compiler and standard library have promised that DelayedInit will not be removed from Scala unless an alternate way to achieve the same goal is provided. Thus it should be safe to use NoArg, but if you'd rather not you can achieve the same effect with a bit more boilerplate by extending (() => Unit) instead of NoArg and placing your code in an explicit body method. Here's an example:

    import akka.actor.ActorSystem
    import akka.testkit.{TestKit, ImplicitSender}
    import java.util.concurrent.atomic.AtomicInteger
    import org.scalatest.fixture.NoArg
    
    object ActorSys {
      val uniqueId = new AtomicInteger(0)
    }
    
    class ActorSys(name: String) extends
            TestKit(ActorSystem(name))
            with ImplicitSender
            with (() => Unit) {
    
      def this() = this(
        "TestSystem%05d".format(
           ActorSys.uniqueId.getAndIncrement()))
    
      def shutdown(): Unit = system.shutdown()
      def body(): Unit
    
      override def apply() = {
        try body()
        finally shutdown()
      }
    }
    

    Using this version of ActorSys will require an explicit body method in the tests:

    class MyActorSpec extends fixture.WordSpec
            with Matchers
            with UnitFixture
            with ParallelTestExecution {
    
      def makeActor(): ActorRef =
        system.actorOf(Props[MyActor], "MyActor")
    
      "My Actor" should {
        "throw when made with the wrong name" in new ActorSys {
          def body() =
            an [Exception] should be thrownBy {
              // use a generated name
              val a = system.actorOf(Props[MyActor])
            }
        }
        "construct without exception" in new ActorSys {
          def body() = {
            val a = makeActor()
            // The throw will cause the test to fail
          }
        }
        "respond with a Pong to a Ping" in new ActorSys {
          def body() = {
            val a = makeActor()
            a ! Ping
            expectMsg(Pong)
          }
        }
      }
    }
    

  5. trait TestDataFixture extends AnyRef

    Permalink

    Trait that when mixed into a FixtureSuite passes the TestData passed to withFixture as a fixture into each test.

    Trait that when mixed into a FixtureSuite passes the TestData passed to withFixture as a fixture into each test.

    For example, here's how you could access the test's name in each test using TestDataFixture:

    package org.scalatest.examples.fixture.testdatafixture
    
    import org.scalatest._
    
    class ExampleSpec extends fixture.FlatSpec with fixture.TestDataFixture {
    
      "Accessing the test data" should "be easy!" in { td =>
        assert(td.name == "Accessing the test data should be easy!")
      }
    
      it should "be fun!" in { td =>
        assert(td.name == "Accessing the test data should be fun!")
      }
    }
    

  6. trait UnitFixture extends AnyRef

    Permalink

    Trait that when mixed into a FixtureSuite passes the unit value as a fixture into each test.

    Trait that when mixed into a FixtureSuite passes the unit value as a fixture into each test.

    Since a unit value is unlikely to be of much use to a test, this trait is useful when the unit value fixture is actually never passed into any tests. Instead each test in the FixtureSuite is defined as a no-arg function; no tests are defined as one-arg functions. This should be quite rare, but occasionally can be useful. For an example, see the main documentation for trait NoArg.

  7. type AsyncFeatureSpec = FixtureAsyncFeatureSpec

    Permalink

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

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

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

    This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.fixture.AsyncFeatureSpec trait has been moved and renamed. Please use org.scalatest.featurespec.FixtureAsyncFeatureSpec instead. This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x

  8. type AsyncFeatureSpecLike = FixtureAsyncFeatureSpecLike

    Permalink

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

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

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

    This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.fixture.AsyncFeatureSpecLike trait has been moved and renamed. Please use org.scalatest.featurespec.FixtureAsyncFeatureSpecLike instead. This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x

  9. type AsyncFlatSpec = FixtureAsyncFlatSpec

    Permalink

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

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

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

    This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.fixture.AsyncFlatSpec trait has been moved and renamed. Please use org.scalatest.flatspec.FixtureAsyncFlatSpec instead. This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x

  10. type AsyncFlatSpecLike = FixtureAsyncFlatSpecLike

    Permalink

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

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

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

    This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.fixture.AsyncFlatSpecLike trait has been moved and renamed. Please use org.scalatest.flatspec.FixtureAsyncFlatSpecLike instead. This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x

  11. type AsyncFreeSpec = FixtureAsyncFreeSpec

    Permalink

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

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

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

    This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.fixture.AsyncFreeSpec trait has been moved and renamed. Please use org.scalatest.freespec.FixtureAsyncFreeSpec instead. This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x

  12. type AsyncFreeSpecLike = FixtureAsyncFreeSpecLike

    Permalink

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

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

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

    This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.fixture.AsyncFreeSpecLike trait has been moved and renamed. Please use org.scalatest.freespec.FixtureAsyncFreeSpecLike instead. This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x

  13. type AsyncFunSpec = FixtureAsyncFunSpec

    Permalink

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

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

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

    This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.fixture.AsyncFunSpec trait has been moved and renamed. Please use org.scalatest.funspec.FixtureAsyncFunSpec instead. This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x

  14. type AsyncFunSpecLike = FixtureAsyncFunSpecLike

    Permalink

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

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

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

    This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.fixture.AsyncFunSpecLike trait has been moved and renamed. Please use org.scalatest.funspec.FixtureAsyncFunSpecLike instead. This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x

  15. type AsyncFunSuite = FixtureAsyncFunSuite

    Permalink

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

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

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

    This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.fixture.AsyncFunSuite trait has been moved and renamed. Please use org.scalatest.funsuite.FixtureAsyncFunSuite instead. This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x

  16. type AsyncFunSuiteLike = FixtureAsyncFunSuiteLike

    Permalink

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

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

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

    This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.fixture.AsyncFunSuiteLike trait has been moved and renamed. Please use org.scalatest.funsuite.FixtureAsyncFunSuiteLike instead. This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x

  17. type AsyncTestRegistration = FixtureAsyncTestRegistration

    Permalink

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

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

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

    This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.fixture.AsyncTestRegistration trait has been moved and renamed. Please use org.scalatest.FixtureAsyncTestRegistration instead. This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x

  18. type AsyncTestSuite = FixtureAsyncTestSuite

    Permalink

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

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

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

    This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.fixture.AsyncTestSuite trait has been moved and renamed. Please use org.scalatest.FixtureAsyncTestSuite instead. This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x

  19. type AsyncWordSpec = FixtureAsyncWordSpec

    Permalink

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

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

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

    This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.fixture.AsyncWordSpec trait has been moved and renamed. Please use org.scalatest.wordspec.FixtureAsyncWordSpec instead. This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x

  20. type AsyncWordSpecLike = FixtureAsyncWordSpecLike

    Permalink

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

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

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

    This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.fixture.AsyncWordSpecLike trait has been moved and renamed. Please use org.scalatest.wordspec.FixtureAsyncWordSpecLike instead. This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x

  21. type FeatureSpec = FixtureAnyFeatureSpec

    Permalink

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

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

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

    This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.fixture.FeatureSpec trait has been moved and renamed. Please use org.scalatest.featurespec.FixtureAnyFeatureSpec instead. This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x

  22. type FeatureSpecLike = FixtureAnyFeatureSpecLike

    Permalink

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

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

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

    This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.fixture.FeatureSpecLike trait has been moved and renamed. Please use org.scalatest.featurespec.FixtureAnyFeatureSpecLike instead. This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x

  23. type FlatSpec = FixtureAnyFlatSpec

    Permalink

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

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

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

    This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.fixture.FlatSpec trait has been moved and renamed. Please use org.scalatest.flatspec.FixtureAnyFlatSpec instead. This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x

  24. type FlatSpecLike = FixtureAnyFlatSpecLike

    Permalink

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

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

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

    This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.fixture.FlatSpecLike trait has been moved and renamed. Please use org.scalatest.flatspec.FixtureAnyFlatSpecLike instead. This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x

  25. type FreeSpec = FixtureAnyFreeSpec

    Permalink

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

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

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

    This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.fixture.FreeSpec trait has been moved and renamed. Please use org.scalatest.freespec.FixtureAnyFreeSpec instead. This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x

  26. type FreeSpecLike = FixtureAnyFreeSpecLike

    Permalink

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

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

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

    This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.fixture.FreeSpecLike trait has been moved and renamed. Please use org.scalatest.freespec.FixtureAnyFreeSpecLike instead. This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x

  27. type FunSpec = FixtureAnyFunSpec

    Permalink

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

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

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

    This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.fixture.FunSpec trait has been moved and renamed. Please use org.scalatest.funspec.FixtureAnyFunSpec instead. This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x

  28. type FunSpecLike = FixtureAnyFunSpecLike

    Permalink

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

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

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

    This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.fixture.FunSpecLike trait has been moved and renamed. Please use org.scalatest.funspec.FixtureAnyFunSpecLike instead. This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x

  29. type FunSuite = FixtureAnyFunSuite

    Permalink

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

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

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

    This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.fixture.FunSuite trait has been moved and renamed. Please use org.scalatest.funsuite.FixtureAnyFunSuite instead. This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x

  30. type FunSuiteLike = FixtureAnyFunSuiteLike

    Permalink

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

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

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

    This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.fixture.FunSuiteLike trait has been moved and renamed. Please use org.scalatest.funsuite.FixtureAnyFunSuiteLike instead. This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x

  31. type PropSpec = FixtureAnyPropSpec

    Permalink

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

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

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

    This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.fixture.PropSpec trait has been moved and renamed. Please use org.scalatest.flatspec.FixtureAnyPropSpec instead. This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x

  32. type PropSpecLike = FixtureAnyPropSpecLike

    Permalink

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

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

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

    This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.fixture.PropSpecLike trait has been moved and renamed. Please use org.scalatest.flatspec.FixtureAnyPropSpecLike instead. This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x

  33. type Suite = FixtureSuite

    Permalink

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

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

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

    This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.fixture.Suite trait has been moved and renamed. Please use org.scalatest.FixtureSuite instead. This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x

  34. type TestRegistration = FixtureTestRegistration

    Permalink

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

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

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

    This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.fixture.TestRegistration trait has been moved and renamed. Please use org.scalatest.FixtureTestRegistration instead. This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x

  35. type TestSuite = FixtureTestSuite

    Permalink

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

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

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

    This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.fixture.TestSuite trait has been moved and renamed. Please use org.scalatest.FixtureTestSuite instead. This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x

  36. type WordSpec = FixtureAnyWordSpec

    Permalink

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

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

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

    This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.fixture.WordSpec trait has been moved and renamed. Please use org.scalatest.wordspec.FixtureAnyWordSpec instead. This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x

  37. type WordSpecLike = FixtureAnyWordSpecLike

    Permalink

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

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

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

    This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The org.scalatest.fixture.WordSpecLike trait has been moved and renamed. Please use org.scalatest.wordspec.FixtureAnyWordSpecLike instead. This can be rewritten automatically with autofix: https://github.com/scalatest/autofix/tree/master/3.1.x

Inherited from AnyRef

Inherited from Any

Ungrouped