You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using junit 4.9 along with maven surefire plugin for running test cases belonging to a particular group.
Similar to testng, can we have junit category accept string values in addition to/instead of just classes ?
This is creating problem when we have a multi module maven based project and we define plugin config in the parent pom, the category class mentioned in the parent pom wouldnt have loaded yet and throws ClassNotFoundException.
Else, we will have to repeat the plugin config in all the sub-modules which is redundant.
Are there any advantages of accepting a class instead of String in org.junit.experimental.categories.Category ?