Hi @AndreyBelym,
and thanks for your answer.
I managed to do what I wanted (even without using the reporter generator) - I just copied two of the shipped reporters (spec and json) and modified them to suit my needs.
However, I have another problem now. I have to perform a nasty hack of manually copying my reporters to node_modules
after performing yarn install
(of course, I scripted this, but now everyone on the team has to remember to run that script after fresh install).
One way to solve this problem would be for TC's reporter
function to accept either a string (the reporter name, behavior as before) or a function, which would then be used instead of require
ing a suitable module from node_modules
.
I could make a PR to do exactly this. Would you accept that?