r/FastAPI • u/dager003 • Mar 29 '26
feedback request Built something to auto-fix pytest failures — does this actually solve a real problem?
Hey everyone,
Been learning Python seriously for a while
and kept running into the same frustration —
pytest fails, spend 30 minutes figuring out
why, fix it, run again, something else breaks.
So I tried building something to automate
that loop. Spent the last month on it.
It basically:
- Runs pytest on your project
- Tries to fix what's failing
- Reruns to check if fix worked
- Rolls back if it made things worse
Current honest capability:
→ Works well on import errors
→ Handles dependency conflicts
→ Simple logic bugs sometimes
→ Fails on complex multi-file issues
→ Struggles with fixture problems
My question to this community:
Is this actually a problem worth solving?
Do you spend significant time debugging
pytest failures?
And if anyone has a Python project with
failing tests they'd be willing to share —
I'd love to run it through and see what
happens. Would help me understand if this
is useful or not.
Just trying to figure out if I've built something useful or wasted a month
View all comments
Show parent comment
1
u/dager003 Mar 29 '26
Yeah I get that — and I think that’s a valid concern.
I don’t see it as replacing learning or careful debugging though. If anything, I’d still expect someone to understand what went wrong, especially for real bugs.
I was more thinking about the repetitive stuff — like missing imports, env issues, dependency mismatches — things you already know how to fix but still spend time doing again and again. For actual logic mistakes, I agree — you kind of have to go through it yourself to really understand it.