pluginLoader: PluginLoader = ...

attempts to load plugins by name and optional path.

// aftconfig.json
{
"plugins": [
"testrail-reporting-plugin",
{"name": "html-reporting-plugin", "searchDir": "../"}
]
}

NOTE:

the above will attempt to load a TestRailReportingPlugin, and HtmlReportingPlugin class. if loading fails then it will search the filesystem, starting at the current NodeJs execution directory and searching all subdirectories for a file named testrail-reporting-plugin.js and starting at the parent of the current NodeJs execution directory for a file named html-reporting-plugin.js which, if either is found, will be imported and a new instance will be created and added to the internal cache and the array to be returned

Generated using TypeDoc