Prerequisite Logic

Scott Lowrey slowrey at nextone.com
Mon Jun 28 21:06:39 UTC 2004


When I select a single test to run, and that test depends on a 
prerequisite test and a resource, why does QMTest run the resource but 
not the prerequisite test?  I can understand skipping the prereq  if 
QMTest already has a PASS status for it (web only), but this isn't the 
case.  QMTest effectively ignores the prerequisite dependency when 
"cherry picking" tests to run.

I guess I can understand the logic that says, "You told me to run test X 
and test X only."  But it seems a bit counterintuitive that QMTest can 
treat prerequisites differently depending on how the user specified what 
to run.

If the idea is to avoid running tests that the user didn't specifically 
ask for, then maybe it would be best if QMTest returned an error (or 
warning?) stating that the desired test cannot run until the 
prerequisite does.  This would get pretty hairy with a command-line 
invocation but would probably suffice for the web interface.

Thoughts?
-- 
*Scott Lowrey*
NexTone Communications
Germantown, Maryland

/(240)912-1369/
NexTone.com <http://nextone.com>




More information about the qmtest mailing list