News for hackers. Stuff that matters.
Re:You Don't Have Time Not to Test by mewpmewp2 on Saturday April 05, 2025 @08:05PM (#43597856)
What about side projects that you are working alone on?
Re:You Don't Have Time Not to Test by edoceo on Saturday April 05, 2025 @08:29PM (#43597970)
Well, I don't skip those (but, I started my career (95) in test). I think that it would be OK.

But if the objective is a professional output, test, test, test.

Re:You Don't Have Time Not to Test by RadioactiveMan on Saturday April 05, 2025 @08:42PM (#43598022)
I really value tests on projects I work on alone because the work is usually intermittent. I don't have the time or energy to deal with regressions, and I may not remember everything about the system by the next time I work on it.

I also find manually testing to be tedious, so I'd rather spend that time writing code that does it for me.

Re:You Don't Have Time Not to Test by niloc132 on Sunday April 06, 2025 @08:27AM (#43600961)
I find them vital for side projects - especially if they get set aside for a week/month/year, I sometimes will lose track of assumptions I’ve made or use cases for apis that tests tend to expose.

Sure you can encode all of that as comments, but unless you reread each file when you return from a break, you can’t always trace those thoughts and see where they lead. On the other hand if you “find all references” in your ide or change some implementation so that a test breaks, past-you can save the day with that extra information about what they intended at the time.