LNSwap / lnstxbridge

GNU Affero General Public License v3.0
17 stars 12 forks source link

Review Code Coverage of Clarity and Improve Test if needed #37

Open jio-gl opened 1 year ago

jio-gl commented 1 year ago

Folder: https://github.com/LNSwap/lnstxbridge/tree/main/tests

This feature will avoid using Docker on the local testing. Needs 1.7.0 to work. And

To help maximize a smart contract's test coverage, Clarinet can produce a lcov report, using the following option:

clarinet test --coverage

From there, you can use the lcov tooling suite to produce HTML reports:

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