GHAReports released

Small listener project that i never managed to publish properly is now available as “robotframework-ghareports”.

If enabled via --listener GHAReports when running robot in github actions, a job summary based on your testsuites/tests pass fail status will be added to the pull request - something like this: Move to pyproject.toml · rasjani/robotframework-ghareports@9f87669 · GitHub

Final output style is not set in stone so if there’s any suggestions, feel free to open an issue at

3 Likes

Version 0.1.0 released yesterday, example output looks something like this now; robotframework-ghareports/example_step_summary.md at main · rasjani/robotframework-ghareports · GitHub

0.2.0 released.

  • New feature allows to create the summary markdown file even if not running on github.
  • If logging for testcase is multiline, previously this broke the markdown table rendering. This is now fixed.
1 Like

0.3.0 released

2 Likes

0.3.1 released

  • Fix for variables not showing correctly in warnings section
1 Like

0.4.0 releasde

  • Switched to robot framework listener version 3 because ver 2 had issues[0][1]

Issues:

  • when using keyword as test template and keyword had [Setup] and [Teardown] (dunno if related but adding those to examples), listener was not able to fetch the value of the variable. Feels like a scoping bug for variables with RF itself.
  • log_message in V2 listener interface never triggered from Log keyword from project’s resource files but it does for V3 and message is fully evaluated already at that point
2 Likes

So far, GHAReports did not work with Pabot but I made a small script today (that i can integrate into package) that uses ResultVisitor instead of runtime Listener and can generate github summary from just output.xml.

Anyone interest ?