Ann Arbor Ruby Brigade Message Board › Code Craftsman Saturdays

Code Craftsman Saturdays

Bob Allen
CuriousAgilist
Farmington, MI
Post #: 23
Saturday 6/14/14 8:30 a to 4:30 pm (yes, we're serious) at the Forge. No vendors, to recruiters, just devs doing what they love to do.

Mocking is a practice to support fast unit tests (actually to support unit tests that really are unit tests and not integration tests in disguise).

The reasoning is that fast feedback allows for quicker correction and less context switching. If you have to work just to remember what you were trying to do in that code by the time the tests tell you that you broke something, then your 'unit' tests are way too slow. Mocking is part of how we make unit tests go fast.

Bob
Powered by mvnForum

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy