testdriven.com Wrangling quality out of chaos

mockito: Java mock objects library

03.04.2008 · Posted in Links

Java mocking is dominated by expect-run-verify libraries like EasyMock or jMock. Mockito offers simpler and more intuitive approach: you ask questions about interactions after execution. Using mockito, you can verify what you want, without expensive setup upfront. Mockito aims to be transparent and let the developer to focus on testing selected behavior.
link

  • del.icio.us
  • Digg
  • Google Bookmarks
  • Slashdot
  • StumbleUpon
  • Technorati
  • Twitter

Comments are closed