Click here to Skip to main content
12,754,391 members (29,474 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as


5 bookmarked
Posted 10 Apr 2010

How to make your code more unit test friendly and better

, 19 Apr 2010 CPOL
How to make your code more unit test friendly (and better)You just simply split your code into small classes and methods while ensuring you follow the principles of Separation Of Concerns and Single Responsibility.If you have a big method you want to unit test, you should use the...


Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Software Developer (Senior) Vestas Wind System A/S
Denmark Denmark
Mikael has been developing software for more than 20 years. Today he is working for Vestas Wind Systems A/S, doing development mostly in Microsoft Visual Studio.

| | Privacy | Terms of Use | Mobile
Web02 | 2.8.170217.1 | Last Updated 19 Apr 2010
Article Copyright 2010 by mifth
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid