aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/support
AgeCommit message (Collapse)Author
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
2017-02-28Add `mktmpdir` helper method.Markus Reiter
2017-02-27Merge pull request #2215 from reitermarkus/spec-integration-test-helperMarkus Reiter
Use `around` hook for shared "integration test" context.
2017-02-27Use `around` hook for shared "integration test" context.Markus Reiter
2017-02-27Convert Version test to spec.Markus Reiter
2017-02-25Add `formula` spec helper.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
2017-02-21Convert OS::Mac::Keg test to spec.Markus Reiter
2017-02-19Use TEST_TMPDIR in rmdir tests.Michael Ledin
2017-02-19Expand glob patterns.Michael Ledin
2017-02-16Add test for `uninstall` before removing artifacts.Markus Reiter
2017-02-12Add test to check if `rubocop-cask` version is is outdated.Markus Reiter
2017-02-12rubocop: trailing comma in multiline method callsAlyssa Ross
Discussed in https://github.com/Homebrew/brew/pull/1987/files#r100693581. This was originally ommitted because it wasn't compatible with Ruby 1.8. (See https://github.com/Homebrew/legacy-homebrew/pull/48144#r49928971).
2017-02-11Add `spec_helper`.Markus Reiter
2017-02-11Use `Open3` for integration tests instead of manually forking.Markus Reiter
2017-02-10Revert "Use `Open3` for integration tests instead of manually forking."ilovezfs
2017-02-09Use `Open3` for integration tests instead of manually forking.Markus Reiter
2017-02-03Remove `TestCask` class.Markus Reiter
2017-02-03Require `formulary` and `tap` in `Homebrew::TestCase`.Markus Reiter
2017-02-03Add comment about `FSLeakLogger` to `Homebrew::TestCase`.Markus Reiter
2017-02-03Use constant array of constants in `Homebrew::TestCase`.Markus Reiter
2017-02-03Don’t use `before_setup` and `after_teardown`.Markus Reiter
2017-02-03Use array of constants to set up test directories.Markus Reiter
2017-01-25Move Cask fixtures to `test/support/fixtures`.Markus Reiter
2017-01-23tests: remove env helperAlyssa Ross
2017-01-22tests: remove with_git_env methodAlyssa Ross
A common git environment is now used in all tests, so this is no longer required.
2017-01-22tests: use more recent git committer dateAlyssa Ross
This will allow the `brew bundle` test to use the default git environment.
2017-01-22tests: remove unnecessary commentAlyssa Ross
See https://github.com/Homebrew/brew/pull/1890#discussion_r97229473.
2017-01-22tests: re-use with_environment in using_git_envMarkus Reiter
Proposed by @reitermarkus in https://github.com/Homebrew/brew/pull/1890#discussion_r97210285. I made one slight adjustment of preserving the previous date string in case anything was relying on it.