Open Veraxus opened 6 years ago
Currently there's not. I can mark this as a feature request and see if anyone else has a need for this :)
Was this ever implemented? We'd also really like to run pa11y-ci in our CI environment and have the normal CLI log file, but also capture the JSON output so we can download that as an artifact for use in other tools. Running it twice just slows down our CI process.
Would propose something like
pa11y-ci --json=pa11y-results.json
where the json
option takes an optional filename rather than just sending it to STDOUT.
Hi @mike-potter,
I agree that this would be a good idea. Unfortunately, this has not been implemented yet.
Is there a way to generate the standard CLI output and save a JSON file without having to run the test twice?
Right now, if I run
pa11y-ci --json > pa11y-results.json
I get a JSON file, but none of the standard CLI output.