Unit Testing

412 views
377 views

Published on

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
412
On SlideShare
0
From Embeds
0
Number of Embeds
12
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Unit Testing

  1. 1. Unit Testing
  2. 2. is hard …
  3. 3. <ul><li>but it helps us </li></ul><ul><li>produce better quality software </li></ul><ul><li>produce robust software </li></ul><ul><li>reduce development time </li></ul>
  4. 4. Design your code to testable
  5. 5. <ul><li>Refactor your code </li></ul><ul><li>Large methods </li></ul><ul><li>Regions inside your methods </li></ul><ul><li>Some ‘If’ and ‘Switch’ statements </li></ul>
  6. 6. Single Responsibility Principle
  7. 7. MbUnit NUnit
  8. 8. TestDriven.NET
  9. 9. Selenium WaitN

×