I was wondering if there was any way for a test case to retrieve a
property containing arbitrary data that could be set by a hook?

 

An example could be a logger that has been opened specially for that
test or conversely, the test could "attach" data which can be processed
by a hook (example: test notes containing measurements, etc.) One could
argue that the logger could be created by a factory but in this case,
the test is correlated to a specific test case ID on our test management
system (testlink) and this information is not available from a factory. 

 

In one of our plugin, I am currently attaching "metadata" to "items" to
convey information between hooks and I wished there was a way for the
test itself to access this. Maybe there is, I just don't know about it. 

 

Thanks in advance

 

/Laurent

_______________________________________________
py-dev mailing list
py-dev@codespeak.net
http://codespeak.net/mailman/listinfo/py-dev

Reply via email to