I have a .jar file, where I have packaged my maven managed java project which has few Junit test cases as well. Now I want to run test cases from my .jar file. For example, from the source code mvn test
will run the test cases, but it is not working for .jar file.
How do I run Junit test cases from my .jar file?