MetaCI icon indicating copy to clipboard operation
MetaCI copied to clipboard

Robot import errors aren't being reported

Open boakley opened this issue 6 years ago • 1 comments

If a robot test imports a library, and that library can't be imported for some reason (not installed, or has a syntax error), robot displays an error on stdout. In addition, the error is mentioned in the robot log before any of the test results, in a section titled "Test Execution Errors". This section appears in the log before the section titled "Test Execution Log".

This sort of error is not available in MetaCI, and it's critical for being able to debug failures that happen in MetaCI due to import errors rather than test failures inside a specific test.

We need to modify MetaCi to detect any of these "pre-test" errors and display them.

boakley avatar Aug 02 '19 19:08 boakley

I've attached an output.xml file which shows one of these types of errors. It was generated by this simple test case:

*** Settings ***
Library  bogus

*** Test Cases ***
Whatever
    log  whatever!

(I had to give the file a .txt suffix; github wouldn't let me attach .xml oddly enough)

output.xml.txt

boakley avatar Sep 11 '19 21:09 boakley