mochawesome-report-generator icon indicating copy to clipboard operation
mochawesome-report-generator copied to clipboard

Context on Suite

Open tomardern opened this issue 6 years ago • 4 comments
trafficstars

Hi,

Is there the ability to add "context" (or even just HTML) at the suite level, not the individual test level?

Thanks! :)

tomardern avatar Feb 20 '19 14:02 tomardern

Not currently. What’s the use case?

adamgruber avatar Feb 20 '19 23:02 adamgruber

@adamgruber

The use case for us would be to:

  • Links to the server logs for the tests
  • Links to the build which the tests are for.

I don't know react (I'm an angular dev - but could attempt a PR)

tomardern avatar Feb 26 '19 14:02 tomardern

Started to look into this a bit. I can see this being useful at the top level (file) but I'm not sure yet how to implement that. At the Suite level is possible but could make the report noisy. Mocha treats each describe as a Suite so it would be on the user to add this context appropriately

adamgruber avatar Apr 01 '19 13:04 adamgruber

Hi, It's a good idea, I need this functionality to add precise time of run to each suite.

Stephane99 avatar May 27 '19 15:05 Stephane99