-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Hello!
Firstly, I would like to thank you for this awesome project and for all the contributions you have made so far.
I have been playing recently with this plugin in a large Android project with Kotlin and I am having many issues to run the mutation tests in classes that uses the @Parcelize annotation or uses the when keyword from Kotlin.
I am using version '0.2.5' and I saw a similar issue in Pitest's repository. Basically the error is:
XXX does not contain source debug information. All classes must have an associated source file
I am pasting the complete stacktrace of the error below:
Exception in thread "main" org.pitest.help.PitHelpError: The class com.model.PaymentStakeholder$Creator does not contain source debug information. All classes must have an associated source file
See http://pitest.org for more details.
at org.pitest.mutationtest.verify.DefaultBuildVerifier.lambda$throwErrorIfHasNoSourceFile$2(DefaultBuildVerifier.java:68)
at java.util.ArrayList.forEach(ArrayList.java:1257)
at org.pitest.functional.FCollection.forEach(FCollection.java:34)
at org.pitest.mutationtest.verify.DefaultBuildVerifier.verify(DefaultBuildVerifier.java:36)
at org.pitest.mutationtest.tooling.MutationCoverage.verifyBuildSuitableForMutationTesting(MutationCoverage.java:223)
at org.pitest.mutationtest.tooling.MutationCoverage.runReport(MutationCoverage.java:111)
at org.pitest.mutationtest.tooling.EntryPoint.execute(EntryPoint.java:121)
at org.pitest.mutationtest.tooling.EntryPoint.execute(EntryPoint.java:51)
at org.pitest.mutationtest.commandline.MutationCoverageReport.runReport(MutationCoverageReport.java:87)
at org.pitest.mutationtest.commandline.MutationCoverageReport.main(MutationCoverageReport.java:45)
I think the main question I would like to ask with this issue is: Does the Pitest Android plugin supports Android projects with Kotlin?
Thanks in advance and have a nice day!