You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to extend the default reporter to include any log messages sent through log4js for failing test cases. Capturing the data was easy enough with the various hooks available on the runner.
However, to get the output I wanted I ended up copying a big chunk of base.js into my file. It would be nice if there was a easy way to extra output for each failure from the reporter, possibly through a hook?
Used that hook already to capture the data I wanted. but the bundled reporters are not doing their output (besides the dot) in that phase. What I wanted is to output the log messages together with the summary of failed test cases.
I wanted to extend the default reporter to include any log messages sent through log4js for failing test cases. Capturing the data was easy enough with the various hooks available on the runner.
However, to get the output I wanted I ended up copying a big chunk of base.js into my file. It would be nice if there was a easy way to extra output for each failure from the reporter, possibly through a hook?
my hack for reference https://gist.github.com/keis/7786301
the bit I wanted to add to the output is pretty much only
I might try to dig in and create a patch but wanted to know if this is a good idea at all before starting.
The text was updated successfully, but these errors were encountered: