aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/testing_env.rb
AgeCommit message (Collapse)Author
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 all remaining fixtures to `test/support/fixtures`.Markus Reiter
2016-11-16Rename `fs_leak_log` to `fs_leak.log` and move to `tmp`.Markus Reiter
2016-11-14Merge pull request #1435 from mistydemeo/dev_tools_versionMisty De Meo
Add "null version" class, and return compiler versions/build versions as Version objects
2016-11-11formulary: don't warn on old formula name from keg/rack.Mike McQuaid
If there’s an old installation of e.g. `apple-gcc42` from when it was part of `homebrew/core` then the tab will say it was from the `homebrew/core` tap and then we’ll complain at the user (see #1459 for an example). Instead, we only want to complain when the user actually types in `homebrew/core/apple-gcc42` into a `brew` command. Closes #1459.
2016-11-10Version.parse: return Version::NULL for unparseable stringsMisty De Meo
2016-10-19testing_env: extract with_environment to helper moduleJosh Hagins
2016-09-24Fix Style/GuardClause.Markus Reiter
2016-09-23Merge pull request #1041 from penman/parallel_testsMike McQuaid
Parallelise test suite
2016-09-20tests, cask-tests: log test runtimesAlyssa Ross
2016-09-19tests: run in parallelAlyssa Ross
2016-09-19tab: test tap runtime dependenciesAlyssa Ross
2016-09-19alias tracking: add formula testsAlyssa Ross
2016-09-17rubocop --auto-correct all hash-rocket usage.Mike McQuaid
2016-09-07Test source.path on Tab.create and .for_formulaAlyssa Ross
2016-08-21Refactor `shutup`.Markus Reiter
2016-08-06tests: fix code style issues (#587)Andrea Kao
2016-07-29testing_env: add needs_python method.Mike McQuaid
2016-07-19tests: nest HOMEBREW_TEMP inside TEST_TMPDIR (#554)Andrea Kao
2016-07-16Unify Version.create usageVlad Shablinsky
Substitue each Version.new and HeadVersion.new with Version.create to unify Version and HeadVersion instantiation among core code. Note that this does not relate to Mac::OS::Version class.
2016-07-16Add HeadVersion testsVlad Shablinsky
2016-06-29Move with_environment to testing_envTim D. Smith
2016-06-29test: Add tests for Keg#mach_o_files link behavior.William Woodruff
Move dylib_path and bundle_path from test_mach to testing_env to accommodate the new tests. Closes #400. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-06-27Revert "test: Add test for Keg#mach_o_files hardlink behavior."Tim D. Smith
This reverts commit 62d7079684cdb568600e22531c62888622a71ff1.
2016-06-27test: Add test for Keg#mach_o_files hardlink behavior.William Woodruff
Move dylib_path and bundle_path from test_mach to testing_env to accommodate the new test. Closes #400. Signed-off-by: Tim D. Smith <git@tim-smith.us>
2016-06-08introduce global lock directory (#337)Xu Cheng
Since #292, HOMEBREW_CACHE was moved to a per-user directory. This makes it unsuitable to store global lock files on multiple users environment. Therefore, introducing a global lock directory `/Library/Lock.d` to store lock files from formula lockers as well as `brew update`.
2016-04-02fix brew testsXu Cheng
Fix the `brew tests` problem caused by core/formula separation.
2016-03-21add HOMEBREW_ENV_PATH internal variableXu Cheng
`Library/ENV` like `Library/Homebrew` is part of Homebrew basecode. It should be able to be accessed during the `brew tests`. By adding HOMEBREW_ENV_PATH variable, we allow test suit to locate these codes.
2016-02-10tests: Add missing version testsBaptiste Fontaine
Closes Homebrew/homebrew#49031. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-01-25testing_env: needs_compat utility addedBaptiste Fontaine
Closes Homebrew/homebrew#48302. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-01-09tests: missing requires addedBaptiste Fontaine
Closes Homebrew/homebrew#47866. Closes Homebrew/homebrew#47861. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-08-03Core files style updates.BrewTestBot
Closes Homebrew/homebrew#42354. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-07-28Move simplecov configuration to dotfile.Mike McQuaid
2015-07-28testing_env: point to `bundle install` now.Mike McQuaid
2015-07-22tests: always run fs leak checkXu Cheng
2015-07-21coverage: stop recording compat codesXu Cheng
Closes Homebrew/homebrew#41973. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-07-20'brew tests' optional coverage measure addedBaptiste Fontaine
Closes Homebrew/homebrew#41890. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-05-27add Formulary.core_path method, deprecate Formula.pathXu Cheng
2015-05-04Stop testing implementationJack Nagel
2015-04-29Ensure HOMEBREW_TEMP is respected in all testsJack Nagel
2015-04-29Allow test tmpdir to be passed inJack Nagel
2015-04-29Extract runtime configuration from global.rbJack Nagel
This allows global.rb to be safely loaded in the test environment.
2015-04-20Revert "Use real repo to run tests"Jack Nagel
This reverts commit 5aaf13c6cf784cb4be62932b3e528e8f93580a65.
2015-04-20Use real repo to run testsJack Nagel
2014-07-06Close duped output streams before returningJack Nagel
2014-07-03Add assert_eql to provide better failure messages for eql? testsJack Nagel
2014-06-23Add module for logging filesystem leaks in testsJack Nagel
2014-06-23Make the test tmpdir a constantJack Nagel
2014-06-23Explicitly create top-level directories for testsJack Nagel