-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception: Statement is not part of it's test case #17
Comments
Fix Github Issue #17 See merge request se2/pynguin/pynguin!122
Thank you for your interest in Pynguin and the bug report. I've just published Pynguin v0.15.0, which should fix the bug (and also prevents another issue by switching back to our simple assertion-generation strategy). |
@stephanlukasczyk Hope to get your reply soon. Thanks in advance. |
Hi, I hope that this shutdown is not related to Pynguin's execution, though it might be possible, if any of the tested code or it's transitive dependencies interact with the system. In such case, Pynguin might execute something like I was able to run your example using the following command:
and
The produced test cases are far from ideal, because Pynguin struggles to generate meaningful ndarrays. See this explanation by Stephan, as to why this is the case. |
Hi, @Wooza |
Hi~
I encountered a problem when I attempted to generate test cases for a toy program named
test_script.py
shown as below:I placed
test_pynguin.py
at/data02/projects/test_pynguin
and ran the command:Then I received an exception:
Looking forward to your reply and thanks in advance!
The text was updated successfully, but these errors were encountered: