Why I avoid using verify in tests

When I first learned unit testing and Test Driven Development, test frameworks were very light and mocking frameworks were just coming into the picture. I was writing a lot of C++ back then, and if I wanted a mock I would implement my class interface and link my test to the mock version instead of the production version. Fast forward 15 years and we have extraordinarily advanced mocking frameworks (and i mostly write Java these days). While new libraries have come and gone, Mockito remains my favorite. It has a good balance of a straightforward syntax and a very complete feature set. In fact, a bit too complete if you ask me.

Continue reading “Why I avoid using verify in tests”

Docker, Docker, Docker

In this episode of Devs Talking, the James’s and I discuss application containers in general, and deep dive into Docker. We discuss the basic concepts of containers and talk about pros and cons in the context of our own experience with Docker.

In this episode of Devs Talking, the James’s and I discuss application containers in general, and deep dive into Docker. We discuss the basic concepts of containers and talk about pros and cons in the context of our own experience with Docker.

Change is hard, lasting change is harder

Accepting change is hard. Getting other people to change is even harder. The hardest thing of all is lasting change. Often, transformation efforts last only as long as the change agents are around; teams revert back to their old behaviors when they leave. This has a lot to do with confidence and buy-in. Change is usually rushed, and forced by “experts” who use phrases like “trust me” or “this is industry standard”. With a rushed process, it is easy for people to resist change, thinking that the change does not apply to their culture, problem or domain. But with some extra time, commitment, relationship building and empathy, lasting change is possible.

Continue reading “Change is hard, lasting change is harder”