Pex: Microsoft’s Unit Testing Generator and Evaluator

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

Leave a Reply

Your email address will not be published. Required fields are marked *