# OpenZeppelin Test Environment, Solidity-coverage and Jest

**URL:** <https://forum.openzeppelin.com/t/openzeppelin-test-environment-solidity-coverage-and-jest/2470>\
**Category:** Support\
**Created:** [March 14, 2020, 8:42pm UTC](https://forum.openzeppelin.com/t/openzeppelin-test-environment-solidity-coverage-and-jest/2470 "2020-03-14T20:42:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![miohtama](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/miohtama/32/1844_2.png) [@miohtama](https://forum.openzeppelin.com/u/miohtama)\
**Post date:** [March 14, 2020, 8:42pm UTC](https://forum.openzeppelin.com/t/openzeppelin-test-environment-solidity-coverage-and-jest/2470/1 "2020-03-14T20:42:29Z")

</div>

I am looking a way to run solidity-coverage test reports for openzeppelin-test-environment tests run with Jest. No Truffle.

- Has anyone tried this before? I did not find any posts or documentation for examples.

- If and likely when not, what are the right places to start poking openzeppelin-test-environemtn to support coverage reports? As far as I understood solidity-coverage someway (how?) hooks into Ganache and special steps are needed when setting up in-process testrpc chain.

Any points welcome… even pointing out the source code lines where would be helpful.

---

<div class="post-metadata">

**Author:** ![abcoathup](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/abcoathup/32/415_2.png) [@abcoathup](https://forum.openzeppelin.com/u/abcoathup)\
**Post date:** [March 16, 2020, 6:26am UTC](https://forum.openzeppelin.com/t/openzeppelin-test-environment-solidity-coverage-and-jest/2470/2 "2020-03-16T06:26:11Z")

</div>

Hi @miohtama,

There is an open issue for integrating to the new version of solidity-coverage

> <https://github.com/OpenZeppelin/openzeppelin-test-environment/issues/21>
>
> A new version of solidity-coverage will be out soon, with some great improvements. It doesn't require a specialized version of the...

I will see what else I can find out.

---

<div class="post-metadata">

**Author:** ![abcoathup](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/abcoathup/32/415_2.png) [@abcoathup](https://forum.openzeppelin.com/u/abcoathup)\
**Post date:** [March 17, 2020, 6:10am UTC](https://forum.openzeppelin.com/t/openzeppelin-test-environment-solidity-coverage-and-jest/2470/3 "2020-03-17T06:10:29Z")

</div>

Hi @miohtama,

The team will need to look at the best way to integrate the new version of solidity-coverage. (This hasn’t happened yet).

The latest information is in the open issue: [https://github.com/OpenZeppelin/openzeppelin-test-environment/issues/21](https://github.com/OpenZeppelin/openzeppelin-test-environment/issues/21)
