Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,150,843 members, 7,810,254 topics. Date: Saturday, 27 April 2024 at 02:42 AM

Open Letter From An @ignored Test - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Open Letter From An @ignored Test (759 Views)

Letter From My Present To My Past / Letter From The Moderator - Please Read (2) (3) (4)

(1) (Reply)

Open Letter From An @ignored Test by JackOfAllTrades: 3:52pm On Jun 26, 2015
Dear developer,
I’ve been wanting to talk to you for a while now, but words don’t always come easy. We’ve had some really fun times together. I still remember the first time I warned you about a minor bug in your code, and how happy you were for having me in your life! Do you remember it? I also remember the first time you refactored me to make me more efficient and how well-written I felt afterwards... ah, great times!
I owe you everything, I know. And I'm thankful for it. I wouldn't exist if it weren’t for you. You thought that I was needed so you created me, and from that moment on I am at your service, and I am glad to be, as you gave me a purpose. I want to catch bugs for you. I want to give you assurance that things will continue to work after your changes. I want to make your life easier, and you know I can do all those things, I know you do.
But then, with no clear explanation, I started to fail sometimes, for no specific reason. Something broke a little inside of me. I was able to continue functioning almost normally, but I couldn’t avoid causing red builds from time to time, it was simply out of my control. I became... flakey. My flakiness upset you, and I am not angry about that, as it upset me too. I was not reliable anymore. I lost my purpose. At this point, I have to say, it hurts me to remember how you reacted after some weeks of flakiness: instead of investing some love and dedicate a couple of hours to fix me and get me back to a good state, you annotated me as @ignore and abandoned me in an immense and desolate codebase.
My statements and assertions can’t help to shed a tear when I think of this. For an automated test, being flakey is bad – but at least I passed successfully from time to time, and my failures were a reminder that I needed some of your magic; but being ignored my friend... that is simply terrible. If there is a hell for automated tests, it definitely is being annotated as @ignore and forgotten, being surrounded by successful tests that go green and not being able to join them, watching builds pass by and not pick me up, sitting between infinite lines of code, hopelessly waiting, needing a fix and not being taken care of... I would never wish that even to my worst automated test enemies.
Don’t get me wrong, I understand that automated tests have a lifecycle, and eventually they get replaced by other automated tests, better and more modern. Sometimes our flakiness can’t be resolved, so we need to be removed or replaced, and that’s ok. Sometimes the code we are testing is simply retired, so we have no purpose anymore, and that’s ok as well. It’s part of who we are. But hey: I am code too, you know? I need attention! I need to be implemented and refactored properly to achieve my purpose! I need code reviews where you look at me with care and spot issues that I might have, because tests can have bugs too! It’s simply unfair to only look after feature code and, when forgotten tests start to fail, annotate them as @ignore and continue your day as if nothing happened. It’s outrageous!
All I am asking is for you to make up your mind about me, either fix me or delete me, but do not forget about me! You break my statements when you do. Humans have issues with decisions, as we lines of code know, so if you need to get away with a green build and ignore me for a couple of runs, it’s fine. Really! But if you are not going to come back immediately and find what’s wrong with me and why have I been flakey recently, have some decency at least: raise an issue in your bug tracker, so that someone else can give me the attention I need to get back on track and provide some value again. It’s not that hard, is it? Please? For all the green builds we’ve had together?
I sincerely hope we can sort out our differences soon.
Forever yours,
@Ignored Test
Re: Open Letter From An @ignored Test by Dmayor7(m): 4:21pm On Jun 26, 2015
Chai....God of geography physics!.... Exclamation mark!:...winks!

Hahahaaa sincerely this article is heart rendering.... Heart breaking.... Heart tearing...

Oh my lovely @ignored! Oh my awesome annotated code!

How art thou ignored to exhaust!

How art thou pushed to the bin to extinguish!

Oh my dear @annotated code! I will start taking care of you form today..

Am art a clown to treat you thus!

I lack in behaving gentlemanly!

I swear thou shalt not be forsaken again..

Still love you my @ignored...

Still want you my @annotated...

My dear old friend....

#sober
Re: Open Letter From An @ignored Test by JackOfAllTrades: 5:06pm On Jun 26, 2015
I was touched when I first read it on atlasian website

(1) (Reply)

Java Programers:java Assignment: Can Someone Help Provide A Solution To This / Can You Get Get A Good Job Learning Computer Science / Offering One On One and Group Tutoring For A Number Of Different IT Topics

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 16
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.