lczub / robotframework-magik

Robot Framework high level keywords for automated testing Smallworld Magik images
12 stars 1 forks source link

keyword *Read Magik Output* should accept method names with substring traceback #6

Closed lczub closed 11 years ago

lczub commented 11 years ago

Loading the _munitbase module inside a Robot Magik Test suite

Execute Magik Command   sw_module_manager.load_module(:munit_base)

let fail the test case (or test suite setup).

Reason is, that the _munitbase module defines some methods with the substring traceback

...
Defining method full_traceback_text() in test_failure
--- line 78
Defining method short_traceback_text() in test_failure
--- line 110
...

and the Robot Magik keyword Read Magik Output raises a failure, if it find this substring.

Requirement is, that the keyword Read Magik Output should accept such output, but still raises a failure, when a real traceback occurs.