Skip to content

Commit

Permalink
feat: improve clarity test code coverage and handle code branches (#1030
Browse files Browse the repository at this point in the history
)

* feat: improve clarity test code coverate and handle code branches

* refactor: improve coverage unit tests

* chore: ugprade dprint-plugin-json dependency
  • Loading branch information
hugocaillard committed Jun 6, 2023
1 parent 99cd307 commit 13d4502
Show file tree
Hide file tree
Showing 8 changed files with 788 additions and 128 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ components/stacks-devnet-js/build
*.tar.gz
*.zip
*.rdb
*.lcov
40 changes: 30 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,8 @@ From there, you can use the `lcov` tooling suite to produce HTML reports:

```bash
$ brew install lcov
$ genhtml coverage.lcov
$ open index.html
$ genhtml --branch-coverage -o coverage coverage.lcov
$ open coverage/index.html
```

![lcov](docs/images/lcov.png)
Expand Down
2 changes: 1 addition & 1 deletion components/clarinet-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ sys-info = "0.9.1"
zstd = '=0.11.1'
semver-parser = "=0.10.2"
netif = "0.1.3"
dprint-plugin-json = "=0.15.4"
dprint-plugin-json = "=0.17.3"
dprint-plugin-markdown = "=0.13.3"
dprint-plugin-typescript = "=0.71.1"
signal-hook-registry = "1.4.0"
Expand Down
Loading

0 comments on commit 13d4502

Please sign in to comment.