Skip to content

brew test and sandbox #2604

Dec 6, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

The HOME variable should be set to the test path, so ~/Library/Caches should work just fine.


it does a "get me the latest known version" check as part of printing the tool's version

Just checking the version of a tool is considered a bad test, see https://docs.brew.sh/Formula-Cookbook#add-a-test-to-the-formula

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@timsutton
Comment options

Answer selected by timsutton
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants