Mockito

3,060 views

Published on

Mockito

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

  • Be the first to like this

No Downloads
Views
Total views
3,060
On SlideShare
0
From Embeds
0
Number of Embeds
8
Actions
Shares
0
Downloads
70
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Mockito

  1. 1. Mock Objects For Mere Mortals
  2. 2. Why Yet Another Mocking Framework!?
  3. 4. How Unintuitive! “ I'll do it myself thank you very much!”
  4. 6. Now that's no fun for anyone We really need something a little more intuitive...
  5. 8. None of that Record/Playback Nonsense
  6. 9. Mockito Supports <ul><li>Stubs </li></ul><ul><li>Verified Mocks </li></ul><ul><li>Spying </li></ul><ul><li>Partial Mocks (New) </li></ul><ul><li>Nice Clean DSL </li></ul>
  7. 10. Stubs/Fakes
  8. 11. Verified Mocks
  9. 12. Spies Holdover from the Cold War (a.k.a. Legacy Code)

×