101010.pl is one of the many independent Mastodon servers you can use to participate in the fediverse.
101010.pl czyli najstarszy polski serwer Mastodon. Posiadamy wpisy do 2048 znaków.

Server stats:

487
active users

#codecoverage

0 posts0 participants0 posts today

After starting and stopping a half-dozen times over the last few months, I finally sat down last night and spent ~3hr writing my thoughts on #CodeCoverage.

TL;DR: It's not without merit, but it is not the metric that many people make it out to be.

stevegrunwell.com/blog/code-co

Steve Grunwell · The True Meaning of Code Coverage | Steve GrunwellA deep dive into code coverage as a metric: how is it calculated, what does it truly represent, and where does it fall short of being useful?

🔥 New TIL: Fixing Coverage for Django’s manage.py test --parallel

Running Django tests in parallel but coverage reports are inaccurate? Parallel test execution can mess up coverage data, but here’s how to fix it properly!

Read more 👉 til.sanyamkhurana.com/#/topics

til.sanyamkhurana.comSanyam Khurana's TILsA collection of Today I Learned (TIL) posts by Sanyam Khurana. Quick notes, coding tips, and discoveries.

Looking for #phpunit code coverage dark-themes, are you using it?

Did not find any native support from PHPunit's tools, just some drop-in custom.css files.

Found so far just 2 of them:
1. github.com/chriswpage/phpunit- (updated 2024)

2. github.com/Porthorian/phpunit- (updated 2022)

From my preliminary research: the coverage tool is using bootstrap v4, while a dark-mode was only introduced in v5.3.

I should not dig into that migration path, or should I? 😅

GitHubGitHub - chriswpage/phpunit-coverage-theme: Drop in css file for a dark phpunit coverage themeDrop in css file for a dark phpunit coverage theme - chriswpage/phpunit-coverage-theme

"Will you write component tests with me?" 💍
Forget "Will you marry me?" as this is the real question of commitment. A perfect mix of unit and E2E tests, proving microservices true behaviour. Because nothing says "forever" like solid test coverage. 🛠️❤️

martinfowler.com/articles/micr
#CodingLove #TestingIsCaring #Microservices #ComponentTesting #UnitTests #E2ETests #DevHumor #TechRomance #CodeCoverage #QA #DevLife #coding #developer

Since the existing plugins came with too many dependencies for my taste, or specialized on some aspect that didn't cover what I need, I'm working on a #Vim plugin to display code coverage in the sign column.

It's reading lcov-formatted files (which is why I don't have any dependencies) and displays for each line whether it's covered or not.

Still needs a bit of work to be convenient, but I like the result already.

**Improvements in .NET code coverage tooling**

devblogs.microsoft.com/dotnet/

If you don't have C++ code, then apparently setting these properties will make things even faster:

```html
<EnableStaticNativeInstrumentation>False</EnableStaticNativeInstrumentation>
<EnableDynamicNativeInstrumentation>False</EnableDynamicNativeInstrumentation>
```

.NET Blog · What's New in Our Code Coverage Tooling? - .NET BlogDiscover enhanced code coverage tools with better platform support, new report formats and improved performance.

Does anybody have any code coverage reporting tools they particularly like? I'm aware of codecov.io. I'd like something that's easy to use, compatible with (at least) Rust, Go, and Python, is free for open source projects, isn't run by a bunch of greedy schmucks.

Edit: also I want to see code coverage results _before_ running CI if possible.

(it _seems_ like codecov might fit those boxes, but I don't know if there are other alternatives I should consider?)