Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

mock before development

 
Isaac DurĂ¡
Ranch Hand
Posts: 859
2
Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

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

Thanks

Regards
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34837
369
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic