A WebdriverIO plugin to report in Markdown style.
You can simple do it by:
npm install wdio-markdown-reporter --save-dev
Instructions on how to install WebdriverIO
can be found here.
At the top of the wdio.conf.js-file, add:
// wdio.conf.js
var markdownReporter = require("wdio-markdown-reporter");
In order to use the service you need to add reporter to your services array in wdio.conf.js
// wdio.conf.js
export.config = {
reporter: : [
[markdownReporter, {
outputDir: ' ',
}],
],
};
The following configuration options are supported and are all optional. By default none of the config options are set.
Define a directory where your markdown file should get stored.
Type: String
Required
To generate only one markdown file use the concat-cli CLI to concat the files
concat-cli -f ./markdown-reporter/*.md -o mergeResult.md