Robert
Robert

Reputation: 3

Parameter passed to java command while running JUnit test case

I would like to understand the meaning of the following command,with regards to JUnit:

java junit.swingui.TestRunner MoneyTest

The above command opens up the result of the testcase in JUnit Swing GUI. Whats the meaning of passing junit.swingui.TestRunner to the java command as a parameter ?

Thank You

Upvotes: 0

Views: 422

Answers (1)

Kevin
Kevin

Reputation: 30419

You're instructing the JRE to run the junit.swingui.TestRunner class and pass it the argument MoneyTest

Upvotes: 2

Related Questions