Hi,
Looking at how I could make xunit plugin allow claiming on a per test basis, I discovered that junit supported that through TestDataPublisher's.
I found how to add this feature by reusing these behaviors into xunit plugin, but I had to access testData to run the TestDataPublishers, replicating what is done on the junit plugin.
However, this testData getter is not public, contrary to the setter. This seems strange, so I'm wondering if there are any reason why ?
I validated that my xunit-plugin change was ok using reflection, but I really believe this is not the way to go...
If no particular reason, I'd like to propose this pull request:
https://github.com/jenkinsci/junit-plugin/pull/71/ to make the testData available for dependent plugins.
Feel free to tell me if this should be linked to a JIRA, or if I should go though other ways for this proposal to be discussed, and hopefully accepted.
Thanks,
Arnaud