THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
import junitparams.JUnitParamsRunner; import junitparams.Parameters; import junitparams.naming.TestCaseName; |
2) Add this to Add @RunWith(JUnitParamsRunner.class)
to your test class:
Code Block |
---|
@Category(DistributedTest.class) @RunWith(JUnitParamsRunner.class) @SuppressWarnings("serial") public class CreateAndLocalDestroyInTXRegressionTest implements Serializable { |
3) Use both @Parameters
and `@TestCaseName` on @TestCaseName
on test method(s) using parameters:
...