Skip to content

Commit da1d666

Browse files
Release Pynguin 0.10.0
- Provide support for Python 3.10 - Pynguin now set `typing.TYPE_CHECKING = True` explicitly before parsing the subject under test in order to be able to collect also information about types that are only imported due to type checking/providing type annotations. - Improved generation of collection statements - Cleanup the implementation of the algorithms - Add supports for enums in the test-generation process - Cleanup the implementation of the dynamic value seeding - Make Pynguin executions as deterministic as we possibly can - Make DynaMOSA the default algorithm - Allow the generation of an HTML coverage report similar to the one generated by Coverage.py. This allows to show the subject under test and the coverage achieved by the test cases generated by Pynguin in the web browser. - Add a [CITATION.cff](https://citation-file-format.github.io/) file - Improve the internal control-flow graph - Improve the documentation - Cleanup and remove unused code - Fix a bug in post-processing - Fix a bug in branch coverage instrumentation on `for` loops - Add a variant of the whole-suite algorithm that uses an archive - Guard imports that are only necessary for type checking in Pynguin's modules by `if typing.TYPE_CHECKING` conditions
1 parent 6d7b01e commit da1d666

File tree

5 files changed

+88
-77
lines changed

5 files changed

+88
-77
lines changed

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,31 @@ SPDX-License-Identifier: CC-BY-4.0
99
Please also check the [GitHub Releases Page](https://github.com/se2p/pynguin/releases)
1010
for the source-code artifacts of each version.
1111

12+
## Pynguin 0.10.0
13+
14+
- Provide support for Python 3.10
15+
- Pynguin now set `typing.TYPE_CHECKING = True` explicitly before parsing the
16+
subject under test in order to be able to collect also information about types
17+
that are only imported due to type checking/providing type annotations.
18+
- Improved generation of collection statements
19+
- Cleanup the implementation of the algorithms
20+
- Add supports for enums in the test-generation process
21+
- Cleanup the implementation of the dynamic value seeding
22+
- Make Pynguin executions as deterministic as we possibly can
23+
- Make DynaMOSA the default algorithm
24+
- Allow the generation of an HTML coverage report similar to the one generated by
25+
Coverage.py. This allows to show the subject under test and the coverage achieved
26+
by the test cases generated by Pynguin in the web browser.
27+
- Add a [CITATION.cff](https://citation-file-format.github.io/) file
28+
- Improve the internal control-flow graph
29+
- Improve the documentation
30+
- Cleanup and remove unused code
31+
- Fix a bug in post-processing
32+
- Fix a bug in branch coverage instrumentation on `for` loops
33+
- Add a variant of the whole-suite algorithm that uses an archive
34+
- Guard imports that are only necessary for type checking in Pynguin's modules by
35+
`if typing.TYPE_CHECKING` conditions
36+
1237
## Pynguin 0.9.2
1338

1439
- Add explicit code-execution prevention (thanks to @Wooza).

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ FROM python:3.9.7-slim-bullseye AS execute
3636

3737
# Set environment variables
3838
# Set the Pynguin version
39-
ENV PYNGUIN_VERSION "0.9.3"
39+
ENV PYNGUIN_VERSION "0.10.0"
4040
# Pynguin requires to set the variable to show it that the user is aware that running
4141
# Pynguin executes third-party code, which could cause arbitrary harm to the system.
4242
# By setting the variable, the user acknowledges that they are aware of this. In the

poetry.lock

Lines changed: 51 additions & 66 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pynguin/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
StoppingCondition = config.StoppingCondition
1818
TypeInferenceStrategy = config.TypeInferenceStrategy
1919

20-
__version__ = "0.9.3"
20+
__version__ = "0.10.0"
2121
__all__ = [
2222
"set_configuration",
2323
"run_pynguin",

0 commit comments

Comments
 (0)