I have been reading a lot over the the few months. Mostly books revolving around programming principles and patterns as I figured they would help improve myself. Most recently I read “The clean coder” from Robert “Uncle Bob” Martin. It is basically a compilation of his life experiences and lessons he learned from them. And there is a lot of things to take away from that book. It is a very hard book to put down once started but you should be the judge of that.Continue reading “My first coding kata, maybe yours too”
What is the HttpResponseSimulator? Apart from being the least original name. Well, it is a tool that allows simulating the behaviour you want from an endpoint to test an HTTP client and/or wrapper. I built it over an afternoon so that I could write a timeout test for an
How I unblocked a frozen pull request
A few weeks ago, I saw a pull request to modify one of our web jobs which codebase is pretty old and had no tests. The pull request had no tests either. The thing is that we decided to make unit testing mandatory for any pull requests a couple
I started reviewing the code when I noticed someone else already posted a review. A pretty laconic “please add tests”. Not a bad nor a mean review but not a really helpful one. Proof of it is that it was posted about an hour before and the pull request was blocked. Indeed we do not untested logic to enter or remain in our software. Yes, it is aligned with our new policy about tests. That being said, the
I like to write poems sometimes, even though I didn’t in ages. Also, I think I never posted any here. I hope you enjoy it, please note that any resemblance to real persons, living or dead is purely coincidental.
Once upon a time a project manager
Decided to venture in a zone of danger
Little did he know was going to trigger a monster
Due to choices that none should ever foster
Because planning is not his comfort zone
He had to come
Test, four letters, one meaning and for some people a struggle. Getting people around you to write tests is easy only when everyone already agrees with you. As often, there are instances where some people show resistance to writing tests. Here
Continue reading “My Musketeers for DotNet Test driven development”
D: I don’t have time to write tests.
A: I don’t need to test this.
B: I can’t write a test for this.