Bazel integration with PIT

24 views
Skip to first unread message

Deepthi C

unread,
Sep 15, 2023, 5:27:06 AM9/15/23
to PIT Users
Has anyone integrated bazel and PIT? Any pointers will help on this integration. How do we run PIT as part of bazel build to generate mutation report?

Marcin Zajączkowski

unread,
Sep 15, 2023, 11:06:43 AM9/15/23
to 'Deepthi C' via PIT Users
Hi. I haven't heard about the integration, but you can take a look how
the Gradle plugin calls PIT binary directly (via CLI), so that something
similar could be replicated in the Bazel project.


https://github.com/szpak/gradle-pitest-plugin/blob/c97fe8a7575674681badf5489712973effecd6a0/src/main/groovy/info/solidsoft/gradle/pitest/PitestTask.groovy#L330


Marcin

--
https://blog.solidsoft.pl/ - Solid Soft - Working code is not enough

Reply all
Reply to author
Forward
0 new messages