Current CTO exploring entrepreneurship on the side; coach; mentor; instructor.
Dedicated to promoting digital literacy and ideological diversity in tech.
Your unit tests are only ever going to be as useful as the person writing them, and the underlying code being tested in the first place.
They are not a silver bullet or a quality guarantee in your software.
Now, to discuss what I personally feel is the most valuable aspect of automated testing (specifically in the case of unit testing): test-driven-design.
This is a fairly radical restructuring of how you write code, by forcing you to write in a style that prioritizes understanding your execution as a series of inputs and outputs.
It encourages better software design by enforcing SOLID principles, with a heavy focus on SRP (single responsibility principle).
Writing software in this way naturally makes your solutions more resilient, with the added benefit of having automated tests to reinforce that.
Current CTO exploring entrepreneurship on the side; coach; mentor; instructor.
Dedicated to promoting digital literacy and ideological diversity in tech.
Your unit tests are only ever going to be as useful as the person writing them, and the underlying code being tested in the first place.
They are not a silver bullet or a quality guarantee in your software.
Now, to discuss what I personally feel is the most valuable aspect of automated testing (specifically in the case of unit testing): test-driven-design.
This is a fairly radical restructuring of how you write code, by forcing you to write in a style that prioritizes understanding your execution as a series of inputs and outputs.
It encourages better software design by enforcing SOLID principles, with a heavy focus on SRP (single responsibility principle).
Writing software in this way naturally makes your solutions more resilient, with the added benefit of having automated tests to reinforce that.
Do I have your permission to use this quote and your profile picture/info (excluding email) in my presentation?
Sure thing, go nuts.
I totally agree! I am a huge advocate for test driven design as well. Thanks for your input!