r/AskComputerScience • • Nov 11 '25

Do you in practice actually do Testing? - Integration testing, Unit testing, System testing

Hello, I am learning a bunch of testing processes and implementations at school.

It feels like there is a lot of material in relation to all kinds of testing that can be done. Is this actually used in practice when developing software?

To what extent is testing done in practice?

Thank you very much

5 Upvotes

32 comments sorted by

View all comments

Show parent comment

2

u/Comp_Sci_Doc Nov 12 '25

When I first started writing unit tests, I was impressed at how the act of doing so helped me to better organize my code.

1

u/IdeasCollector Nov 13 '25

The same, being practicing TDD more than 10 years already. You can literally see whether code is written by a person working on TDD regularly or not. And usually people who don't TDD can't even see why it's so obvious.

1

u/Comp_Sci_Doc Nov 13 '25

I mean, I generally don't do TDD - code first, test after - but when I first started unit testing it made me see how my functions weren't named well enough and/or were doing too many things because it wasn't immediately obvious what the test should look like. So that really helped me with improving my code.