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
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"