Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 589 by c.martin.taylor: ROBOT_LIBRARY_SCOPE = "GLOBAL" is ignored in RF 2.5
http://code.google.com/p/robotframework/issues/detail?id=589

I have a proprietary Robot Framework extension library that sets the property
   ROBOT_LIBRARY_SCOPE = "GLOBAL"
In Robot Framework 2.1.3 this worked fine. The library was initialized once and then reused by each successive suite folder, suite and test.

In Robot Framework 2.5 the scope property seems to be ignored and the library is completely re-initialized for each suite folder and suite file. It calls the library's __init__ method and, as it uses the dynamic interface, RF calls its get_keyword_names, get_keyword_arguments, etc. as it traverses each suite folder and file.

Reply via email to