Tag Archives: unittest

TPL in a Unit Test? GENIUS!

How often have you created a unit test that you knew was long running (test all ___ overnight), only to find that eventually you hit a time when it never stopped, and horked up the rest of the test run? It’s happened to the best of us, I’m sure. However, thanks to .Net’s beautiful TPL,… Read More »

Accessing private fields in inherited classes

A co-worker of mine was working on some UTs for his current setup and wanted to invoke/access private members on some of his production objects. I introduced him to the PrivateObject type in .Net to get his work done. That all went well until he wanted to get at a private field that was in… Read More »