aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/support
AgeCommit message (Collapse)Author
2018-01-27Create `Hbc::Config` class.Markus Reiter
2018-01-17rubocop: fix brew style warnings.Mike McQuaid
2017-12-15tests: don't output seed multiple times.Mike McQuaid
This clutters up the output. Instead, hide it with a RSpec formatter and generate and output it ourselves.
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-28Test upgrade for Casks with version :latestL. E. Segovia
2017-11-27Merge pull request #3396 from amyspark/hacktoberfest-upgradeMarkus Reiter
Implement `brew cask upgrade`
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-11-22Change the generic bottle tag to processor-systemShaun Jackman
2017-11-13Add tests for upgrade recoveryL. E. Segovia
2017-11-08Fix upgrade tests and some upgrade? leftoversL. E. Segovia
2017-10-31Separate do end into multiple linesL. E. Segovia
2017-10-30Add tests for uninstall_* and zap stanzasL. E. Segovia
2017-10-27test.flac: add flac fixture.Mike McQuaid
2017-10-24Refactor and fix RuboCop specs.Markus Reiter
2017-10-18Use “squiggly” heredocs.Markus Reiter
2017-10-07Add helper method for Cask fixture paths and refactor CaskLoader.Markus Reiter
2017-10-03Merge pull request #3220 from yzguy/yzguy/cask_available_languages_to_infoMarkus Reiter
add available languages to cask info command
2017-10-02stylistic changes for cask info testsAdam Smith
2017-09-30add available languages to cask info commandAdam Smith
add language tests for dsl add fixtures, tests for languages info output add extra lines
2017-09-28testball_bottle-0.1: Add the formula to the bottleShaun Jackman
Update the SHA-256.
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-08-05Add spec for `conflicts_with cask`.Markus Reiter
2017-07-29Silence all specs by default.Markus Reiter
2017-07-24Merge pull request #2861 from reitermarkus/cask-search-ttyMarkus Reiter
Output plain list when running `brew cask search` without a TTY.
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-10Add test for non-TTY `brew cask search`.Markus Reiter
2017-07-08Add helper for testing TTY output.Markus Reiter
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-06-09Add symlink for High Sierra test bottle.Markus Reiter
2017-06-08Merge pull request #2746 from MikeMcQuaid/cleanup-testsMike McQuaid
tests: cleanup tests.
2017-06-08formula_desc_cop: tweak some rules.Mike McQuaid
Allow some specific lowercase words and provide an autocorrect for some of these rules.
2017-06-07tests: cleanup tests.Mike McQuaid
Remove pending tests that are never run on CI (i.e. require `--online`), remove fixtures for those tests and just make `--official-cmd-taps` run by `--online` instead.
2017-05-30Fix Linux buildMike McQuaid
Remove `testbottest` formula (this should have lived in the `brew test-bot` repository from the outset) and make various other changes to fix the Linux build here.
2017-05-19Merge pull request #2623 from rednoah/masterMarkus Reiter
Support GPG (signed data) container in Homebrew Cask
2017-05-11Support GPG (signed data) container in Homebrew Cask (test case)Reinhard Pointner
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-07Revert "Merge pull request #2603 from MikeMcQuaid/tweak-gem-vendoring"Mike McQuaid
This reverts commit 2372872974d1049c2beafe7dedb7f8f882502058, reversing changes made to 3e4547f52e7ebec633f8bfefc8a396d944edf908.
2017-05-07Tweak Gem vendoring.Mike McQuaid
If people have `HOMEBREW_RUBY_PATH` set then things explode in a rather confusing fashion. Instead, run `bundle` for them with the arguments that they'd want. Also, move `macho` requires into the module itself; it's a pain having to do everything for Bundler before requiring `pathname` which is a core Ruby class.
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-04-21Fix test for `chmod +x` on binaries.Markus Reiter
2017-03-15add command 'cask outdated'Valentin VĂLCIU
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 test helpers to `test/support`.Markus Reiter
2017-03-05Move Cask `shared_examples` to `test/support`.Markus Reiter
2017-02-28Remove Minitest.Markus Reiter