Ah, system automation. One system I was primarily and then peripherally involved with for over 12 years never achieved automation or it’s key tasks. The number and diversity of other systems with with it was interconnected in order to perform its core tasks were just too flaky and the addition of not all those systems being under our control meant that automation just proved to challenging. Whether anyone has actually achieved automation since I left the business three years ago I sincerely doubt.
Automated testing means writing code that can be automatically tested by a simple algorithm, so functions that basically say whe a + b return c
The code base is a ballal ache of shambolic spaghetti, so shove in a and b' and you'll get some variation between c and z, possibly including the Cyrillic, Greek and minoan alphabet.
There is also... Wait get some tissues... No not for THAT ..... A JS file that's over 4000 lines of code.
Unsurprizingly there's merge problems because everyone's fighting over it.
This has resulted in me uttering "remmeber when I showed you lot all the git merge memes aye well...." we recovered that fuck up that automated regression/unit test g would have caught easily assuming the dev ran it before merging from develop, by digging the branch out of the devs PC and going through the merge manually, oddly enough merges Pfarrern matching has problems with repeating blocks of jquery validstor for jqxwidgets because pattern wise they're all the fucking same and intellij merge tool shouted it in our faces.
I wish that file was a one off but there's plenty of files over 1000 lines in that system and most of them don't seem to get the problem... Possibly mecause im always ranting about it and they switch off when I rant.
Just as well I fucking love a good rant, more sensitive devs might run a mile probably from me right enough...
Still can't belive one of our "stops" in a retrospective was "stop using the concept success and failure" that was not from either a millennial or gen z... Oh no...
Sent from my BKL-L09 using Tapatalk