New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

io.github.wmaarts:mutation-testing-elements-plugin

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

io.github.wmaarts:mutation-testing-elements-plugin

Write Pitest test results to mutation-testing-elements HTML reporter

  • 0.1.0
  • Source
  • Maven
  • Socket score

Version published
Maintainers
1
Source

Maven Central Build status

pitest-mutation-testing-elements-plugin

A pitest plugin that maps pitest results to stryker's mutation-testing-elements.

How to use 💁

  • Add the dependency to the pitest plugin
  • Configure the outputFormat to be one of
    • HTML2 for Stryker HTML report
    • JSON for a JSON file of stryker mutation-testing-elements format

Maven

Add the dependency and configure the outputFormat to use the plugin:

<plugin>
    <groupId>org.pitest</groupId>
    <artifactId>pitest-maven</artifactId>
    <version>1.4.10</version>
    <dependencies>
        <dependency>
            <groupId>io.github.wmaarts</groupId>
            <artifactId>pitest-mutation-testing-elements-plugin</artifactId>
            <version>${pitest-mutation-testing-elements-plugin.version}</version>
        </dependency>
    </dependencies>
    <configuration>
        <outputFormats>
            <format>HTML2</format>
            <format>JSON</format>
        </outputFormats>
    </configuration>
</plugin>

Run like you would normally run pitest: ▶

mvn org.pitest:pitest-maven:mutationCoverage

Gradle

Follow the setup for the gradle-pitest-plugin, then add the plugin as a pitest dependency in your build.gradle:

buildscript {
   repositories {
       mavenCentral()
   }
   configurations.maybeCreate('pitest')
   dependencies {
       classpath 'info.solidsoft.gradle.pitest:gradle-pitest-plugin:1.4.7'
       pitest 'io.github.wmaarts:pitest-mutation-testing-elements-plugin:${pluginVersion}'
   }
}

And configure the output format:

apply plugin: 'info.solidsoft.pitest'

pitest {
    outputFormats = ['HTML2', 'JSON']
}

Preview 🔮

This is a result of pitest run on this plugin. (More previews here) preview

FAQs

Package last updated on 10 May 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc