mbonnin
08/10/2023, 9:50 AMorg.jetbrains.kotlin.multiplatform plugin doesn't support the "test-report-aggregation" plugin ? If I try to aggregate KMP tests, they're no taken into account in the aggregate report.mbonnin
08/10/2023, 9:51 AMAdam S
08/10/2023, 10:24 AMjava Gradle plugin is applied, but I guess it won't apply the required JVM Test Suite Plugin
But you might be able to specify the reports manually?
https://docs.gradle.org/current/userguide/test_report_aggregation_plugin.html#manual_report_creationJavier
08/10/2023, 10:26 AMmbonnin
08/10/2023, 10:43 AM:kmp-lib:testAggregateTestReport NO-SOURCEmbonnin
08/10/2023, 10:44 AMtestAggregateTestReport should be in the root project 🤔mbonnin
08/10/2023, 10:45 AMmbonnin
08/10/2023, 10:46 AMAdam S
08/10/2023, 10:53 AMmbonnin
08/10/2023, 10:55 AMtest-report-aggregationAdam S
08/10/2023, 10:59 AMVampire
08/10/2023, 11:35 AMVampire
08/10/2023, 11:37 AMmbonnin
08/10/2023, 1:28 PM--------------------------------------------------
Variant testResultsElementsForTest (i)
--------------------------------------------------
Directory containing binary results of running tests for the test Test Suite's test target.
Capabilities
- com.apollographql.apollo3:apollo-ast:4.0.0-alpha.4-SNAPSHOT (default capability)
Attributes
- org.gradle.category = verification
- org.gradle.testsuite.name = test
- org.gradle.testsuite.target.name = test
- org.gradle.testsuite.type = unit-test
- org.gradle.verificationtype = test-results
Artifacts
- build/test-results/test/binary (artifactType = directory)
I'll keep digging and update this thread if I find a solution I'm not too ashamed of 🙂Vampire
08/10/2023, 1:58 PMmbonnin
08/10/2023, 2:17 PMantlr , which applies java which applies jvm-test-suitembonnin
08/11/2023, 9:53 AMtest-report-aggregation for multiple reasons used TestResultSerializer directly instead