- rotest_reportportal
- Plugin to the amazing Report Portal system, that enables viewing test results and investigating them.
You can make your own Output Handler, following the next two steps:
- Inheriting from
rotest.core.result.handlers.abstract_handler.AbstractResultHandler
, and overriding the relevant methods. Register the above inheriting class as an entrypoint in your setup.py file inside
setup()
:entry_points={ "rotest.result_handlers": ["<handler tag, e.g. my_handler> = <import path to the monitor's module>:<monitor class name>"] },
Make sure it's being installed in the environment by calling
python setup.py develop
For an example, you can refer to rotest_reportportal plugin.
The available methods of an output handler:
rotest.core.result.handlers.abstract_handler.AbstractResultHandler