Packages

  • package root
    Definition Classes
    root
  • package org
    Definition Classes
    root
  • package scalatest

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

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

    Definition Classes
    org
  • package concurrent

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

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

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

    Definition Classes
    scalatest
  • package enablers

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

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

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

    Definition Classes
    scalatest
  • package events

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

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

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

    Definition Classes
    scalatest
  • package exceptions

    Classes and traits for exceptions thrown by ScalaTest.

    Classes and traits for exceptions thrown by ScalaTest.

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

    Definition Classes
    scalatest
  • package fixture

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

    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.

    Definition Classes
    scalatest
  • package prop
    Definition Classes
    scalatest
  • package tagobjects

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

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

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

    Definition Classes
    scalatest
  • CPU
  • ChromeBrowser
  • Disk
  • FirefoxBrowser
  • HtmlUnitBrowser
  • InternetExplorerBrowser
  • Network
  • Retryable
  • SafariBrowser
  • Slow
  • package tags
    Definition Classes
    scalatest
  • package time

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

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

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

    Definition Classes
    scalatest
  • package tools

    Tools for running ScalaTest.

    Tools for running ScalaTest.

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

    Definition Classes
    scalatest
  • package verbs

    Classes and traits that support ScalaTest DSLs.

    Classes and traits that support ScalaTest DSLs.

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

    Definition Classes
    scalatest
p

org.scalatest

tagobjects

package tagobjects

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

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. tagobjects
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. object CPU extends Tag

    Tag object that indicates a test is CPU-intensive (i.e., consumes a lot of CPU time when it runs).

    Tag object that indicates a test is CPU-intensive (i.e., consumes a lot of CPU time when it runs).

    The corresponding tag annotation for this tag object is org.scalatest.tags.CPU. This tag object can be used to tag test functions (in style traits other than Spec, in which tests are methods not functions) as being CPU-intensive. See the "tagging tests" section in the documentation for your chosen styles to see the syntax. Here's an example for FlatSpec:

    package org.scalatest.examples.tagobjects.cpu
    
    import org.scalatest._
    import tagobjects.CPU
    
    class SetSpec extends FlatSpec {
    
      "An empty Set" should "have size 0" taggedAs(CPU) in {
        assert(Set.empty.size === 0)
      }
    }
    

  2. object ChromeBrowser extends Tag

    Tag object that indicates a Selenium test uses the Chrome browser.

  3. object Disk extends Tag

    Tag object that indicates a test is disk-intensive (i.e., consumes a lot of disk-IO bandwidth when it runs).

    Tag object that indicates a test is disk-intensive (i.e., consumes a lot of disk-IO bandwidth when it runs).

    The corresponding tag annotation for this tag object is org.scalatest.tags.Disk. This tag object can be used to tag test functions (in style traits other than Spec, in which tests are methods not functions) as being disk-intensive. See the "tagging tests" section in the documentation for your chosen styles to see the syntax. Here's an example for FlatSpec:

    package org.scalatest.examples.tagobjects.disk
    
    import org.scalatest._
    import tagobjects.Disk
    
    class SetSpec extends FlatSpec {
    
      "An empty Set" should "have size 0" taggedAs(Disk) in {
        assert(Set.empty.size === 0)
      }
    }
    

  4. object FirefoxBrowser extends Tag

    Tag object that indicates a Selenium test uses the Firefox browser.

  5. object HtmlUnitBrowser extends Tag

    Tag object that indicates a Selenium test uses the HtmlUnit browser.

  6. object InternetExplorerBrowser extends Tag

    Tag that indicates a Selenium test uses the Internet Explorer browser.

  7. object Network extends Tag

    Tag object that indicates a test is network-intensive (i.e., consumes a lot of network bandwidth when it runs).

    Tag object that indicates a test is network-intensive (i.e., consumes a lot of network bandwidth when it runs).

    The corresponding tag annotation for this tag object is org.scalatest.tags.Network. This tag object can be used to tag test functions (in style traits other than Spec, in which tests are methods not functions) as being network-intensive. See the "tagging tests" section in the documentation for your chosen styles to see the syntax. Here's an example for FlatSpec:

    package org.scalatest.examples.tagobjects.network
    
    import org.scalatest._
    import tagobjects.Network
    
    class SetSpec extends FlatSpec {
    
      "An empty Set" should "have size 0" taggedAs(Network) in {
        assert(Set.empty.size === 0)
      }
    }
    

  8. object Retryable extends Tag

    Tag object that indicates a test is a candidate for retrying on either failure, cancellation, or both.

    Tag object that indicates a test is a candidate for retrying on either failure, cancellation, or both.

    This tag object is intended to be used in conjunction with trait Retries, to identify tests that are candidates for retrying.

    The corresponding tag annotation for this tag object is org.scalatest.tags.Retryable. This tag object can be used to tag test functions (in style traits other than Spec, in which tests are methods not functions) as being a candidate for retries. See the "tagging tests" section in the documentation for your chosen styles to see the syntax. Here's an example for FlatSpec:

    package org.scalatest.examples.tagobjects.retryable
    
    import org.scalatest._
    import tagobjects.Retryable
    
    class SetSpec extends FlatSpec with Retries {
    
      override def withFixture(test: NoArgTest) = {
        if (isRetryable(test))
          withRetry { super.withFixture(test) }
        else
          super.withFixture(test)
      }
    
      "An empty Set" should "have size 0" taggedAs(Retryable) in {
        assert(Set.empty.size === 0)
      }
    }
    

  9. object SafariBrowser extends Tag

    Tag object that indicates a Selenium test uses the Safari browser.

  10. object Slow extends Tag

    Tag object that indicates a test is slow (i.e., takes a long time to run).

    Tag object that indicates a test is slow (i.e., takes a long time to run).

    The corresponding tag annotation for this tag object is org.scalatest.tags.Slow. This tag object can be used to tag test functions (in style traits other than Spec, in which tests are methods not functions) as being slow. See the "tagging tests" section in the documentation for your chosen styles to see the syntax. Here's an example for FlatSpec:

    package org.scalatest.examples.tagobjects.slow
    
    import org.scalatest._
    import tagobjects.Slow
    
    class SetSpec extends FlatSpec {
    
      "An empty Set" should "have size 0" taggedAs(Slow) in {
        assert(Set.empty.size === 0)
      }
    }
    

Inherited from AnyRef

Inherited from Any

Ungrouped