test names and suite files
    Herb Schilling 
    hschilling at nasa.gov
       
    Tue Nov 25 17:15:29 UTC 2003
    
    
  
Hi,
  Thanks to help from Steve Byan, I am off and running with suite 
files.  I still have one problem.
  Let's say I have the following suite files:
=============
~/test_suite.qms ( I know it's dumb to have a single suite in a suite 
but for the purposes of this e-mail.... )
=============
<?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>
<suite_id>tests.test_suite</suite_id>
</suite>
=====================
~/tests.qms/test_suite.qms
=====================
<?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>tests.test_memory</test_id>
<test_id>tests.test_objects</test_id>
</suite>
I can successfully run  tests from ~ using
	cd ~
	qmtest run test_suite
or
	cd ~
	qmtest run tests/test_suite
but when I go into the tests directory, I can't run the test suite 
because the suite file contains test id paths relative to ~. So this:
	cd ~/tests
	qmtest run test_suite
doesn't work.
I could remove the "tests." from  ~/tests/test_suite.qms so that I 
could run the suite from the ~/tests directory but then running the 
suites from ~ would be broken! Is there any hidden feature of QMtest 
around this?
Thanks!
-- 
Herb Schilling
NASA Glenn Research Center
Brook Park, OH 44135
hschilling at nasa.gov
  "Dark is faster than light, otherwise you would see it."
    
    
More information about the qmtest
mailing list