From 92d420eaae706b92ba2cc2c134d23ccfc3f09e34 Mon Sep 17 00:00:00 2001 From: Mike Hathaway Date: Sun, 8 Jan 2023 13:25:04 -0500 Subject: [PATCH] Readme update coverage (#35) * add code coverage script * update readme for code coverage Co-authored-by: Mike --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index b57faa67..a3881e2e 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,16 @@ make all make tests ``` +#### Code Coverage +- generate basic code coverage report: +```bash +make coverage +``` +- exclude tests from code coverage report: +``` +apt-get install lcov +bash ./check-code-coverage.sh +``` ### Contract Deployment Ensure the following env variables are set in your env file `.env`