aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/support/helper/spec
AgeCommit message (Collapse)Author
2018-01-27Create `Hbc::Config` class.Markus Reiter
2017-12-03Also remove writer method for `Hbc.binarydir`.Markus Reiter
2017-12-03Remove unused writer methods for `Hbc.caskroom` and `Hbc.cache`.Markus Reiter
2017-11-26Add test fixtures for ELF executablesBob W. Hogg
Add test/support/fixtures/elf/ and test/support/fixtures/tarballs/testball-0.1-linux.tbz
2017-10-18Use “squiggly” heredocs.Markus Reiter
2017-09-16List cask full-namesDan Wendorf
`brew cask list` supports the `--full-name` flag which will include the tap name for casks not part of the core caskroom/cask tap. For example, if cask "foo-beta" is installed from the caskroom/versions cask, `brew cask list --full-name` will report the name as "caskroom/versions/foo-beta".
2017-07-29Silence all specs by default.Markus Reiter
2017-07-13integration_test: try tests on Gem load failure.Mike McQuaid
This should help with debugging `Gem::LoadError`s (e.g. for https://github.com/Homebrew/homebrew-test-bot/pull/111).
2017-07-10integration_test: add simplecov libs when needed.Mike McQuaid
Don't add these unconditionally or with Bundler to speed things up a bit. Also, to speed things up further cache these arguments so we don't have to do the same generation every time.
2017-07-07Fix `brew tests` on High Sierra.Mike McQuaid
The `brew test` tests were failing as they were unable to include `test/unit/assertions`. This is because it's a gem and we were setting the `GEM_HOME` so system gems were being ignored. While I was there and examining the `$LOAD_PATH`: reduce the number of things we add there by using `Bundler.with_clean_env` and only adding `HOMEBREW_LIBRARY_PATH` in the `$LOAD_PATH` if it isn't already there (which it always is [and has to be] for integration tests). This also seems to have the side effect of speeding up integration tests from 1m26s to 1m8s on my machine.
2017-05-08Remove `to_s` from some `Pathname`s.Markus Reiter
2017-05-07Revert "Merge pull request #2597 from MikeMcQuaid/vendor-gems"Mike McQuaid
This reverts commit 3e4547f52e7ebec633f8bfefc8a396d944edf908, reversing changes made to 6edf9382bcc1240ad6f97c8b752cfe56cef9965d.
2017-05-07Vendor all Homebrew's gems.Mike McQuaid
Homebrew's actually ended up using a fair few gems. While we want to avoid Bundler at runtime (and this PR still does that, in fact uses Bundler even less at runtime than it did before) writing our own version to use at build-time seems redundant.
2017-04-22Hide sensitive tokens from install/test/post.Mike McQuaid
Hide these tokens to avoid malicious subprocesses e.g. sending them over the network. Also, support using these tokens with environment filtering and clear `HOMEBREW_PATH` from subprocesses to stop them sniffing it. Finally, use `HOMEBREW_PATH` to detect Homebrew’s user’s PATH for e.g. `brew doctor` etc.
2017-03-08Move `brew cask --version` into separate file.Markus Reiter
2017-03-05Move Cask specs into `brew tests`.Markus Reiter
2017-03-05Move Cask `shared_examples` to `test/support`.Markus Reiter
2017-02-28Remove Minitest.Markus Reiter
2017-02-27Use `around` hook for shared "integration test" context.Markus Reiter
2017-02-25Avoid warnings when HOMEBREW_PREFIX/bin is not in PATH.Markus Reiter
2017-02-23Add integration test helper methods.Markus Reiter
2017-02-21Add RSpec support for integration commands.Markus Reiter