org.pageobject.scalatest

BrowserLimitSuite

trait BrowserLimitSuite extends ConfigureableParallelTestLimit

Support for running multiple browsers in parallel.

If a Suite implements this trait you can configure how many instances of a given browser will be run at the same time.

Overall test limit: Use TEST_LIMIT=-1 to allow unlimited parallel test runs The default TEST_LIMIT is 1, use TEST_LIMIT=4 to allow 4 tests to be executed at the same time.

Browser test limit: When not configured, a limit of 1 is assumed. Use 0 to disable a Browser. Use -1 to allow an unlimited count for the given Browser type.

Example: FIREFOX_LIMIT=0 ->Do not start Firefox tests

Example: FIREFOX_LIMIT=3 CHROME_LIMIT=5 TEST_LIMIT=5 -> Start up to 5 tests, but no more then 3 Firefox Tests at the same time.

Only Browsers that are supperted for the platform where the tests are executed will be started. E.g. you don't need to disable Internet Explorer or Safari on Linux

Self Type
BrowserLimitSuite with Suite
Linear Supertypes
ConfigureableParallelTestLimit, ParallelTestLimit, ParallelTestExecution, OneInstancePerTest, SuiteMixin, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BrowserLimitSuite
  2. ConfigureableParallelTestLimit
  3. ParallelTestLimit
  4. ParallelTestExecution
  5. OneInstancePerTest
  6. SuiteMixin
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def expectedTestCount(filter: Filter): Int

    Definition Classes
    SuiteMixin
  2. abstract def nestedSuites: IndexedSeq[Suite]

    Definition Classes
    SuiteMixin
  3. abstract def rerunner: Option[String]

    Definition Classes
    SuiteMixin
  4. abstract def runNestedSuites(args: Args): Status

    Attributes
    protected
    Definition Classes
    SuiteMixin
  5. abstract val styleName: String

    Definition Classes
    SuiteMixin
  6. abstract def suiteId: String

    Definition Classes
    SuiteMixin
  7. abstract def suiteName: String

    Definition Classes
    SuiteMixin
  8. abstract def tags: Map[String, Set[String]]

    Definition Classes
    SuiteMixin
  9. abstract def testDataFor(testName: String, theConfigMap: ConfigMap): TestData

    Definition Classes
    SuiteMixin
  10. abstract def testNames: Set[String]

    Definition Classes
    SuiteMixin

Concrete Value Members

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

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

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

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

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

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def createTestSpecificReporter(testSorter: DistributedTestSorter, testName: String): Reporter

    Attributes
    protected[org.scalatest]
    Definition Classes
    ParallelTestExecution
  9. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  11. val executorService: ExecutorService

  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

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

    Definition Classes
    AnyRef
  17. def newInstance: Suite with ParallelTestExecution

    Definition Classes
    ParallelTestExecution → OneInstancePerTest
  18. final def notify(): Unit

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

    Definition Classes
    AnyRef
  20. def parallelTestLimitEnvName: Seq[String]

    Attributes
    protected
    Definition Classes
    BrowserLimitSuiteConfigureableParallelTestLimit
  21. def run(testName: Option[String], args: Args): Status

    Definition Classes
    ParallelTestLimit → ParallelTestExecution → SuiteMixin
  22. final def runTest(testName: String, args: Args): Status

    Attributes
    protected
    Definition Classes
    ParallelTestExecution → OneInstancePerTest → SuiteMixin
  23. def runTests(testName: Option[String], args: Args): Status

    Attributes
    protected
    Definition Classes
    ParallelTestExecution → OneInstancePerTest → SuiteMixin
  24. def sortingTimeout: Span

    Attributes
    protected
    Definition Classes
    ParallelTestExecution
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ParallelTestLimit

Inherited from ParallelTestExecution

Inherited from OneInstancePerTest

Inherited from SuiteMixin

Inherited from AnyRef

Inherited from Any

Ungrouped