tests in subdirectories in suite files
Herb Schilling
hschilling at nasa.gov
Fri Nov 21 17:28:48 UTC 2003
Hi,
With Steve Byan's help, I am using suite files now. Unfortunately,
I can't get them to work with tests in a subdirectory.
Here's my situation:
I am in a directory with ( among other things, including the QMTest
directories):
testSuite.qms
testjunk.qmt
testrubbish.qmt
subdirectory/testjunk.qmt
The file testSuite.qms contains:
<?xml version='1.0' encoding='ISO-8859-1'?>
<!DOCTYPE test PUBLIC "-//Software Carpentry//QMTest Test
V0.1//EN" "http://www.software-carpentry.com/qm/xml/test.dtd">
<suite>
<test_id>subdirectory.testjunk</test_id>
<test_id>testjunk</test_id>
<test_id>testrubbish</test_id>
</suite>
When I run :
qmtest run testSuite
I get
subdirectory.testjunk : UNTESTED
Could not load test.
qmtest.exception:
qm.test.database.NoSuchTestError: There is no test with the test ID
"subdirectory.testjunk".
The following commands work just fine.
qmtest run subdirectory/testjunk
cd subdirectory
qmtest run
What am I doing wrong? ( PS. I am using the release version of
QMTest. I wish I could try the CVS version but I still can't login to
the CVS server at codesourcery. )
Thanks in advance!
--
Herb Schilling
NASA Glenn Research Center
Brook Park, OH 44135
hschilling at nasa.gov
There are two ways to slide easily through life: to believe
everything or todoubt everything; both ways save us from thinking.
-Theodore Rubin
More information about the qmtest
mailing list