microsoft pex

Post on 27-Jun-2015

241 Views

Category:

Technology

2 Downloads

Preview:

Click to see full reader

DESCRIPTION

Why bother writing unit tests when Microsoft Pex can create them automatically?

TRANSCRIPT

  • 1. Joe J Collinsjoejcollins@gmail.com

2. Microsoft PexTesting on the Cheap 3. DemoQuick overview of NUnit Unit test (watch if fail) Method (watch it succeed) Test with Pex Another method One more method 4. What you need?it is all free Visual Studio (http://www.microsoft.com/express/) Nunit (http://www.nunit.org/) Pex (http://research.microsoft.com/en-us/projects/Pex/) Batch le to run Pex 5. Top FiveNot Arf! 6. Top FiveNot Arf! Assembly exploration 7. Top FiveNot Arf! Code exploration Assembly exploration 8. Top FiveNot Arf! Base line tests for code Code exploration Assembly exploration 9. Top FiveNot Arf! Automatically creating unit tests Base line tests for code Code exploration Assembly exploration 10. Top FiveNot Arf! Tests you hadnt thought of Automatically creating unit tests Base line tests for code Code exploration Assembly exploration

top related