Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.04 KB

custom_output_handlers.rst

File metadata and controls

34 lines (23 loc) · 1.04 KB

Adding Custom Output Handlers

Third Party Output Handlers

How to Make Your Own Output Handler

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 a setup.py file, and make sure it's being install on the environment.

For an example, please refer to rotest_reportportal plugin.

Available Events

The available methods of an output handler:

rotest.core.result.handlers.abstract_handler.AbstractResultHandler