Test-Driven Development: Mock Only Tests

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,462
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Apr 7, 2011

This video applies to the technical practices of Lean-Agile software development. Scott Bain answers a question about test-driven development (TDD): Can a test be written with only a mock object in its fixture?

  • likes, 1 dislikes

Link to this comment:

Share to:
see all

All Comments (1)

Sign In or Sign Up now to post a comment!
  • I use this approach to test behavior of an abstract class, that is meant for users of my library to implement. The mocking framework I use supports mocking an abstract class, providing stubs for abstract methods while leaving non-abstract methods alone, so that I can test their behavior.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more