infertux / bashcov

Code coverage tool for Bash
MIT License
151 stars 20 forks source link

Capturing coverage on sourced script functions executed by bashunit #56

Closed bpujol closed 1 year ago

bpujol commented 4 years ago

Hello,

I am running bash unit (https://github.com/pgrange/bash_unit/blob/master/bash_unit) v1.6.1 script to run tests. Those tests are calling functions from a bash script previously sourced in the environment. I cannot get any coverage on the sourced bash script functions. Is it currently possible with bashcov ?