Click here to Skip to main content
15,880,405 members
Articles / Programming Languages / C#

Pragmatic Unit Tests using "yield return" for providing test cases

Rate me:
Please Sign up or sign in to vote.
4.33/5 (5 votes)
5 Feb 2013CPOL3 min read 38.5K   120   14  
How to gain better control over the testing process reducing the amount of test methods in a unit test.

Alternatives

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.

License

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


Written By
Software Developer (Senior) Polenter - Software Solutions
Germany Germany
I'm C# developer from Cologne, Germany. Here I owe a small software company. My hobby is general optimization - natural talent of all lazy people Wink | ;-)

Comments and Discussions