Skip to content

Releases: hcoles/pitest

1.11.4

03 Mar 14:30
Compare
Choose a tag to compare

#1161 Prevent duplicate clinit when synthetic clinit present
#1162 Auto add kotlin source dirs to maven when present

1.11.3

27 Feb 16:05
Compare
Choose a tag to compare
  • #1159 Include only mutated classes in line coverage stats

The line coverage data displayed on the console previously included all targetted
code, while the figures shown in the report were implicitly limited to mutated classes.

This caused considerable confusion.

The console stats are now also limited to include only mutated classes.

1.11.2

27 Feb 16:02
Compare
Choose a tag to compare
  • #1157 Report only target code lines

The line coverage stats reported on the console included code lines for the entire project, even when filters were applied. This resulted in dramatically low coverage scores.

1.11.1

23 Feb 09:42
4d593e9
Compare
Choose a tag to compare

#1156 Prevent synthetic lines being counted in coverage

Synthetic methods were being included in the line coverage calculations resulting in an over calculation of coverage. For some kotlin classes this could result in more code lines having coverage than actually existed in a file. #1156 fixes this, but still intstruments the synthetic methods used to implement lambdas in java classes.

1.11.0

01 Feb 12:41
43b16ef
Compare
Choose a tag to compare
  • #1138 Do not mutate redundant fall through to default switch cases
  • #1150 New extension points

Note that #1150 includes breaking interface changes which may require updates to third party plugins.

1.10.4

04 Jan 15:24
Compare
Choose a tag to compare
  • #1134 Add excludedRunners parameter to command line interface and Ant
  • #1131 Support surefire late property evaluation syntax for arglines

1.10.1

02 Dec 15:08
88d52fe
Compare
Choose a tag to compare
  • #1124 Fix for bug introduced in 1.10.0 where bridge methods were treated as valid lines of code for line coverage

1.10.0

29 Nov 10:32
Compare
Choose a tag to compare
  • #1067 Improved Quarkus and Roboelectric support
  • #1116 Option to exclude lines 0 and 1 of all classes
  • #1118 Detect missing plugins

As a result of #1067 it is important that mutations are only created for a single class for each JVM. The MutationGrouper extension point has therefore been removed as this allowed this constraint to be violated. Any third party plugins using this extension are no longer supported.

Releases also includes multiple changes to internal data structures. Any third party plugins relying on these structures may need to be updated.

1116 provides a coarse way to exclude auto-generated code not picked up by pitest's other filters. It is disabled by default as it may exclude code that is valid for mutation in some situations, but can be enabled by adding the feature string +nofirstline.

1.9.11

16 Nov 09:35
Compare
Choose a tag to compare
  • #1105 Aggregator resolves wrong file for out of package kotlin files with same name
  • #1111 Fix log typo (thanks @wangbo15)

1.9.10

11 Nov 13:03
f043493
Compare
Choose a tag to compare
  • #1106 Do not replace Map.of with Collections.emptyMap
  • #1109 Relax source file debug check