Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge Report Aggregator Plugin #79

Closed
Pfoerd opened this issue Sep 23, 2021 · 10 comments · Fixed by #81
Closed

Merge Report Aggregator Plugin #79

Pfoerd opened this issue Sep 23, 2021 · 10 comments · Fixed by #81

Comments

@Pfoerd
Copy link

Pfoerd commented Sep 23, 2021

First of all: i really appreciate your work on the android fork of gradle-pitest-plugin, it enables us to use mutation testing in our large-scale android setups 😄 .

Could you please merge the "new" PitestAggregatorPlugin to improve support of Multi-module project setups?
It can't be used without modifications because it forces subprojects to have a plugin with id "info.solidsoft.pitest" applied and uses it's extension type.

@koral--
Copy link
Owner

koral-- commented Sep 27, 2021

Sure, I'll try to integrate changes from the parent repo ASAP.

@Pfoerd
Copy link
Author

Pfoerd commented Jul 14, 2022

Thanks a lot! :)

@Pfoerd
Copy link
Author

Pfoerd commented Jul 14, 2022

@koral-- did you test the Aggregator Plugin? I get a NPE for the charset as it is not set. After exploring the code I think you have to set a charset here to get it work?

It seems that the DirectorySourceLocator mandatory needs it here to read the xml files?

@koral-- koral-- reopened this Jul 14, 2022
@koral--
Copy link
Owner

koral-- commented Jul 14, 2022

Will check that.

@Pfoerd
Copy link
Author

Pfoerd commented Jul 14, 2022

I'm using latest pitest Release 1.9.2, maybe its an incompatibility?

@Pfoerd
Copy link
Author

Pfoerd commented Jul 15, 2022

@koral-- After looking a bit deeper into this I think this incompatibility was introduces with 1.8.1 of pitest release about one month ago (see this change)

EDIT: this should be the corresponding open issue in gradle-pitest-plugin: Link

@szpak
Copy link

szpak commented Jul 17, 2022

@koral-- After looking a bit deeper into this I think this incompatibility was introduces with 1.8.1 of pitest release about one month ago (see this change)

Good catch @Pfoerd.

Passing the charset will be added in the next version of the plugin, but I wonder @hcoles, if ReportAggregator (being somehow a public API), for backward compatibility, couldn't set a default value "by default", as it is already done in ConfigOption?

@hcoles
Copy link

hcoles commented Jul 18, 2022

@szpak I'll add some defaults in for the next release.

@Pfoerd
Copy link
Author

Pfoerd commented Jul 25, 2022

This is fixed in Pitest 1.9.3, thanks @hcoles

@koral--
Copy link
Owner

koral-- commented Jul 25, 2022

Thanks for the updates.
I assume that I can close this issue then.

@koral-- koral-- closed this as completed Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants