Execute this TestNGSuite
.
Execute this TestNGSuite
.
an optional name of one test to execute. If None
, this class will execute all relevant tests.
I.e., None
acts like a wildcard that means execute all relevant tests in this TestNGSuite
.
the Args
for this run
Throws UnsupportedOperationException
, because this method is unused by this
trait, given this trait's run
method delegates to TestNG to run
its tests.
Throws UnsupportedOperationException
, because this method is unused by this
trait, given this trait's run
method delegates to TestNG to run
its tests.
The main purpose of this method implementation is to render a compiler error an attempt
to mix in a trait that overrides runNestedSuites
. Because this
trait does not actually use runNestedSuites
, the attempt to mix
in behavior would very likely not work.
the Args
for this run
UnsupportedOperationException
always.
Throws UnsupportedOperationException
, because this method is unused by this
trait, given this trait's run
method delegates to TestNG to run
its tests.
Throws UnsupportedOperationException
, because this method is unused by this
trait, given this trait's run
method delegates to TestNG to run
its tests.
The main purpose of this method implementation is to render a compiler error an attempt
to mix in a trait that overrides runTest
. Because this
trait does not actually use runTest
, the attempt to mix
in behavior would very likely not work.
the name of one test to run.
the Args
for this run
UnsupportedOperationException
always.
Throws UnsupportedOperationException
, because this method is unused by this
trait, given this trait's run
method delegates to TestNG to run
its tests.
Throws UnsupportedOperationException
, because this method is unused by this
trait, given this trait's run
method delegates to TestNG to run
its tests.
The main purpose of this method implementation is to render a compiler error an attempt
to mix in a trait that overrides runTests
. Because this
trait does not actually use runTests
, the attempt to mix
in behavior would very likely not work.
an optional name of one test to run. If None
, all relevant tests should be run.
I.e., None
acts like a wildcard that means run all relevant tests in this Suite
.
the Args
for this run
UnsupportedOperationException
always.
Suite style name.
Suite style name.
(Since version 3.1.0) The conversionCheckedConstraint method has been deprecated and will be removed in a future version of ScalaTest. It is no longer needed now that the deprecation period of ConversionCheckedTripleEquals has expired. It will not be replaced.
(Since version 3.1.0) The convertEquivalenceToAToBConversionConstraint method has been deprecated and will be removed in a future version of ScalaTest. It is no longer needed now that the deprecation period of ConversionCheckedTripleEquals has expired. It will not be replaced.
(Since version 3.1.0) The convertEquivalenceToBToAConversionConstraint method has been deprecated and will be removed in a future version of ScalaTest. It is no longer needed now that the deprecation period of ConversionCheckedTripleEquals has expired. It will not be replaced.
(Since version 3.1.0) The lowPriorityConversionCheckedConstraint method has been deprecated and will be removed in a future version of ScalaTest. It is no longer needed now that the deprecation period of ConversionCheckedTripleEquals has expired. It will not be replaced.
A suite of tests that can be run with either TestNG or ScalaTest. This class allows you to mark any method as a test using TestNG's
@Test
annotation, and supports all other TestNG annotations. Here's an example:To execute
TestNGSuite
s with ScalaTest'sRunner
, you must include TestNG's jar file on the class path or runpath. This version ofTestNGSuite
was tested with TestNG version 6.3.1.