I’ve spent the last days tracking down a bug in a Production environment, which I could not for the love of God reproduce locally. For future reference more than anything, I’m leaving here what I understand should be checked when trying to assertain environment differences affecting a Java Web application, sorted by (again in my [...]
Posts by Gonzalo
Testing with Stubs or testing with Mocks?
I’ve read Mocks Aren’t Stubs some time ago. However, it was not until recently, after having a discussion on TDD with a colleague, that I realized how strongly coupled a test is to the tested class’ implementation when using mocks. Ever since I started using mocks, seeing how easy it is, I’ve been doing tests to [...]

Posts