• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Status of Mock Objects Project

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does anyone know what the status of the SourceForge MockObjects project is?
Where they consumed or replaced?

Their site has no content and the US mirrors fail when I try and download the jars. Mailing list archive is filled with Spam so I opted not to try that.
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Ariel Valentin:
Does anyone know what the status of the SourceForge MockObjects project is?
Where they consumed or replaced?



Just rather inactive, or so it seems to me...


Their site has no content



http://mockobjects.sf.net/ forwarded me to http://www.mockobjects.com/FrontPage.html which seems to have quite a bit of content.

the US mirrors fail when I try and download the jars.



That's a problem of Source Forge and, as far as I know, not under control of the mock objects team. You might want to try other mirrors or take a look at http://sourceforge.net/support/getsupport.php#siteoutage
 
Ariel Valentin
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the reply. I will try the support site.
 
Ariel Valentin
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Found something...
<blockquote>
Is it safe to say that mockobjects.com is out of competition?
Posted by: Joe Walnes on June 03, 2004 in response to Message #124470 1 replies in this thread
Most of the team behind the original mockobjects.com expectation library and the DynaMock package are also the team behind jMock.

We are changing the focus slightly...

www.mockobjects.com is becoming a general site to find out information on mockobjects. This will include: tutorials, patterns, best practices, news, community discussions and a directory of other mock object libraries. This site will not be Java specific. It shall be getting a face lift in the near future and filled with more content.

www.jmock.org is the home of the Java mock objects library that started out on mockobjects.com. The library has evolved based on experiences, feedback and further understanding of effective usage of mocks.

The old libraries on mockobjects.com will have very little further development as we encourage people to move to jMock. However, they will still be supported as there is already an existing userbase.
</blockquote>
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Ariel Valentin:
The old libraries on mockobjects.com will have very little further development as we encourage people to move to jMock. However, they will still be supported as there is already an existing userbase.


Too bad. I personally see the static mock object library (com.mockobjects.*) being much more valuable than jMock. Admittedly in part because I prefer the EasyMock approach to dynamic mock objects rather than jMock's string-based approach for specifying expectations.
 
Ariel Valentin
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Interesting you mention that. I started using jMock and so far I like it, but of course here are some of my issues:

Factory Methods:
AFAIN this is one of the best techniques (do not want to use dependancy injection) to provide the CUT objects that it needs to perform tasks. I then override that method using the good ole' anon class trick... but in order for me to be able to use the jMock syntax, I have to create an additional inner class and set the expectations in that method and manually invoking verify(). I do not like this because my inner classes get so complex they need test cases!

Logging:
Another strange issue I run into is with logging. It seems that my fellow developers love to write a debug line every time they do something, which then leads to effecting the expectations.

Inheritance:
What can I say. I work with a bunch of old C++ developers and all they like to do is create abstract classes. Now I have to know what the heck is going on in these parent classes so that I can create the appropriate expectations.
 
Ilja Preuss
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Ariel Valentin:
I work with a bunch of old C++ developers and all they like to do is create abstract classes. Now I have to know what the heck is going on in these parent classes so that I can create the appropriate expectations.



Abstract classes aren't necessarily bad, or a problem. Take a look at the Abstract Testcase pattern: http://www.placebosoft.com/abstract-test.html
 
Sunglasses. AKA Coolness prosthetic. This tiny ad doesn't need shades:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic