Hey Ronny, On Mon 06 Apr 2020 at 09:24 +0200, Ronny Pfannschmidt wrote: > an incremental writer has to continuously update either the > pre-overstretched xml header of the report or continuously rewrite the > file at once.
Cool. Thanks for putting this so succinctly! > Another approach could be to just write the xml report parts of each > item into a junitxml.parts file and > at the end of the test to just recombine the file with the enclosing xml > element. This is possibly an interesting approach. I think CI can usually already combine many reports into one so the simplest implementation could be to write one report per test and not even bother with recombining. > I think people that care about it should come up with it. Here I agree entirely. I'm only curious to explore the general ideas a bit so I know what to tell people to work on when they ask about this. No one feel like critiquing the idea of providing an API to plugins that can be used to trigger reports to be (re)written right now? Cheers, Floris _______________________________________________ pytest-dev mailing list pytest-dev@python.org https://mail.python.org/mailman/listinfo/pytest-dev