robotframework / statuschecker

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

Wildcard support for the log verification #32

Closed yahman72 closed 2 years ago

yahman72 commented 2 years ago

Any thoughts about supporting wildcards in the log verification? i.e. in LOG x.y:z LEVEL Actual message

My use cases for this would be:

IMHO the above should not cause too much hassle as it would be backwards compatible

pekkaklarck commented 2 years ago

Sounds ok to me. Supporting wild cards with the actual message would sounds useful as well. Not sure is it already supported.

yahman72 commented 2 years ago

Supporting wild cards with the actual message would sounds useful as well. Not sure is it already supported.

yeah, that one is already there i.e. that REGEXP: stuff

pekkaklarck commented 2 years ago

Yeah, that's what I remembered. As i wrote earlier, adding more wildcard support is fine. Will need someone to provide a PR with tests and docs, though. Are you @yahman72 interested? Anything in the design we should discuss?

yahman72 commented 2 years ago

I can have a look, would need this for my project anyway ...

wrt. design: IMHO not, at least not yet (didn't look at the code), as long as the above proposal is okay i.e.

aaltat commented 2 years ago

Done #33