Are others writing tests in 2021? Is it improving your quality of living?

In my personal development workflow I am constantly writing tests (unit, integration, e2e), but I'm finding less and less people and teams who also share this philosophy. Does anyone else still write lots and lots of tests as part of their workflow?

The part that is confusing to me is that these same people are constantly complaining about the challenges they face on their projects, and the challenges are almost always helped or even eliminated by writing quality tests. From my perspective tests aren't just for customer/stakeholder/manager satisfaction. They are something I require for me to complete my daily work reliably and consistently. I'm not writing them for others, I'm doing it for myself.

Does anyone else find that writing tests has sped up your workflows drastically, and that it has made code updates drastically easier? Does anyone else find that it makes communication and planning easier? Does anyone else find that tests make predicting your efforts and estimates much easier and accurate?

These same non-testing teams usually want to implement CI/CD into their workflows also, which by definition requires quality automated testing. Am I missing something though? Has anyone implemented a fully automated system that didn't incorporate automated testing?

I love continuous delivery, it has drastically improved my quality of life. I no longer have stressful deployments that require staying after hours, working weekends, or participating in work that contributes to stress and poor mental health. The time it takes me to get work to production is consistently much lower than my peers who aren't practicing continuous delivery. I couldn't get these benefits without solid testing in place though. Does this line up with what others are experiencing in their day to day workflows?

Has anyone ever seen a really large, stable, and complex application/system that didn't have lots of quality tests? Has anyone ever seen a small, stable, production ready application/system that didn't have lots of quality tests? Has anyone seen an application/system that users loved, but it didn't have lots of quality tests?

I know this post is kind of a ramble, but it feels like I'm going crazy. It's kind of stressful and depressing to watch the same pattens unfold. I'm watching my peers continuously struggle with the same things in every project, and it doesn't have to be that way for them. These are people that I think are really talented and that I love to work with. They have so much potential and are genuinely great people. Every time I bring up testing though, I hear excuses and resistance. They blame it on the customer, the management, the circumstances, the size of the company, time, money, other developers, the code, the language, the platform, and the list goes on. I've tried to lead by example, I've tried to help with training, I've tried active and passive communication approaches, I've provided supporting data from really large research efforts like the DORA effort. What else can I try? How can I help? Has anyone else been successful at helping others to see the need and the value?

Am I being close minded?

submitted by /u/CodeMonkey24816
[link] [comments]

from Software Development – methodologies, techniques, and tools. Covering Agile, RUP, Waterfall + more! https://ift.tt/3FT7SwC

Leave a comment

Design a site like this with WordPress.com
Get started
search previous next tag category expand menu location phone mail time cart zoom edit close