R
Roy Smith
I'm using Junit under ant. Some of my test cases need to read files
which contain test data. I don't mind imbedding the file names in the
test cases, but I'd like to have the name of the directory where the
data files are stored parameterized in the build.xml file.
What's the best was to pass information like that from build.xml down
into the test cases? I was sort of under the impression that ant
properties showed up as Java properties accessable via
System.getProperty(), but they don't seem to.
which contain test data. I don't mind imbedding the file names in the
test cases, but I'd like to have the name of the directory where the
data files are stored parameterized in the build.xml file.
What's the best was to pass information like that from build.xml down
into the test cases? I was sort of under the impression that ant
properties showed up as Java properties accessable via
System.getProperty(), but they don't seem to.