renderer ¶
Module for converting RobotFramework result XML file (output.xml) to markdown.
Renderer ¶
Renderer(theme: str = 'mkdocs-material')
Renderer class responsible for converting RobotFramework result files to markdown.
Parameters:
-
theme(str, default:'mkdocs-material') –The theme (Jinja templates) to be used
Source code in src/robot_markdown/renderer.py
15 16 17 18 19 20 21 22 23 24 25 26 27 | |
render ¶
Convert a RobotFramework result XML to markdown.
Read and parse the given file and convert it to markdown using Jinja templates.
Parameters:
-
robot_result_file(str) –A RobotFramework test execution result file.
-
env_file(str | None, default:None) –Optional .env file.
Returns:
-
str–A markdown string.
Source code in src/robot_markdown/renderer.py
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | |