-
Notifications
You must be signed in to change notification settings - Fork 1
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
Support and feedback request (from BPKG) #1
Comments
First: I do not mind the ping in the slightest! Second: Great work! And very brave to openly ask for feedback from the community! 🤩 Finally: Some thoughts after a first brief review. Please don't be too afraid/annoyed at the sheer amount of feedback! Some of it is just a lot of words in order to explain a simple thing, other things are just opinions or questions. Don't feel pressured to use any of this! Or, if you want to but would like some help, don't hesitate to ask! So... since you asked for it... Here is my feedback:
And then now... the main attraction: lcov.sh
And that's all I've got! The code was really well structured and very easy to read. You done good. Great work! I hope my feedback was helpful, don't hesitate to reach out here on GitHub if you want any other help. 👋 |
Something I've been wondering about is if there is a fun solution to getting rid of the manual One interesting option is to make use of the Other fun stuff you may want to give a look:
As for the actual code I agree that the tests could use a bunch of polish. There should be at least one integration test that looks like what a normal user calling the program would do. That would help getting feedback a lot too because it would be easier to figure out the quirks of how it runs without spending as much time looking at it. Also that |
cc @vipyne 🙃 |
Hi :) I wasn't tagged, but felt like it would be worth participating as someone who is trying to use this. How are we supposed to test anything that takes commandline arguments, or scripts that are run by a test script? I'm working on a project that runs test.sh (not using BATS, etc, just it's filename) which contains 6 tests that each run ./script.sh with args -- it is considered only one test and only the final line is output (6/6 passed. Finished in 1+seconds). Trying to run script.sh itself through lcov.sh, it tries to eat the args meant for the script and fails. On top of that I've got the "$LCOV_DEBUG" line in both test.sh and the script, and it's only producing coverage for test.sh. I have tried -i|--including the script as a path, sourcing it into test and running it that way since it can still work, and have retried I see that your coverage is also not quite working, so I figure it's just not there yet, but thought it would be worth asking. And this is still freaking awesome even if it only works on one file yet. Thank you very much for sharing :D |
I want to use the first two words in this issue to thank all the contributors to the BPKG project, having discovered it gave me the start of all my BASH activity.
I apologize if I mention you all in this post, causing some spam. My intention is to make you aware of the LCOV(dot)SH project. Which wants to be the native tool to generate coverage of BASH projects. Unlike the alternatives, it does not require additional tools written in third-party language or compiled binarys; he does his job without external dependencies from a processing point of view.
I ask for your support in any way, but in particular, being able to have feedback and input to improve it would be the best.
In the hope that this will become an important project like InstabulJS is in the JavaScript world
Thank you very much, even just for reading this message.
The text was updated successfully, but these errors were encountered: