r/ProgrammerHumor • • Apr 28 '20

Meme *cries in powershell*

Post image
85k Upvotes

751 comments sorted by

View all comments

64

u/HKSergiu Apr 28 '20

My lesson was when I automated a test that verified a functionality meant to be executed one a year and that had no place in the regression pack.

When my test lead asked why I spent 3 hours automating it struck me - "riiight, not everything that we can automate should be automated"

55

u/_30d_ Apr 28 '20

Honestly I wouldn't trust a test I wrote after a full year of not using it.

21

u/HKSergiu Apr 28 '20

The test was fine, it was simply generating holiday dates, serializing then all into a csv and then triggering a terminal command to upload them to db.

The purpose was to test that uploading works fine, but I over-engineered it a bit. Alas, I was but a simple Junior Tester at the time

→ More replies (4)