Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance etest to provide code coverage information #11

Open
marshall-mcmullen opened this issue Nov 17, 2020 · 1 comment
Open

Enhance etest to provide code coverage information #11

marshall-mcmullen opened this issue Nov 17, 2020 · 1 comment

Comments

@marshall-mcmullen
Copy link
Collaborator

marshall-mcmullen commented Nov 17, 2020

It would be great if etest provided code coverage information. Perhaps leveraging another tool for implementation, such as:

https://github.com/infertux/bashcov

@marshall-mcmullen
Copy link
Collaborator Author

Install via:

gem install bashcov

Then, you just prefix bin/etest with /home/marshall/.gem/ruby/2.5.0/bin/bashcov -- ./bin/etest

Then after the run, you can see your results in file:///home/marshall/code/ebash/coverage/index.html#_AllFiles

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant