#test_coverage

2024-02-29

Технический долг — тихий убийца

Технический долг – это термин, который вызывает тревогу в рядах IT-специалистов по всему миру. Он способен уничтожить любой успешный проект. В мире, где время – это деньги, а сроки разработки постоянно сокращаются, очень высок соблазн пойти на компромисс с качеством в погоне за поощрением руководства за скорость релизов. Но какова реальная цена этих компромиссов? Как бороться с этим невидимым врагом, который медленно но верно, подрывает все усилия по достижению прогресса?

habr.com/ru/articles/797173/

#технологии #технический_долг #разработка #scrum #agile #тестирование #тестирование_по #test_coverage #velocity

The Implausible Girlimplausiblegrrl@tech.lgbt
2023-06-09

#programming #linters #testing #test_coverage #bad_programming_habits

An observation about writing tests in weakly typed languages like Python.

You should DISABLE some linting features when writing tests. Not everywhere and not all of them. But where needed.

Lint being fully enabled for writing tests can guide you to fragile code and poor tests without realizing it because you may avoid writing tests that the linter complains about without thinking about WHY it's a lint issue and not a compiler error.

Linters catch problems that DO NOT violate the compiler's rules. Such as passing a wrongly typed value in a weakly typed language.

That is WHY they're lint issues rather than compiler errors: The compiler DOES NOT CARE if you do a bad thing that a linter complains about.

100% test coverage only proves you CAN execute all the code without generating unexpected results, not that it WILL always do the right thing for unexpected inputs and situations.

It only proves code functionality, NOT code correctness.

Steinar Bangsteinarb
2020-07-12

How to get test coverage back in sonarcloud maven builds steinar.bang.priv.no/?p=353 I use travis-ci to build my github projects and use sonarcloud to do analysis of the builds. In the start of January 2020, the test coverage percentage on all sonarcloud projects suddenly dropped to 0%. This blog post explains why coverage percentage dropped to 0% and how to get the test coverage back in the … Continue reading

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst