This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Testing and the fly likes mock before development Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "mock before development" Watch "mock before development" New topic

mock before development

Isaac Ferguson
Ranch Hand

Joined: Jun 22, 2012
Posts: 560

someone has ask me about make mocks before start coding using jUnit. Makes that sense for someone?


Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32304

I can think of two contexts that makes sense in. First is Test Driven Development. The other is using a mock/stub when relying on an API a teammate (or someone else) will be providing but isn't written yet.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
I agree. Here's the link:
subject: mock before development
It's not a secret anymore!