John Rodriguez
jrodbx's profile header
John Rodriguez

@jrodbx@androiddev.social

Android dev, foodie & hobby chef

March 24, 2023

I just realised that Ken Scambler's ( @kenbot ) excellent blog post "To Kill a Mockingtest" turned 10 years old over the weekend 馃巶馃帀

rea-group.com/about-us/news-an

Its a great blog post, and was instrumental in shaping my thinking on testing, dependencies and architecture. I came from an "enterprise java" background where mocking frameworks were endemic to tests. It really changed my perspective to see Ken point out that these frameworks are mostly used to work around very easily fixable problems in our software architecture.

If you are struggling to unit test code don't reach for a mocking framework - reach for your refactoring tools!

Older posts from other instances may not be displayed.
Open in original site

Elk Logo

Welcome to Elk!

Elk is a nimble Mastodon web client. You can login to your Mastodon account and use it to interact with the fediverse.

Expect some bugs and missing features here and there. Elk is Open Source and we're actively improving it as a community project. Join us and let's build it together!

If you'd like to report a bug, help us testing, give feedback, or contribute, reach out to us on GitHub and get involved.

To boost development, you can sponsor the Team through GitHub Sponsors. We hope you enjoy Elk!

Anthony Fu涓夊挷鏅哄瓙 Kevin DengTAKAHASHI ShuujiJoaqu铆n S谩nchezPatakDaniel Roe

The Elk Team