aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/testing_env.rb
AgeCommit message (Collapse)Author
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
2014-06-23Give the temporary test directory a prefixJack Nagel
2014-06-23Use Dir.mktmpdir to create temp directory for testsJack Nagel
2014-06-20Pass the requested spec into the formula instanceJack Nagel
2014-06-19Only "extend self" once on the Homebrew moduleJack Nagel
2014-06-18Combine Homebrew module declarations in testing_envJack Nagel
2014-06-18Switch to MinitestJack Nagel
2014-06-18Move test helpers into Homebrew::TestCaseJack Nagel
2014-06-18Use a custom test class so we can avoid monkeypatchingJack Nagel
2014-06-16Don't load unused compat files for testsJack Nagel
2014-06-10Remove unnecessary requireJack Nagel
2014-06-10Remove unnecessary codeJack Nagel
2014-06-10Rename TEST_FOLDER to TEST_DIRECTORYJack Nagel
2014-06-10Remove ABS__FILE constant from test environmentJack Nagel
2014-06-09Use RbConfig.ruby if it's availableJack Nagel
2014-06-09Fix formula test helper parametersJack Nagel
2014-05-14Taps: cleanup regexps around TapsTsukasa OMOTO
Closes Homebrew/homebrew#29139. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-05-03The \w character class already includes underscoreJack Nagel
Newer versions of Ruby issue a warning for repeated character classes.
2014-04-24Make the on-disk representation of taps unambiguousTsukasa OMOTO
This commit supports "-" and "_" in names of user and repository. Closes Homebrew/homebrew#28203. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-02-28Add TapDependencyJack Nagel
2014-01-11Fix tokenizing openssl style versionsJack Nagel
Fixes Homebrew/homebrew#25736.
2013-12-14Add HOMEBREW_TEMP to testing environmentJack Nagel
2013-12-09Extract constants for checkums in testsJack Nagel
2013-10-25Stop coercing MACOS_VERSION to a floatJack Nagel
2013-10-18Add OS.mac? and OS.linux?Jack Nagel
2013-10-10git_etc: update based on bottle etc/var changes.Mike McQuaid
2013-09-07Optionally use git to keep brew etc versioned.Mike McQuaid
Still in alpha state. Handles defaults and merging changes with new versions. Enable by setting the HOMEBREW_GIT_ETC environment variable. Closes Homebrew/homebrew#15751. Closes Homebrew/homebrew#17713.
2013-08-19Use File::PATH_SEPARATOR globally instead of ':'Amos Wenger
On Unix, the path separator is ':', whereas on Windows, it is ';'. This is the first of a series of patch to bring macbrew's and winbrew's codebases closer together. The main places the magic constant ':' was being used were: - the $PATH environment variable - CMAKE-related environment variables - pkg-config related environment variables Closes Homebrew/homebrew#21921. Signed-off-by: Jack Nagel <jacknagel@gmail.com>