[qmtest] Accessing "global" context
Scott Lowrey
slowrey at nextone.com
Fri Jan 16 14:12:46 UTC 2004
Mark Mitchell wrote:
>On Thu, 2004-01-15 at 12:57, Scott Lowrey wrote:
>
>
>>After digging thru the archive and poring over the manual, I can't
>>figure out how to get a test class to recognize context variables that
>>are created in the "Edit Context" screen (or specified on the command
>>line by the -C and -c run options).
>>
>>
>
>They will be available in the "context" parameter to a test's "Run"
>method.
>
>
>
I fooled myself (easily done) by doing a "print context" in my test
class to examine context, which only shows "qmtest.xx" keys. I see now
that the Context class is more than a simple dictionary.
Out of curiosity, why do I only see the qmtest keys when passing the
context to "print"?
More information about the qmtest
mailing list