Nick Hodges – I talk a lot about unit testing. And why shouldn’t I? Unit testing is the key to writing clean, maintainable code. If you concentrate on writing code that is easily testable, you can’t help but end up with decoupled, clean, high-quality code that is easy to maintain. What’s not to like? But sometimes, there are questions over the definition of terms when it comes to unit testing. For instance, what, exactly, is a “unit”? What does “mocking” mean? How do I know whether I actually am doing unit testing? In this article, I try to clear up some of ...
Visits by Source
Users who voted for this posting