Microsoft Pex

  • 197 views
Uploaded on

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

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

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
197
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
0
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

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 file 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 hadn’t thought of Automatically creating unit tests Base line tests for code Code exploration Assembly exploration