-
Notifications
You must be signed in to change notification settings - Fork 519
code coverage #222
Comments
In general you must use an external tool to do this. A tool specific to generate a code coverage report from the test execution. I am about to try integrate some tool for code coverage into my own test, perhaps bashcov or kcov. It seems like a discussion on code coverage is ongoing in the new repo for Bats. |
Not sure if this is the right place to ask, but does anyone have an example (command and index.html output) of kcov working with bats??? Coverage Report Command:batsLine numberDate:2018-06-13 19:44:55Instrumented lines:20HitsCode covered:0.0%Executed lines:0Order | Command: | bats | Line number | Date: | 2018-06-13 19:44:55 | Instrumented lines: | 20 | Hits | Code covered: | 0.0% | Executed lines: | 0 | Order #!/usr/bin/env bash Any and ALL help is appreciated. Thanks, |
Is there any updates about the bats coverage? |
@sunwei There isn't going to be any updates in this repo. I would advise you to move over to https://github.com/bats-core/bats-core, as that is where active development has moved after the call for maintainers in issue #150 |
Is it possible to show the code coverage when bats has been run?
The text was updated successfully, but these errors were encountered: