DEV Community

Dzmitry Ananyeu
Dzmitry Ananyeu

Posted on

๐Ÿšจ ๐‚๐จ๐ฆ๐ฆ๐จ๐ง ๐Œ๐ข๐ฌ๐œ๐จ๐ง๐œ๐ž๐ฉ๐ญ๐ข๐จ๐ง๐ฌ ๐€๐›๐จ๐ฎ๐ญ ๐€๐ฎ๐ญ๐จ๐ฆ๐š๐ญ๐ž๐ ๐“๐ž๐ฌ๐ญ๐ข๐ง๐  ๐ข๐ง ๐ƒ๐ž๐ฏ๐ž๐ฅ๐จ๐ฉ๐ฆ๐ž๐ง๐ญ ๐“๐ž๐š๐ฆ๐ฌ

In many companies, I keep seeing the same good intentions that turn into counterproductive testing practices. Some come directly from job descriptions, others from how teams organize development.
Letโ€™s talk about a few of them ๐Ÿ‘‡

๐Ÿงฉ ๐‹๐ž๐ญโ€™๐ฌ ๐ค๐ž๐ž๐ฉ ๐ญ๐ก๐ž ๐ญ๐ž๐ฌ๐ญ ๐œ๐จ๐๐ž ๐ข๐ง ๐ญ๐ก๐ž ๐ฌ๐š๐ฆ๐ž ๐ซ๐ž๐ฉ๐จ ๐š๐ฌ ๐ญ๐ก๐ž ๐š๐ฉ๐ฉ
Sounds good. Developers will see and even run the tests, right?
In reality:
โ€“ Most devs ignore the test suite unless forced.
โ€“ Changes in test infra cause merge conflicts or CI noise.
โ€“ The repo becomes messier and harder to manage.

๐Ÿš€ ๐‹๐ž๐ญโ€™๐ฌ ๐ซ๐ฎ๐ง ๐”๐ˆ/๐€๐๐ˆ ๐ญ๐ž๐ฌ๐ญ๐ฌ ๐จ๐ง ๐ž๐ฏ๐ž๐ซ๐ฒ ๐œ๐จ๐ฆ๐ฆ๐ข๐ญ ๐ข๐ง ๐‚๐ˆ
Sure, letโ€™s burn the world ๐Ÿ”ฅ
If tests fail due to known unstable features or in-development code - whatโ€™s the point?
๐˜š๐˜ฐ๐˜ฎ๐˜ฆ๐˜ต๐˜ช๐˜ฎ๐˜ฆ๐˜ด, ๐˜Š๐˜ ๐˜ด๐˜ฉ๐˜ฐ๐˜ถ๐˜ญ๐˜ฅ ๐˜ฌ๐˜ฏ๐˜ฐ๐˜ธ ๐˜ธ๐˜ฉ๐˜ฆ๐˜ฏ ๐˜ฏ๐˜ฐ๐˜ต ๐˜ต๐˜ฐ ๐˜ณ๐˜ถ๐˜ฏ ๐˜ต๐˜ฆ๐˜ด๐˜ต๐˜ด - but I already see how dev forgot to select this and the build failed, and need to run again.

๐Ÿง‘โ€๐Ÿ’ป ๐ƒ๐ž๐ฏ๐ž๐ฅ๐จ๐ฉ๐ž๐ซ๐ฌ ๐ฌ๐ก๐จ๐ฎ๐ฅ๐ ๐ฐ๐ซ๐ข๐ญ๐ž ๐š๐ฅ๐ฅ ๐ญ๐ก๐ž ๐š๐ฎ๐ญ๐จ๐ฆ๐š๐ญ๐ž๐ ๐ญ๐ž๐ฌ๐ญ๐ฌ
Sometimes yes. But often:
โ€“ Devs have a product to build, not test infra to babysit.
โ€“ Good test design is a skill that needs time and practice.
โ€“ This can slow feature delivery and hurt test coverage quality.

๐Ÿ”ง ๐‹๐ž๐ญโ€™๐ฌ ๐ฐ๐ซ๐ข๐ญ๐ž ๐ญ๐ž๐ฌ๐ญ๐ฌ ๐›๐ž๐Ÿ๐จ๐ซ๐ž ๐ญ๐ก๐ž ๐Ÿ๐ž๐š๐ญ๐ฎ๐ซ๐ž ๐ข๐ฌ ๐ฌ๐ญ๐š๐›๐ฅ๐ž
Sure, letโ€™s test a moving target.
Tests become outdated immediately, wasting hours and making test maintenance a nightmare.

๐Ÿ’ฌ ๐Ž๐ญ๐ก๐ž๐ซ '๐ซ๐ž๐š๐ฅ๐ข๐ฌ๐ญ๐ข๐œ' ๐›๐ฎ๐ญ ๐Ÿ๐ฅ๐š๐ฐ๐ž๐ ๐œ๐š๐ฌ๐ž๐ฌ ๐ˆโ€™๐ฏ๐ž ๐ฌ๐ž๐ž๐ง:

  • โ€œLetโ€™s have QA write test cases after release based on whatโ€™s already in prod.โ€
  • โ€œWhy use mocks? Just run everything against real services.โ€
  • โ€œWeโ€™ll do E2E tests only โ€” it covers everything!โ€ (Hint: no, it doesnโ€™t.)
  • โ€œWe donโ€™t need flaky test handling โ€” just fix the tests.โ€ (Have fun debugging async race conditions.)
  • โ€œLetโ€™s auto-generate tests with AI โ€” no need for logic anymore!โ€ (until it tests the wrong thing... fast.)

โœ… The key takeaway:
Automation is a tool, not a silver bullet. Use it where it brings clarity, stability, and speed. Otherwise, youโ€™re just automating confusion.

softwaretesting #automation #qa #devops #cicd #testingfailures #qualityassurance #testautomation #flakytests

Image description

Top comments (0)