Skip to main content
Version: 8.0.2

Plugins

This options allows the use of plugins to complement Test Maker.

Plugins typing

plugins?: DeepPartial<string | TestMakerPlugin | {
name: string;
options?: TestMakerPluginOptions | undefined;
} | {
plugin: TestMakerPlugin;
options: TestMakerPluginOptions;
}>[] | undefined

Basic usage :



import { Configuration, plugins } from "test-maker";
import { common } from "./test-maker.common";


const testMakerLocalConfig: Configuration = {
plugins:[
plugins.api.newman,
{
...plugins.integration.xray,
...{
options: {
clientId: `1234567890`,
clientSecret: `1234567890`,
apiUrl: `https://xray.cloud.getxray.app/api`,
apiVersion: `v2`,
featuresFolder: `./features`,
keys: [
`KEY-1`,
],
autoDownload: true,
autoUpload: true
}
}
},
]


};