Skip to content

Commit 1200c76

Browse files
dfa1claude
andcommitted
build(writer): add pitest profile targeting ChunkImpl
Stand up the mutation-testing profile for the writer module, scoped to ChunkImpl — the schema-validation / boxed-nullable adapt path every write chunk flows through. ChunkImpl scores 53/53 mutations killed, test strength 100%: the existing ChunkImplTest already pins the adaptPrimitive PType switch, the boxedToNullable conversions, and the adaptBool/adaptUtf8 nullability guards. Profile only; no test changes needed. Run: ./mvnw -pl writer -am -P pitest verify Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 43f6f84 commit 1200c76

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

writer/pom.xml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,26 @@
6464
<scope>test</scope>
6565
</dependency>
6666
</dependencies>
67+
68+
<profiles>
69+
<!-- Mutation testing (opt-in: -P pitest). Common PIT setup is inherited from the parent
70+
`pitest` profile; only the scope differs. Run: ./mvnw -pl writer -am -P pitest verify
71+
Report: writer/target/pit-reports/. -->
72+
<profile>
73+
<id>pitest</id>
74+
<build>
75+
<plugins>
76+
<plugin>
77+
<groupId>org.pitest</groupId>
78+
<artifactId>pitest-maven</artifactId>
79+
<configuration>
80+
<targetClasses>
81+
<param>io.github.dfa1.vortex.writer.ChunkImpl</param>
82+
</targetClasses>
83+
</configuration>
84+
</plugin>
85+
</plugins>
86+
</build>
87+
</profile>
88+
</profiles>
6789
</project>

0 commit comments

Comments
 (0)