mockito 1.5 and spying on objects

Mockito is a Java Mock objects framework which seems more usable than either of the main contenders (JMock and EasyMock). The project has just released a new version which now allows the attachment of a mock “overlay” to an existing object. This has been on my “evaluate” stack for months, but (as Harry Pynn pointed …

Continue reading ‘mockito 1.5 and spying on objects’ »

Mox, Google’s Mock Object Framework for Python

I had great hopes for this when I saw the title. I normally use TDD (Test Driven Development) exclusively, but have been finding it difficult to get into the rhythm of TDD when developing in Python for Google App Engine. I’m just not familiar enough with the Python unit-test ecosystem. So a general purpose Mock …

Continue reading ‘Mox, Google’s Mock Object Framework for Python’ »