Archive for January, 2010

Mockito, EasyMock and jMock

Sunday, January 24th, 2010

So, you’ve started to embrace the Test-Driven Development approach while doing Java Development. You’re trying to improve your tests, try to write them well and make them readable,  and you are now looking for the right mocking framework to assist you. Here are a few hints that might help you choose the right mocking framework :

  • If you are an absolute TDD-lover, think that Ruby is awesome in every aspect, that RSpec is THE WAY to go, agree with every single principle of TDD, never write a single line of untested code and believe that  sex cannot be good unless you have written a test case to explicit the conditions of success before going to bed, then jMock is the tool for you.
  • If you’re a duct-tape programmer, think that Joel Spolsky rocks, and favor pragmatism over purism, then Mockito is the right tool for you. Mockito is very similar to EasyMock but is just newer and simpler to use.
  • For everything else, there is Mastercard.

Salary policies are a JOKE

Thursday, January 21st, 2010

On wages is an excellent article clearly describing why most all companies’ salary policies are a joke.

Anyone interested in wage transparency and paying value for value ?