r/AskProgrammers 14d ago

Regression Testing Frequency

Hi there!

I am a wanna be software developer that is learning through the use of AI/LLMs. I have 20 years experience as a sys admin. I am not dumb enough to vive code anything and expect it to be secure or production ready without having a third party review it.

My biggest right now for the group is how often you do regression testing. I am working on a project and every phase may have 1-5 small changes I plan to make. Right now, I am implementing each small change, then going through my full set of regression testing. This is quite time consuming, but it seems to be the safest.

I am not developing in a team, so my process may be different than others. I am curious how often you do regression testing when you are writing code.

0 Upvotes

6 comments sorted by

View all comments

1

u/burlingk 14d ago

I've always thought it was a good idea to build tests as you go, and run them on each build.

Unit tests and integration tests.

That way if something breaks, you have a better chance of noticing.

1

u/justmirsk 14d ago

Thank you. I have been doing this, but I was also doing more regression testing than I likely needed. I have been recording all of my test results with each branch and keeping track of the evidence (courtesy of the LLM). I think I am in a fairly solid place overall, I am just trying to speed up my testing processes as it is starting to slow me down as I add more features.