robotframework / statuschecker

Tool for validating that executed Robot Framework test cases have expected statuses and log messages.
26 stars 9 forks source link

Use of robotstatuschecker with --prerebotmodifier option #9

Open HaaiHenkie opened 4 years ago

HaaiHenkie commented 4 years ago

Hello,

I discovered a nice hidden feature in statuschecker. Since the class StatusChecker is implemented as a ResultVisitor, you can use it as follows:

robot --prerebotmodifier robotstatuschecker.StatusChecker

or:

rebot --prerebotmodifier robotstatuschecker.StatusChecker

` This will not alter output.xml, but it modifies test results before generating log.html and report.html.

This is now my preferred way of using robotstatuschecker.

Could you add this to the documentation?

Best regards,

Henk van den Akker