aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/support
AgeCommit message (Collapse)Author
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.
2017-01-22tests: automatically restore ENV in teardownAlyssa Ross
2017-01-22tests: extract a common using_git_env methodAlyssa Ross
2017-01-22tests: clean up file system for all testsAlyssa Ross
(No longer just integration tests.)
2017-01-21tests: reset ARGV in teardownAlyssa Ross
2017-01-21tests: clear tab cache in global teardownAlyssa Ross
2017-01-21tests: enforce `super` in lifecycle hooksAlyssa Ross
This will allow us to have global setup and teardown for tests. For example, we can automatically clear caches after each test, to avoid annoying intermittent failures like #1879 and #1886.
2017-01-18integration_command_test_case: improve fail outputMike McQuaid
Instead of `puts`ing when the failure occurs save it until the error message and print a prose description of what the failure was and the output from the command. This makes the output from failing tests significantly easier to read.
2016-12-30tests: include homebrew version in receipt fixtureAlyssa Ross
2016-12-13fix typoJoshua Morten
2016-12-03fs_leak_logger: use more permissive mkpath.Mike McQuaid
This avoids a race condition occurring here.
2016-11-20Replace Utils::JSON with corelib JSON calls.William Woodruff
2016-11-18testbottest: don't use TEST_FIXTURE_DIR.Mike McQuaid
This isn't defined for formulae.
2016-11-16Require `integration_command_test_case` in `testing_env`.Markus Reiter
2016-11-16Separate `Homebrew::TestCase` from `testing_env`.Markus Reiter
2016-11-16Move `integration_mocks` to `test/support/helper`.Markus Reiter
2016-11-16Move all remaining fixtures to `test/support/fixtures`.Markus Reiter