pitest-mutation-testing-elements-plugin

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

Лицензия

Лицензия

Группа

Группа

io.github.wmaarts
Идентификатор

Идентификатор

mutation-testing-elements-plugin
Последняя версия

Последняя версия

0.1.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

pitest-mutation-testing-elements-plugin
Write Pitest test results to mutation-testing-elements HTML reporter
Ссылка на сайт

Ссылка на сайт

https://github.com/Wmaarts
Система контроля версий

Система контроля версий

https://github.com/Wmaarts/pitest-mutation-testing-elements-plugin

Скачать mutation-testing-elements-plugin

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/io.github.wmaarts/mutation-testing-elements-plugin/ -->
<dependency>
    <groupId>io.github.wmaarts</groupId>
    <artifactId>mutation-testing-elements-plugin</artifactId>
    <version>0.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/io.github.wmaarts/mutation-testing-elements-plugin/
implementation 'io.github.wmaarts:mutation-testing-elements-plugin:0.1.0'
// https://jarcasting.com/artifacts/io.github.wmaarts/mutation-testing-elements-plugin/
implementation ("io.github.wmaarts:mutation-testing-elements-plugin:0.1.0")
'io.github.wmaarts:mutation-testing-elements-plugin:jar:0.1.0'
<dependency org="io.github.wmaarts" name="mutation-testing-elements-plugin" rev="0.1.0">
  <artifact name="mutation-testing-elements-plugin" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.github.wmaarts', module='mutation-testing-elements-plugin', version='0.1.0')
)
libraryDependencies += "io.github.wmaarts" % "mutation-testing-elements-plugin" % "0.1.0"
[io.github.wmaarts/mutation-testing-elements-plugin "0.1.0"]

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
org.pitest : pitest-entry jar 1.4.7
com.google.code.gson : gson jar 2.6.2
io.stryker-mutator : mutation-testing-elements jar 1.0.6

test (3)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.12
org.assertj : assertj-core jar 3.12.2
org.mockito : mockito-all jar 1.10.19

Модули Проекта

Данный проект не имеет модулей.

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 HTML2

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>
        </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']
}

Preview 🔮

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

Версии библиотеки

Версия
0.1.0