Skip to content

Enabling and Using The Plugin Manager

mikepoz59 edited this page Jun 5, 2019 · 4 revisions

This functionality was implemented to support test case reporting to a TCM such as Rally or qTest.

To enable support of plugins in the codeless framework, you first need a plugin jar (note if you create the plugin jar with dependencies, you can use that for test execution and plugins instead of having multiple jars) that contains a plugin manager class, such as the sample found here: https://github.com/tmobile/codeless/wiki/CodelessPluginManager-Class-Skeleton

Each plugin handler will need to extend the TestReporter interface class found here: https://github.com/tmobile/codeless/wiki/Plugin-TestReporter-Interface-Class

Example skeleton of the plugin handler class: https://github.com/tmobile/codeless/wiki/Plugin-Handler-Service-Class-Skeleton

With these pieces in place, you have the basics to use the Codeless framework plugin handler.

Finally, you need to tell the codeless framework to use the plugins by adding the following key/pair values to your test suite spreadsheet configuration tab (using the codeless plugin manager class sample as the value):

key value
codeless.plugins com.tmobile.ct.codeless.plugin.reporting.CodelessPluginManager