A similar question has already been asked here.
One (unaccepted) answer states:
the test class will always be started directly and then through the "link" in the suite. This is as expected.
Can someone explain what this actually means and whether or not it is possible to prevent the tests running twice.
When I run the tests from the command line using mvn test
they only run once.
UPDATE
I have a test suite defined as follows:
@RunWith(Suite.class)
@SuiteClasses({ TestCase1.class, TestCase2.class })
public class MyTestSuite
{
}