Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

pitest/sbt-pit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sbt-pit

sbt plugin for pitest mutation testing system

Please note that pit cannot currently (meaningfully) mutate scala

This plugin can however be used for java projects built using sbt.

sbt-pit is currently unmaintained and tied to an old version of pitest. If you would like to improve it please get in touch.

Setup

pit-sbt is available from the typesafe community ivy repo.

Add plugin to project/plugins.sbt

addSbtPlugin("org.pitest.sbt" %  "sbt-pit" % "0.32")

Setup properties in build.sbt

import org.pitest.sbt._

PitKeys.threads := 2

PitKeys.targetClasses := Seq("com.example.*")

PitKeys.excludedMethods := Seq("hashCode", "equals")

PitKeys.mutators := Seq("DEFAULTS", "REMOVE_CONDITIONALS")

PitKeys.verbose := true

See source for details of available settings.

Version history

0.32

Updated to use pitest 0.32

See http://pitest.org/downloads/ for details of changes in pitest-0.32

0.3

First release based on pit 0.31

Releases

No releases published

Packages

No packages published

Languages