Then I will be scolded for wasting time adding tests
Comment on How do I convince my company to add tests for FE?
flumph@programming.dev 11 months ago
Just add them. You’re a developer and automated testing is one of our tools. A woodworker wouldn’t ask permission to sand.
nitefox@sh.itjust.works [bot] 11 months ago
glitches_brew@lemmy.world 11 months ago
Sounds like you need to answer back with numbers.
Calculate how much time is needed for writing tests.
Then calculate how much time was spent writing ineffective code, then add the amount of time it took to rewrite that same code.
I guarantee the latter amount will be more.
CmdrKeen@lemmy.today 11 months ago
How do you calculate those numbers though?
It’s not like your colleagues will be keeping track of how much time they’ve wasted writing ineffective code. If anything, they’ll try to hide that by arbitrarily inflating sprint points etc.
I’ve worked in environments like that and the issue almost always isn’t that people wouldn’t LIKE it if there were tests, it’s that they
- Don’t want to have to learn something new in order to do the same job they’re already comfortable with
- Are worried that if they convince management to let them invest X amount of time into doing something that will improve productivity, they’ll be expected to be more productive in the future
And of course, all of this for no extra money. Unless you work at a place where management prioritzes developer happiness over how many sprint points the team can knock out every week (and those are rare), the sad truth is that it’ll likely be about as popular as leftover food growing mold in the community fridge.
3h5Hne7t1K@lemmy.world 11 months ago
This is terrible advice. Communication is the solution.