understand code coverage report code example
Example 1: what is code coverage
Code coverage is different from Test coverage.
Code coverage is about unit testing practices
that must target all areas of the code at
least once. It is usually done by
developers or unit testers.
Example 2: how to achieve test coverage
There are many techniques I use to
make my test coverage better
-In my project we track test
coverage with xray
-As a team we first focus on each
acceptence criteria making
sure all have been covered
-Depending on time I have and also
priority and business demand
We add negative scenarios
-When story is done if needed end
to end scenarios are added
Also lastly we do reviews with
peer testers and
at the end we review and present
as a team. This helps me
to get best test coverage