#testcoverage

Kidiatoliny Gonรงalveskidiatoliny
2025-05-17
2025-01-13

My goal this week is to add at least 80% code coverage with unit tests for one fo my personally written apps. #developer #testcoverage

Mohsen Mirhoseini ๐Ÿ€๐Ÿค–๐Ÿ‘จโ€๐Ÿ’ปmohsenoid@androiddev.social
2024-11-23
2024-11-13

C++ code coverage reports often omit function templates that are not instantiated, which can give a misleading picture of coverage. I've been trying to improve my tooling in this regard, and so added a feature to Doxide to export line data directly from source code that can be mixed in with gcov coverage data. Here's the story so far.

indii.org/blog/cplusplus-code-

#softwaretesting #testcoverage #codecoverage #cplusplus #cpp

2024-10-28

The 3rd Community Question is here! ๐ŸŽ‰ Hanan Ur Rehman asks about key elements of a software testing strategy and how to establish it for better coverage. ๐Ÿš€ Check out my latest video for insights!

๐Ÿ”— Watch here: youtu.be/p0wRtDKhqlU

#SoftwareTesting #TestingStrategy #QA #TestCoverage #DevCommunity

2024-08-01

Shareholders have sued CrowdStrike claiming they made false statements about their testing. This might be the first lawsuit in history where a company will have to prove in court that they have proper test coverage.
msn.com/en-us/money/companies/
#crowdstrike #testcoverage

Aaron In Minnesotaaeischeid
2024-07-16

One semi decent programming use case I have found for LLMs is starting out unit tests to backfill coverage for an already existing untested function.

Todd A. Jacobs | Rubyisttodd_a_jacobs@ruby.social
2024-06-01

Opinions on #unittesting are endless: test fixtures, test factories; test doubles, mocks, and stubs. The real problem is mistaking exhaustive #testcoverage for a sensible testing strategy. They aren't synonymous.

Testing core #RubyLang methods or coupling tests for a menu bar to DB calls both miss the point. The Pareto principle is to validate *your* logic, not whether Ruby or Rails work.

Tests that can't explain app-specific features or debug non-builtin code is *muda* waste. Just don't.

An alley lined with dumpsters. Meant to communicate "waste."
David Cantrell ๐ŸDrHyde@fosstodon.org
2023-12-23

@sourcenouveau if there is a gap in testing it should be easy to find, and possibly easy to fix, and Iโ€™d rather do that than write my own clone from scratch! #TestCoverage #StableSoftware

Inautiloinautilo
2023-09-08


Four common types of code coverage ยท What code coverage in tests is and how to measure it ilo.im/1551j7

_____

Arie van Deursen ๐Ÿ‡ณ๐Ÿ‡ฑ๐Ÿ‡ช๐Ÿ‡บ๐ŸŸฅavandeursen@mastodon.acm.org
2023-09-05

What is an example of an open source system with an exceptionally good test suite?

The example I gave today is #SQLite, with 100% branch coverage, MC/DC testing and 600 (!) test lines per line of code.

- How SQLite is tested: sqlite.org/testing.html
- MC/DC for SQLite: corecursive.com/066-sqlite-wit
- SQLite architecture: vldb.org/pvldb/vol15/p3535-gaf

#sqlite #mcdc #testcoverage

Robert Roskamraiderrobert
2023-08-17

. 100% is too little. 80% is enough.

My proof case is literally any language divide by 0.

case
def inverse(x):
return 1 / x

Iโ€™ve been scouring for an example of any โ€œmainstreamโ€ programming language that handles this without putting the burden on the dev to remember, โ€œOh yeah! I need to write error handling for that.โ€

David Cantrell ๐ŸDrHyde@fosstodon.org
2023-08-04

I just wrote a #test which didn't improve my code's #TestCoverage but was absolutely vital, and which many people don't bother with. I'm writing code to generate a report. I've got copious tests that make sure the reports contain all the correct info. I added a test that they don't include wrong info. Test that your code does what you want, but also test that it doesn't do what you don't want. #NegativeTesting can find very nasty bugs.

MarcinW ๐Ÿ–ฅ๏ธ๐Ÿš€MarcinW
2023-05-23

The quality of tests tells more about the project than the .

2023-03-24

Today for breakfast there was French toast, yogurt and bananas. There was nothing left, I guess it was good. For lunch, it was leftover kimchi fried rice, 12 grapes, Nutella sticks and a small pack of chips. My husband cooked dinner because I wanted to work a bit more.

Kids had swim and my daughter French class. She has forgotten to speak French, she only went to kindergarten in France and that was 5 years ago but she still has a good accent, better than mine. The boys still remember it, specially the oldest.

I read this blog post on code coverage from Chelsey Troy and I liked the reflection. Like everything in life, there is no black or white and metrics can sometimes give you a false sense of security. It also made me laugh when she says that numerical scores are like catnip for programmers. So true, specially if they come with green checkmarks.

At work I finished the PR I wanted to finish and that felt great. Next week I am on vacation and I donโ€™t want to leave things half baked, or I will be thinking about it. Tomorrow I am going to update the specs for the project with the latest info and another engineer can continue my work while I am not there. I also had one more meeting with my mentee before she goes on the 3 month sabbatical we get every 5 years.

I started listening to Ikigai, and got some books on the Kindle app, in preparation for next week trips. The Song of Achilles, that was free with Amazon Prime and Good without God that was on sale and I got with Kindle credits. I have 10 books on hold on the library app but I have at least 4 weeks wait for the first one.

And thatโ€™s it for today!

#books #domesticity #test-coverage

https://brezo.blog/2023/03/23/2023-03-23-daily-update/

๐Ÿ„๐ŸŒˆ๐ŸŽฎ๐Ÿ’ป๐Ÿšฒ๐Ÿฅ“๐ŸŽƒ๐Ÿ’€๐Ÿด๐Ÿ›ป๐Ÿ‡บ๐Ÿ‡ธschizanon@mas.to
2023-03-21

Everyone wants to add tools to the dev env, but nobody wants to support their team when they break the precommit hooks. #eslint #typescript #jest #tdd #danger #testCoverage #linting #husky

Sven Ruppertsvenruppert
2023-02-15

mutation testing is one of the best testcoverages in and with @_pitest - a short intro - youtu.be/6Vej7YEOF8g

Sven Ruppertsvenruppert
2023-01-25

mutation testing in and with @_pitest@twitter.com - a short intro - youtu.be/6Vej7YEOF8g

Sven Ruppertsvenruppert
2023-01-19

Client Info

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