I've started hearing about unit testing only quite recently, since I never learned about tests at school, and the other dev where I work never used them either. But now that I'm starting a new job in a month, it is something I definitely want to learn.
However, I still do not understand how to actually use them in a real world situation. Every tutorial I find uses very basic examples, usually some kind of addition function. Most of my functions are way more complex than that!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I've started hearing about unit testing only quite recently, since I never learned about tests at school, and the other dev where I work never used them either. But now that I'm starting a new job in a month, it is something I definitely want to learn.
However, I still do not understand how to actually use them in a real world situation. Every tutorial I find uses very basic examples, usually some kind of addition function. Most of my functions are way more complex than that!