Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: code coverage for tests using c8 #5225

Merged
merged 4 commits into from
Jul 25, 2023

Conversation

0xTylerHolmes
Copy link
Contributor

Motivation

This PR seeks to make it easy for users to generate code-coverage reports for the unit and spec tests.

Description

Adds c8 to the package.json and adds a few scripts. A default configuration is also supplied.

Steps to test or reproduce

/download and prep spec tests and run:
npm run test-coverage:(tests to run) to generate a coverage for those tests. Reports can be found in /coverage/{test} and can also be merged together.

@0xTylerHolmes 0xTylerHolmes requested a review from a team as a code owner March 1, 2023 20:34
@CLAassistant
Copy link

CLAassistant commented Mar 1, 2023

CLA assistant check
All committers have signed the CLA.

@wemeetagain wemeetagain changed the title Code-Coverage for tests using c8 feat: code coverage for tests using c8 Jul 24, 2023
Copy link
Member

@wemeetagain wemeetagain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wemeetagain wemeetagain merged commit ab285d3 into ChainSafe:unstable Jul 25, 2023
11 of 12 checks passed
@wemeetagain
Copy link
Member

🎉 This PR is included in v1.10.0 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants