File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Testing and the fly likes mock before development Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Engineering » Testing
Reply Bookmark "mock before development" Watch "mock before development" New topic
Author

mock before development

Angus Ferguson
Ranch Hand

Joined: Jun 22, 2012
Posts: 281
Hi

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

Thanks

Regards
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 26496
    
  78

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.


[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: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: mock before development
 
Similar Threads
real cattle drive
displaying animated GIFs in jdk 1.2.2
Wireless Toolkit and proxy
SQL Question
build failed gettext null