Skip to content

Releases: se2p/pynguin

Pynguin 0.30.0

13 Jan 20:52
0.30.0
Compare
Choose a tag to compare
  • Re-license Pynguin to MIT License

Pynguin 0.29.0

11 Jan 09:59
0.29.0
Compare
Choose a tag to compare
  • Move code to src-based layout
  • Make configuration of mypy more strict
  • Remove an accidentally committed file

Pynguin 0.28.0

11 Jan 07:15
0.28.0
Compare
Choose a tag to compare
  • Fix distance computations for <= and always convert values to float.
  • Improve method blacklist for module analysis.
  • Improve type handling.
  • Allow Pynguin to run on itself. This can be achieved by the pynguin_self.py script
    from the utils package.
  • Improve warning in documentation that Pynguin actually executes the code under test.
  • Various refactorings and improvements.
  • Update copyright notices in all files.

Pynguin 0.27.0

23 Sep 07:14
0.27.0
Compare
Choose a tag to compare
  • Write Pynguin version number to Cobertura XML report

  • Fix the computation of coverage values

    Pynguin 0.26.0 added the possibility to optimise for, e.g., branch coverage while yielding the line coverage of the resulting test suite in the end. This had some unintentional implications, such as the value of the Coverage output variable having weird values. We fix this by providing additional output variables FinalBranchCoverage and FinalLineCoverage that contain the final coverage values after all generation and postprocessing. See the runtimevariable.py module for details.

  • Rewrite the internal type handling in Pynguin

    This is a huge internal change that improves the internal type system and adds the possibility to trace types during test execution. Some highlights:

    • we got rid of our internal abstraction of type | None to mark whether type
      information exists
    • we allow to retrieve additional or new type information from the test execution
    • enhance our internal type representation to make it more flexible
    • add the missing primitive type complex
    • a more suitable subtyping check for Unions

Pynguin 0.26.0

19 Sep 13:20
0.26.0
Compare
Choose a tag to compare
  • Allow the calculation of coverage values regardless of optimisation.

    Allows to yield, for example, the resulting line coverage of the test suite, while the optimisation during test generation was done for branch coverage. Add the required coverage values to your --output-variables list to activate this feature.

    Note: when doing this, the Coverage output variable will contain the average value of the incorporated coverage values!

  • Provide a Cobertura-like coverage report

    Pynguin already provides an HTML report that can be activated by setting --create-coverage-report True. This report is nice for human users but not very usable if one wants to automatically reason about the achieved coverage using tools. We thus also emit an XML report in the style of the Cobertura tool that can be used for further automated tools.

  • Fix typo on test_parameterizedstatements.py (see #27, thanks to @stavares843)

  • Fix typo on testcase.py (see #26, thanks to @stavares843)

  • Improve mutation-based assertion generation

    The assertion generation now does not more compare the recorded assertion traces but actually executes the assertions to make the whole process more reliable. Besides, we do not check for is not None as a fallback for object checks any more, but use an isinstance check on the object's type to have a more precise assertion.

  • Make statistics tests debuggable

    Some accidental circular import made it impossible to run a debugger on tests in pynguin.utils. We resolved this by moving tests to another package.

  • Partial rework of internal type system

    We added an abstraction layer over the existing type hints from a module to make handling and reasoning with types easier. This abstraction is based on the one used by mypy, however, we only cover a small part of what PEP-484 actually defines.

  • Make assertion generation more strict

Pynguin 0.25.2

14 Jul 22:57
0.25.2
Compare
Choose a tag to compare
  • Fix bugs in mutation analysis and assertion generation

Pynguin 0.25.1

06 Jul 08:48
0.25.1
Compare
Choose a tag to compare
  • Fix documentation build on read the docs.

Pynguin 0.25.0

05 Jul 04:51
0.25.0
Compare
Choose a tag to compare
  • Fix further issues with test-case isolation during execution.
  • Fix some bugs reegarding type information.
  • Use astroid instead of Python's ast module efor our module analysis due to its enhanced features.

Pynguin 0.24.1

29 Jun 11:12
0.24.1
Compare
Choose a tag to compare
  • Update Pynguin's documentation to match fixes from Pynguin 0.24.0

Pynguin 0.24.0

29 Jun 10:44
0.24.0
Compare
Choose a tag to compare
  • Fix killing mutant reporting
  • Use black to format the generated test cases.
    Pynguin now requires black as a run-time dependency to use its code formatting.