QMTEST_DB_PATH suggestion
Gilles Depeyrot
Gilles.Depeyrot at wanadoo.fr
Fri Jun 14 11:24:03 UTC 2002
Hi,
The documentation states that if the QMTEST_DB_PATH variable is set in the
environment, then that database is used, otherwise the current directory is
used. This is fine.
I would like to be able to reference files from the database root directory
in my tests, for instance to use common files in the tests...
I can do this if I set QMTEST_DB_PATH before starting QMTest and use this
variable inside my tests.
However, I have multiple test databases and would like to avoid setting this
variable and instead start QMTest from the database root directory.
So, I suggest that when QMTest uses the current directory as the database,
it automatically set QMTEST_DB_PATH to this directory. In this way, whether
QMTEST_DB_PATH is set in the user environment or by QMTest, it is always set
to the database root directory and available in the tests.
Regards,
Gilles
--
Gilles Depeyrot <mailto:Gilles.Depeyrot at wanadoo.fr>
<http://perso.wanadoo.fr/gilles.depeyrot>
More information about the qmtest
mailing list