Microsoft Pex

316 views

Published on

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

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
316
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Microsoft Pex

  1. 1. Joe J Collinsjoejcollins@gmail.com
  2. 2. Microsoft PexTesting on the Cheap
  3. 3. DemoQuick overview of NUnit Unit test (watch if fail) Method (watch it succeed) Test with Pex Another method One more method
  4. 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 file to run Pex
  5. 5. Top FiveNot ‘Arf!
  6. 6. Top FiveNot ‘Arf! Assembly exploration
  7. 7. Top FiveNot ‘Arf! Code exploration Assembly exploration
  8. 8. Top FiveNot ‘Arf! Base line tests for code Code exploration Assembly exploration
  9. 9. Top FiveNot ‘Arf! Automatically creating unit tests Base line tests for code Code exploration Assembly exploration
  10. 10. Top FiveNot ‘Arf! Tests you hadn’t thought of Automatically creating unit tests Base line tests for code Code exploration Assembly exploration

×