Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 1030 by [email protected]: Resources file changes are not
picked up during multiple executions with jython
http://code.google.com/p/robotframework/issues/detail?id=1030
Due to issue 1029 we use the jython object with the same state as previous
run. Since in the previous state the resources/libraries files were already
parsed so I think we have them available in the resource_cache
def import_resource(self, path):
if path in self._resource_cache:
LOGGER.info("Found resource file '%s' from cache" % path)
else:
resource = ResourceFile(path).populate()
self._resource_cache[path] = resource
return self._resource_cache[path]
Now the easiest way for this to work is to create a new runner with a fresh
state, as mentioned in issue 1029. However, due to issue 919 it is quite
costly. Is there a way we can just reset just the resource/library cache?