Does anyone know how should I pass command line arguments to a testClass in JUnit
?
Currently, I hard coded the path file in the test class but I want to pass the path file through the command line to the test class and read the file.
Path file is shared between all of testCases. Also, I build the testCases with ANT
. I need to pass the args to ant target as well.
Thanks in advance,