Does nayone know how to test a test suite in cmd line? (in java)


Recommended Answers

All 2 Replies

JUnit 4.X

java -cp /usr/share/java/junit.jar org.junit.runner.JUnitCore [test class name]

JUnit 3.X

java -cp /usr/share/java/junit.jar junit.textui.TestRunner [test class name]

is the above same for every system?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.