# Code Coverage for Failed testcases

**URL:** <https://verificationacademy.com/forums/t/code-coverage-for-failed-testcases/30924>\
**Category:** Coverage\
**Tags:** Coverage\
**Created:** [August 5, 2015, 7:03am UTC](https://verificationacademy.com/forums/t/code-coverage-for-failed-testcases/30924 "2015-08-05T07:03:01Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Richard\_Hamer\_EnSilica](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/richard_hamer_ensilica/32/2125_2.png) [@Richard\_Hamer\_EnSilica](https://verificationacademy.com/forums/u/Richard_Hamer_EnSilica)\
**Post date:** [August 5, 2015, 5:28pm UTC](https://verificationacademy.com/forums/t/code-coverage-for-failed-testcases/30924/2 "2015-08-05T17:28:11Z")

</div>

_In reply to [sreevani.raichur@gmail.com](https://verificationacademy.com/forums/t/code-coverage-for-failed-testcases/30924):_

Hi  
Can you clarify what you mean by “in my coverage report it showing as test is passed. I don’t have a functional coverage model here.”.

How does a coverage report show it as passed? Is it because you collect successful coverage on the assert statement in your code? Because if so, then because coverage is merged across all testcases, you will hit (cover) that assertion on the passing testcases, and the overall merged result will show that the assertion has been hit.

Richard

---

_[View the full topic](https://verificationacademy.com/forums/t/code-coverage-for-failed-testcases/30924)._
