Skip to content
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

No increase in code coverage #8

Open
jamal-ansary opened this issue Apr 22, 2024 · 4 comments
Open

No increase in code coverage #8

jamal-ansary opened this issue Apr 22, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@jamal-ansary
Copy link

Hello,
The model doesn't save the test units as a .py file when there is no increase in code coverage. it saves them as log file. is there an option to override that?

@jaltmayerpizzorno
Copy link
Collaborator

No, currently there isn't, but it would be relatively easy to add. I'm curious, though: how that would be useful?

@jaltmayerpizzorno jaltmayerpizzorno added the enhancement New feature or request label Apr 22, 2024
@jamal-ansary
Copy link
Author

jamal-ansary commented Apr 22, 2024

i had a python code with bug in it. i also had a unit test that didn't reveal the bug. the coverage didn't increase after prompting with chat gpt, so the test cases weren't saved. when i was reading log file, one of the test cases would be able to detect the bug. Just something that i came across.
Any way, congrats for the great work.

@jaltmayerpizzorno
Copy link
Collaborator

Thank you :)

I am not quite clear on the situation, though... was the test dropped because it (exposed the bug and) failed, or because it didn't increase coverage?

@jamal-ansary
Copy link
Author

because it didn't increase coverage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants