Convert your JSON reports generated by MochAwesome to Markdown
Install package
npm install -g mochawesome-json-to-md
run the script
mochawesome-json-to-md -p ./your/file/path.json -o ./generated.md --emoji=true
that's it! You've successfuly converted json report to slick md report.
- -p, --path
- string
- required
- define path to the json report
- example:
mochawesome-json-to-md --path ./reports/file.json
- -o, --output
- string
- default:
./md-reports/output.md
- define path for the output md file
- example:
mochawesome-json-to-md --output="./output/file.md"
- --emoji
- boolean
- default: true
- defines whether there should be emoji in the final markdown file
- example:
mochawesome-json-to-md --emoji=false
MIT
Tymoteusz htd-tstepien
Stępień