Releases: STAMP-project/pitest-descartes
Releases · STAMP-project/pitest-descartes
Descartes 1.3.2
Ensure compatibility with PIT 1.7.0
Descartes 1.3.1
Bumping PIT version to 1.6.4
Descartes 1.3
Compatible with PIT 1.6.1:
- Full refactoring of the internal mutation operators implementation to give them more access to class and method metadata.
- Support for Java 9.
- Improved the documentation with ready to use configuration snippets.
- New mutation operator replacing the code of a method by
return this
where applicable. The idea with this mutation operator is to provide a more meaningful way to mutate fluent APIs. (Thanks to @ipsita0911 and @pkubowicz for their suggestions) - New mutation operator to return the first compatible argument of the method. (Suggested by @pkubowicz)
- New feature to skip short methods. (Proposed by @monperrus)
- New feature to skip methods and classes annotated with
@DoNotMutate
(Suggested by @monperrus)
Descartes 1.2.6
Compatible with PIT 1.4.10
- New version of the
ISSUES
report to avoid long names new
mutation operator. (Thanks to @nrainer )optional
mutation operator (Suggested by @pedrorijo91)kotlin_setter
stop methods, to avoid mutating Kotlin generated setters
Descartes 1.2.5
- Compatible with PITest 1.4.7 and the 1.4.0 version of the Gradle PITest plugin.
j2html
is not included in the compiled package anymore.JSON
report now includes the file name and line of the mutated methodJSON
report is compatible with the test matrix computation from PITest- The following method patterns have been added to the stop methods:
return this
- methods that only return a parameter:
public int m(int x, int y) { return y; }
- simple setters returning
this
:public A setX(int x){ this.x = x; return this; }
- A separated category has been added for stop methods returning
null
(Contributed by @nrainer )
Descartes 1.2.4
Hotfix for a bug preventing valid String mutations that was introduced in the previous version.
Descartes 1.2.3
Descartes 1.2.2
Descartes 1.2.1
This release adds more information to the METHODS
reporter, so a method can be found in the corresponding class.
Descartes 1.2
This version is compatible with PITest 1.4.0
It includes the following features:
- Stop methods can be configured using the
STOP_METHODS
PITest feature. Exceptions can be handled with the parameterexcept
. - New reporting option
ISSUES
to produce a human readable html document containing methods with testing issues. - Default value for mutators include the list of values used in the paper of Niedemayr et. al. plus
empty
andnull
.