[TIP] public variables
stopjo at yahoo.com
Fri Sep 18 08:14:27 PDT 2009
I use yaml to do parametrization for python-selenium tests. In my tests.py, I declare the variables which are used more than once, as public. I have around 24 to 25 variables like that and I don't want to type the whole thing each time I use it.
for eg., userid=testdata['login']['userid']
Is there any performance issue or any issue in declaring too many public variables? If so, how can this be handled?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the testing-in-python