aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/spec_helper.rb
AgeCommit message (Collapse)Author
2018-02-15test/utils/svn: Requires svn to succeedShaun Jackman
2018-02-13Use rspec-retry in flaky brew tests.Mike McQuaid
We have a few tests that are intermittently flaky. Let's try this to see if we can get them a bit more reliable.
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-11-29cleaner_spec: have a single "cleans files" test.Mike McQuaid
This avoids noting the the Linux test as "pending" on Mac.
2017-11-27More environment filtering fixesMike McQuaid
- Make `brew pull` pass through Git environment variables - Whitelist all `TRAVIS_` variables.
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-13environment filtering: pass through TRAVIS vars.Mike McQuaid
We use these internally so let's map them to `HOMEBREW_` variables.
2017-11-05spec_helper: fix etc leak.Mike McQuaid
Fix the `etc/bash_completion.d/_brew_services` leak from the new bash completion in the Homebrew/homebrew-services tap.
2017-10-24Include `FileUtils` in `spec_helper`.Markus Reiter
2017-10-24Refactor and fix RuboCop specs.Markus Reiter
2017-10-18Use “squiggly” heredocs.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-08Add helper for testing TTY output.Markus Reiter
2017-07-07spec_helper: add focus support.Mike McQuaid
When adding `, :focus` as a trailing argument to a `describe` or `it` this allows you to only run that single test.
2017-06-24🗑️ Use AppleScript instead of Swift for trashing.Markus Reiter
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-04-23Fix audit version_scheme and revision checks.Mike McQuaid
Another attempt at fixing `brew audit` issues around detecting `revision` and `version_scheme` changes correctly. First done in #1754 and #2086 (reverted in #2099 and #2100). To ease future debugging a `ph` helper has been added to print a hash and a series of RSpec tests to verify that the `revision`, `version_scheme` and `version` formula version audits behave as expected. Fixes #1731.
2017-04-22tests: reduce some noise.Mike McQuaid
- Tweak the way offline skipping happens - Skip more tests that break when offline - Hide more stdout output from tests.
2017-03-08Move `brew cask --version` into separate file.Markus Reiter
2017-03-05Try fixing coverage.Markus Reiter
2017-03-05Move coverage reporting into `brew tests`.Markus Reiter
2017-03-05Move Cask specs into `brew tests`.Markus Reiter
2017-02-28Add `mktmpdir` helper method.Markus Reiter
2017-02-28Convert FormulaAuditor test to spec.Markus Reiter
2017-02-27Use shorter `before` syntax to skip tests.Markus Reiter
2017-02-25Add `formula` spec helper.Markus Reiter
2017-02-23Merge pull request #2104 from reitermarkus/spec-integration-test-helpersMarkus Reiter
Convert `brew desc` test to spec and add integration test helper methods.
2017-02-23Merge pull request #2090 from reitermarkus/spec-bottlesMarkus Reiter
Convert Utils::Bottles test to spec.
2017-02-23Add integration test helper methods.Markus Reiter
2017-02-21Convert Utils::Bottles test to spec.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-20Merge pull request #2037 from reitermarkus/spec-utilsMarkus Reiter
Convert Utils test to spec.
2017-02-20Convert LanguageModuleRequirement test to spec.Markus Reiter
2017-02-19Convert Utils::Bottles::Collector test to spec.Markus Reiter
2017-02-19Handle `Homebrew.failed` in `spec_helper`.Markus Reiter
2017-02-18Replace `Set::difference` with `Set::^`.Markus Reiter
2017-02-11Add `spec_helper`.Markus Reiter