Skip to content

Releases: STAMP-project/pitest-descartes

Descartes 1.3.2

17 Sep 09:12
Compare
Choose a tag to compare

Ensure compatibility with PIT 1.7.0

Descartes 1.3.1

15 Mar 10:51
Compare
Choose a tag to compare

Bumping PIT version to 1.6.4

Descartes 1.3

23 Dec 11:45
Compare
Choose a tag to compare

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

15 Oct 13:40
Compare
Choose a tag to compare

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

30 Apr 12:56
Compare
Choose a tag to compare
  • 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 method
  • JSON 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

24 Jul 22:42
Compare
Choose a tag to compare

Hotfix for a bug preventing valid String mutations that was introduced in the previous version.

Descartes 1.2.3

18 Jul 15:24
Compare
Choose a tag to compare

This release fixes two main issues:

  • A bug in the ISSUES reporter when the analysis time was below one second (Issue #69). Thanks to @vmassol for reporting!
  • Wrong code generation for methods whose return type is a wrapper for primitive types/

Descartes 1.2.2

28 Jun 14:07
Compare
Choose a tag to compare
  • Methods returning empty arrays are now recognized as stop methods.
  • Correctly handling native methods (Issue #63). Thanks to @arnobl!

Descartes 1.2.1

19 Jun 23:41
Compare
Choose a tag to compare

This release adds more information to the METHODS reporter, so a method can be found in the corresponding class.

Descartes 1.2

15 May 11:19
Compare
Choose a tag to compare

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 parameter except.
  • 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 and null.