pynguin icon indicating copy to clipboard operation
pynguin copied to clipboard

The PYthoN General UnIt Test geNerator is a test-generation tool for Python

Results 33 pynguin issues
Sort by recently updated
recently updated
newest added

windows, python 3.10.5, pynguin version 0.25.2 using a venv not shared with other projects. `(venv) PS C:\Users\xxxxx\PycharmProjects\Fighting> pynguin --project-path . --output_path ./test --module_name main_one_file ╭─────────────────────────────── Traceback (most recent call last)...

**Describe the bug** Error when generating tests: `TypeError: unsupported operand type(s) for |: 'NoneType' and 'NoneType'` **To Reproduce** Steps to reproduce the behaviour: 1. Use Pynguin version '0.34.0' 2. Use...

**Is your feature request related to a problem? Please describe.** Currently, the README states that only Python 3.10 is supported. Python 3.11 is not supported yet, and support for Python...

We are trying to generate tests for our [ROS](https://docs.ros.org/en/rolling/index.html) project. Running Pynguin on a simple [vehicle class](https://github.com/cetic/pynguin_ros_poc/blob/master/vehicle/src/vehicle_pkg/vehicle.py) shows a coverage of 0.187500 and the test generated is not very useful:...

**Describe the bug** I'm using Pynguin to generate test cases for a Python script. The script does not contain classes, but only functions (14 functions). But when i use Pynguin...

does Pynguin use mock? If so, how can I configure its use?

**Describe the bug** When pynguin generates test cases for a program that may occur an infinite loop, pynguin takes long time (even when specifying timeout options). **To Reproduce** 1. Create...

Related to #38 Though I understand test cases which raises exceptions are useful, I need also non-failing test cases. Especially, we cannot get non-failing test cases if a failed test...

## Introduction Hello, I'm currently doing a master's thesis on improving automatic test generation for Python code that uses C libraries. To do this, I'm using Pynguin as a base...

Fix #63 Hi, The problem is described in the referenced issue. I've fixed it by linking nodes doing infinite loops to the dummy exit node. Since the problem comes from...