-
Notifications
You must be signed in to change notification settings - Fork 4
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
Use bats_load_library
instead of load
and suggest to use BATS_LIB_PATH
#10
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would not recommend to change the lib path in setup.
thanks for the review, you mean only in the brew formula or in general in the instructions for the user? |
I mean in general. The idea of the lib path is to separate system config from the test suite sources. If you hardcode brew paths, what happens when the tests are run in a system without homebrew? |
I totally understand your concern but this is a homebrew packages for mac-os users right? I mean -we could but- we never added the linux support to these packages (again it's possible but it will require using brew in linux which is something very few people do for obvious reasons) Also the If I have on my bash profile this config in my linux box and I do not have brew installed: BATS_LIB_PATH="/usr/lib/bats" and I will use the previous export command with the homebrew prefix the tests will run correctly on both my linux and mac box right? Anyway I'm totally ok to remove the lib path export, what about keeping the |
bats_load_library
instead of load
and suggest to use BATS_LIB_PATH
I created a separated PR to accommodate both file and detik update: #11 and changed the title of this cosmetic one to be threaded a separate change so it can attract more brew users feedback (since I'm not). |
No description provided.