pynguin
pynguin copied to clipboard
pynguin seems not work on `arrow` project
trafficstars
Describe the bug
Im trying to use pynguing to run on the arrow project, but it doesn't seem to work. Could you tell me if I'm doing something wrong or is it a bug in Pynguin?
To Reproduce
I used docker for reproducibility:
1. run docker
docker run -it --rm python:3.10.14-slim-bullseye bash
2. install git
apt update && apt install -y git
3. clone the repo
git clone --depth=1 https://github.com/arrow-py/arrow
cd arrow
4. install the dependencies
pip3 install --upgrade pip setuptools wheel
pip3 install .[dev,test,tests,testing]
# Install additional requirements if available (within root + 2 nest levels excluding env/ folder)
find . -maxdepth 3 -type d -name "env" -prune -o -type f -name "*.txt" -print | while read -r file; do
if [ -f "$file" ]; then
pip3 install -r "$file"
fi
done
pip3 install pytest pynguin
5. run the test generator
export PYNGUIN_DANGER_AWARE=true
pynguin -v --project-path . --output-path ./tests2 --module-name arrow.arrow
Screenshots
Software Version:
- OS: docker with python:3.10.14-slim-bullseye
- Python version 3.10.14
- Pynguin Version 0.40.0
additional information I plan to use Pynguin to create tests in several repositories that I am studying