lczub / robotframework-magik

Robot Framework high level keywords for automated testing Smallworld Magik images
13 stars 2 forks source link

keyword 'Read Magik Output' should get an optinal regular expression argument error_regexp #8

Closed lczub closed 11 years ago

lczub commented 11 years ago

The keyword Read Magik Output parse the output from Magik command for errors. Default behaviour is, that it raise an error if the string traceback: or (parser_error) occurs.

Sometimes, the commands write own error messages like FAILURES. It would be useful, if the users could extend the search behaviour with an optional regular expression argument _errorreg, so that also this special markers let fail a test step.