Skip to content

Commit

Permalink
Release Pynguin 0.12.0
Browse files Browse the repository at this point in the history
- Generate more reasonable variable names in tests.
  Before this release, Pynguin only generated variables named `var0`,
  `var1`, etc.  A simple heuristics now attempts to generate more
  reasonable names depending on the type of the variable, such as
  `int_0`, `bool_1`, or `str_2`.
  We also adjusted the documentation to match this change.
- We updated all provided PyCharm run configurations the use the more
  sophisticated queue example instead of the simple example module to
  see an improved output.
- Prevent a potential regression when updating the dependencies to
  version 0.0.17 of the
  [simple-parsing](https://pypi.org/project/simple-parsing) library for
  CLI argument parsing, which changed its API.
  • Loading branch information
stephanlukasczyk committed Nov 5, 2021
1 parent 642c6a3 commit 3f13606
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,17 @@ for the source-code artifacts of each version.

## Pynguin 0.12.0

- Generate more reasonable variable names in tests.
Before this release, Pynguin only generated variables named `var0`, `var1`, etc.
A simple heuristics now attempts to generate more reasonable names depending on the
type of the variable, such as `int_0`, `bool_1`, or `str_2`.
We also adjusted the documentation to match this change.
- We updated all provided PyCharm run configurations the use the more sophisticated
queue example instead of the simple example module to see an improved output.
- Prevent a potential regression when updating the dependencies to version 0.0.17 of the
[simple-parsing](https://pypi.org/project/simple-parsing) library for CLI argument
parsing, which changed its API.

## Pynguin 0.11.0

- Fix a control-dependency bug in DynaMOSA. Loops in the control-dependence graph
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ FROM python:3.9.7-slim-bullseye AS execute

# Set environment variables
# Set the Pynguin version
ENV PYNGUIN_VERSION "0.12.0.dev0"
ENV PYNGUIN_VERSION "0.12.0"
# Pynguin requires to set the variable to show it that the user is aware that running
# Pynguin executes third-party code, which could cause arbitrary harm to the system.
# By setting the variable, the user acknowledges that they are aware of this. In the
Expand Down
2 changes: 1 addition & 1 deletion pynguin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
StoppingCondition = config.StoppingCondition
TypeInferenceStrategy = config.TypeInferenceStrategy

__version__ = "0.12.0.dev"
__version__ = "0.12.0"
__all__ = [
"set_configuration",
"run_pynguin",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[tool.poetry]
name = "pynguin"
version = "0.12.0.dev"
version = "0.12.0"
description = "Pynguin is a tool for automated unit test generation for Python"
authors = ["Stephan Lukasczyk <[email protected]>"]
license = "LGPL-3.0-or-later"
Expand Down

0 comments on commit 3f13606

Please sign in to comment.