I want to extend our data collector to merge reports if someone is calling dotnet test --collect:"MyCollector" on solution level. I try to follow the description here 0031-Test-Run-Attachments-Processing but I'm having issues implementing it.
I implemented a specific IDataCollectorAttachmentProcessor and also registered it properly to the collector. I can also see that the method ProcessAttachmentSetsAsync is called every time a testproject finishes and the report is being generated.
But every time the post processor is triggered and I iterate over the ICollection<AttachmentSet> I can only see the report of the current test project. Thus I'm not really able to merge the reports of the whole solution.
I appreciate all the help that I can get on this topic 🙏 .