dareid / chakram

REST API test framework. BDD and exploits promises
http://dareid.github.io/chakram/
MIT License
908 stars 99 forks source link

Is there a way to write 'assertions errors' to a file #114

Closed larryg01 closed 6 years ago

larryg01 commented 6 years ago

When and assertion fails it writes its output to the console, is there a way to write that said output to a file

arcmorales commented 6 years ago

you could use a reporter such as mochawesome. It will generate an html and json logs for you, including the assertion errors.

zephrose commented 6 years ago

Base mocha library allows for this out of the box with -R option. https://mochajs.org/#reporters