Your SlideShare is downloading. ×
  • Like
Introduction to unit testing
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Introduction to unit testing

  • 997 views
Published

 

Published in Technology , Education
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
997
On SlideShare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
13
Comments
0
Likes
2

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. Introduction toUnit TestingGil Zilberfeld, Product Manager7-Dec-2011
  • 2. Bugs The curse of developers How do we deal with them?
  • 3. Types of Testing• QA • Manual tests • Acceptance tests• Developer • Integration tests • Unit tests
  • 4. Manual Tests• Slow• Do not scale• Encourage forgetfulness• Immoral
  • 5. Automated Tests• Run all the time• Don’t complain• Don’t forget
  • 6. Why Unit Test?• Quick feedback • Low TCO• Confidence to • Small setup change your code overhead• Quicker than • It’s not bugs if debugging it’s caught before• Knowing your QA code works • Go faster
  • 7. xUnit Frameworks• Test Identification• Test Runner• Asserts
  • 8. .NET xUnit Frameworks• NUnit• MSTest• xUnit• MbUnit
  • 9. Demo
  • 10. Test Driven Development
  • 11. Test Driven Development• Same tools• Think before you act• Great coverage• Improved design• Give it a try
  • 12. Questions?www.typemock.com www.gilzilberfeld.comtypemock.com/blog gilz@typemock.com@typemock @gil_zilberfeld