Posted by
pieterg on
3/16/2010 8:13 AM |
Comments (15)
What is a bad way to determine whether your software works?
Do you have to click through every single button on every single screen to make sure that something isn’t broken? And if it breaks, do you know what went wrong and where?
If you answered yes and then no, then you probably haven’t written unit tests for your code as most of these issue can be reduced.
Unit tests improve design and and ensures that as a developer, you are thinking about decoupled objects serving a single responsibility and thinking more along the lines of writing testable code.
I am not saying that Unit tests eliminates all bugs or issues. It just reduces them significantly.
What Unit Testing frameworks are there for us to use?
There are quite a couple as we can see from Wikipedia.
I just tend to use the Visual Studio unit tests.
44c688de-9097-4356-8501-f09099dceda0|0|.0