I have a class with methods like below...
class one{
@Test
method1{}
@Test
method2{}
@Test
method3{}
}
I m using below class to run above Tests using JUnit.
class runsuites{
@RunWith(Suite.class)
@SuiteClasses({
one.class
}
}
And this runs all the @Test
methods.
But, i want to run only methods method1
and method3
.
How can I achieve this??