This question already has an answer here:
How can I access two classes with the same name in different packages?
foo.bar.myClass.class
and
foo.myClass.class
All of this in the same class
@TestRunner(Suite.class)
@SuiteTest({bar.myClass.class, myClass.class})
Thank you.
You need to use the fully qualified names of the classes.
you will have to import one and other you will be writting fully qualified path
for example in your code:
Without imports: