Test Coverage 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: good 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
Example 3: test coverage tool
The code coverage testing tool runs
parallel while performing testing on the
actual product. The code coverage tool
monitors the executed statements of the
source code. When the final testing is done,
we get a complete report of the pending
statements and also get the coverage percentage.
Example 4: 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