Open lhtrang opened 3 years ago
Using GitBash
git clone https://github.com/adamgruber/mochawesome-report-generator.git
npm install -g mochawesome-report-generator
cd mochawesome-report-generator
marge test/sample-data/test.json -o test/report
✓ Reports saved: ...\mochawesome-report-generator\test\report\test.html
✓ Reports saved: ...\mochawesome-report-generator\test\report\test\sample-data\test.html
On Linux it works well. On Windows I need to specify report file name: marge test/sample-data/test.json -o test/report -f test.html
marge test/sample-data/test.json -o test/report -f test.html
Thanks, works like a charm!
Steps
Using GitBash
git clone https://github.com/adamgruber/mochawesome-report-generator.git
npm install -g mochawesome-report-generator
(ver 5.2.0)cd mochawesome-report-generator
marge test/sample-data/test.json -o test/report
Expected
✓ Reports saved: ...\mochawesome-report-generator\test\report\test.html
Actual
✓ Reports saved: ...\mochawesome-report-generator\test\report\test\sample-data\test.html
Note
On Linux it works well. On Windows I need to specify report file name:
marge test/sample-data/test.json -o test/report -f test.html