Closed JoaoMaio closed 1 year ago
Sorry for the inconvenience. The default algorithm (DynaMOSA) only works with branch coverage as of now.
Choosing a different algorithm, e.g., --algorithm MOSA
, should work.
Thank you for your fast response and thank you for the help. MOSA did work
I copied "queue_example.py" from the quickstart guide on https://pynguin.readthedocs.io/en/stable/user/quickstart.html.
When i try to get the coverage report "LINE i get the error:
Commands used: pynguin --project-path ../Badge5 --output-path ./tmp/pynguin-results --module-name main -v --create-coverage-report True --seed 1629381673714481067 --coverage_metrics LINE
pynguin --project-path ../Badge5 --output-path ./tmp/pynguin-results --module-name main -v --create-coverage-report True --seed 1629381673714481067 --coverage_metrics BRANCH LINE
I just followed the guide. What am I doing wrong?