Re: [pytest-dev] junitxml incremental output writing

2020-04-06 Thread Ronny Pfannschmidt
**re-sent with correct sender mail** Hi Floris, an incremental writer has to continuously update either the pre-overstretched xml header of the report or continuously rewrite the file at once. An implementation would be tricky and need someone to dedicate to it to weed out the detail ussues

Re: [pytest-dev] junitxml incremental output writing

2020-04-06 Thread Floris Bruynooghe
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 b

Re: [pytest-dev] junitxml incremental output writing

2020-04-06 Thread Ronny Pfannschmidt
Hi Floris, this morning i remebered another idea. instead of creating the junitxml report direcly, one could use the new reportlog plugin, and add report replay to it, thus collecting the report logs on the first run, then combiningthe pytest reports to junitxml on the second run. -- Ronny