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.
Implementation trait for class
TestNGSuite, which represents a suite of tests that can be run with either TestNG or ScalaTest.TestNGSuiteis a class, not a trait, to minimize compile time given there is a slight compiler overhead to mixing in traits compared to extending classes. If you need to mix the behavior ofTestNGSuiteinto some other class, you can use this trait instead, because classTestNGSuitedoes nothing more than extend this trait.See the documentation of the class for a detailed overview of
TestNGSuite.