adamgruber / mochawesome-report-generator

Standalone mochawesome report generator. Just add test data.
MIT License
231 stars 90 forks source link

Test result file types/interfaces #214

Open vparlah opened 1 year ago

vparlah commented 1 year ago

Hello, is there any place I can find the complete description of how the test results file should look in order reporter able process it?

I can see part of it here https://github.com/adamgruber/mochawesome-report-generator/blob/master/src/bin/types.js But for error, it's just an object https://github.com/adamgruber/mochawesome-report-generator/blob/master/src/bin/types.js#L38.

From this file https://github.com/adamgruber/mochawesome-report-generator/blob/master/test/sample-data/test.json#L37, I see that we can pass a lot of details. It would be great to understand how different options affect the error reflection in the generated report.

PS: The reporter is really AWESOME!