I have recently been using junit in eclipse and I am still learning. I know how to pass command line parameters in eclipse, but how do I pass them to a test case in Junit?
Probably you have figured this out, but when compiled and if using ANT or MVN, you can pass arguments to your JUNIT or TestNG from inside the POM.XML file.
org.apache.maven.plugins
maven-surefire-plugin
2.4.3
${test.junit.forkMode}
${test.junit.skip}
${test.junit.argLine}
${jdk.compiler.path}/binjava