There is a newer version of the record available.

Published June 8, 2022 | Version 0.22.0

se2p/pynguin: Pynguin 0.22.0

Authors/Creators

  • 1. Chair of Software Engineering II, Faculty of Computer Science and Mathematics, University of Passau, Germany

Description

  • Fix selection of type-inference strategy.
  • Fix a bug in the type inference regarding cases where not type information is present.
  • Add a PyLint checker for calls to print().
  • Extend the blacklist of modules that shall not be analysed.
  • Raise RuntimeError from tracer when called from another thread.
  • Provide better exception messages for critical failures.
  • Apply a further limit to the execution time of a single generated test case to at most 10 seconds.
  • Exclude empty enum classes from test cluster to fix test generation.

    Parsing included modules raised an issue when the enum module is used: the test cluster then had a reference to the enum.Enum class, which obviously does not contain any fields. In the following, generating tests failed, as soon as this class was selected to fulfil parameter values because there was no field to select from, e.g., MyEnum.MY_FIELD. We now exclude empty enums from the test cluster.

Files

se2p/pynguin-0.22.0.zip

Files (620.5 kB)

Name Size Download all
md5:487b7aad5ef13ae7b547c9e077afb681
620.5 kB Preview Download

Additional details

Related works