# How we can generate report in test failure

**URL:** <https://discourse.getdbt.com/t/how-we-can-generate-report-in-test-failure/4771>\
**Category:** Archive\
**Created:** [August 17, 2022, 8:51am UTC](https://discourse.getdbt.com/t/how-we-can-generate-report-in-test-failure/4771 "2022-08-17T08:51:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jitu](https://avatars.discourse-cdn.com/v4/letter/j/d2c977/32.png) [@jitu](https://discourse.getdbt.com/u/jitu)\
**Post date:** [August 17, 2022, 8:51am UTC](https://discourse.getdbt.com/t/how-we-can-generate-report-in-test-failure/4771/1 "2022-08-17T08:51:07Z")

</div>

In dbt if our test case fail is their way to generate report for it, --store-failure will store failed records  
is their any way we can insert dbt test report in BQ with failure reason
