If you are tired of grinding unit tests by hand, worry no more. Microsoft created a unit testing generator and evaluator called Pex. Pex is a testing tool provided by Microsoft research which has unit capabilities for support testing. What Pex does is it explores your code and suggests which tests to have. Then, if you have parameterized tests, Pex can figure out which combination of parameters should be tested to give you full coverage of possible scenarios. Then, it will employ the information to fine tune unit tests. Pex saves you from doing all the manual work andÂ unnecessaryÂ tests. So, give one Â a try.
Read full story here:Â http://www.drdobbs.com/windows/pex-microsoft-researchs-unit-test-genera/240009056