Suresh Kodoor
March 5th, 1999, 04:33 PM
Q :How to Pass the properties file to javaspec test package while running the
test from the command line
I want to read arguments from an input file (properties file) when i run the
javaspec test from command line.
(From the editor i am able to pass argumen
using -D option and also from command line i can pass the variable
using -D option. But i have so many variables to pass, so i want
the test to read from an input file).
The User's guide says i can pass the file using -P option.
like ''java -Pfilename SP_Account''. But i am not able to get
this work. It comes out with the error that java does not
recognise the -P option. How exactly we could pass the properties
file to the test ?
Please help !
Thanks
Suresh Kodoor
test from the command line
I want to read arguments from an input file (properties file) when i run the
javaspec test from command line.
(From the editor i am able to pass argumen
using -D option and also from command line i can pass the variable
using -D option. But i have so many variables to pass, so i want
the test to read from an input file).
The User's guide says i can pass the file using -P option.
like ''java -Pfilename SP_Account''. But i am not able to get
this work. It comes out with the error that java does not
recognise the -P option. How exactly we could pass the properties
file to the test ?
Please help !
Thanks
Suresh Kodoor