Status: Accepted
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 756 by mikko.korpela: use of --xunitfile and --listener together
throws an exception
http://code.google.com/p/robotframework/issues/detail?id=756
In rf 2.5.5 using
pybot --listener mylistener.py --xunitfile myxunitfile.xml .
where mylistener.py is something like:
ROBOT_LISTENER_API_VERSION = 2
def start_test(name, attrs):
print 'Executing test %s' % name
def start_keyword(name, attrs):
print 'Executing keyword %s with arguments %s' % (name, attrs['args'])
def log_file(path):
print 'Test log available at %s' % path
def close():
print 'All tests executed'
<<
throws an exception:
[ ERROR ] Unexpected error: AttributeError: _ListenerProxy instance has no
attribute 'xunit_file'
This doesn't seem to effect the test run.