felixzapata / gulp-axe-webdriver

Gulp plugin for aXe utilizing WebDriverJS
MIT License
24 stars 7 forks source link

Custom reporters #23

Open dgateles opened 5 years ago

dgateles commented 5 years ago

I would like to know how to create a custom report to show the content of json on html format

felixzapata commented 5 years ago

hi, do you mean to transform the report in json format to HTML?

dgateles commented 5 years ago

Yeah

felixzapata commented 5 years ago

hi, currently the plugin is not prepare to format the output as HTML. I mean, you can modify the saveOutputIn option and set an HTML file instead of a JSON but you will only obtain a file with HTML extension and the report inside it.

Sorry, at the moment I have no plan to add this feature. Maybe if there more requests about that or if I would receive a pull request with the change.

dgateles commented 5 years ago

Maybe a possibility to create a custom reporter would be nice, because we have a possibility to display all report with Allura and others. Some plugins have this option, Axe have this option but not as a gulp task.

felixzapata commented 5 years ago

I was looking for the option on the axe-core repository but I didn't find it. Where is the option?

dgateles commented 5 years ago

Here: https://github.com/dequelabs/axe-core/blob/develop/doc/examples/html-handlebars.md