I'm developing a testing tool that takes in a property file location as a command line argument and runs test suites using the contents of the property file to validate against. I'm having trouble figuring out how to pass the property file from the command line through the main java class to each of the test classes in each of the test suites. Is this even possible? Any and all help is very appreciated. I'm a total noob when it comes to JUnit.
java.util.Properties.load(new java.io.FileInputStream(location))
. But i suggest that you (at least at first) code those arguments in test code and not load from properties file. - Vytenis Bivainis