Can I use breakpoints (as while debugging) while 'unit testing' ?
Posted
by Richard77
on Stack Overflow
See other posts from Stack Overflow
or by Richard77
Published on 2010-05-05T07:13:46Z
Indexed on
2010/05/05
7:18 UTC
Read the original article
Hit count: 222
asp.net-mvc
|unit-testing
Hello,
I'm walking through the FrontStore series tutorial on TDD in MVC (Part 3 by Rob Conery/ASP.NET). The test I'm concerned with is the CatalogRepository_Each_Category_Contains_5_Products(). Until I get to that test, everything was working fine. Now, I've gone through every line that makes this test (including the test itself, the TestCatalogRepository, ...). I've also compared my code to that of Rob, but the test keeps failing.
I also checked the source code from CodePlex, that test was not there.
Now, I wonder if I can put a break point somewhere to check the local values as the test is being executed? If not, something similar?
Thanks for helping.
© Stack Overflow or respective owner