October 06, 2025 by Otso Virtanen | Comments

Code coverage measures which parts of the source code have been executed by tests. The metric used can be functions, lines or branches executed, or more complex metrics such as assessing independent conditions in statements. Depending on your code coverage tooling, the tests can be a combination of unit tests, functional tests, or even manual tests. High code coverage is desirable as it often indicates well-tested software. However, writing tests cases to achieve high code coverage can be laborious and expensive.

In this article we demonstrate with an example how to use AI code assistants and code coverage tools together to generate unit tests to increase code coverage. We also…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help