aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
AgeCommit message (Collapse)Author
2016-09-01Merge pull request #773 from reitermarkus/report-cask-coverageMike McQuaid
Also report Cask coverage.
2016-08-29test_utils: add Bottles::Bintray testsDominyk Tiller
2016-08-28test_formulary: add formula@version class translation checkDominyk Tiller
2016-08-27Also report Cask coverage.Markus Reiter
2016-08-26test_integration_cmds: use https://bot.brew.shDominyk Tiller
2016-08-24Improve HOMEBREW_BREW_FILE unset failure case.Mike McQuaid
Print a better exception message and handle this in more cases rather than producing confusing errors when it’s unset.
2016-08-21Refactor `shutup`.Markus Reiter
2016-08-19Merge pull request #731 from MikeMcQuaid/rename-bottle-revisionMike McQuaid
Rename bottle's revision to rebuild.
2016-08-18Rename bottle's revision to rebuild.Mike McQuaid
2016-08-18version: fix parsing of URLs ending with versionilovezfs
https://github.com/lihaoyi/Ammonite/releases/download/0.7.4/0.7.4 was parsing as "0.7" not "0.7.4" since ".4" was being treated as a legitimate file extension. At minimum, let's insist that a valid file extension include at least one letter to avoid lopping off part of the correct version string.
2016-08-18Merge pull request #719 from vladshablinsky/epochsMike McQuaid
Implement epochs
2016-08-18test_formula: add epoch testsVlad Shablinsky
2016-08-17test/Gemfile.lock: remove json pin.Mike McQuaid
2016-08-17Merge pull request #724 from MikeMcQuaid/assume-ruby-twoMike McQuaid
Assume Ruby 2
2016-08-17test/Gemfile: assume Ruby 2.Mike McQuaid
2016-08-17Prepare for Homebrew Cask to be imported.Mike McQuaid
- ignore Cask's files in `readall` (for now, there's an intentional syntax error that will need fixed) - run Cask's tests if they exist - don't check Cask's files in coverage reports (for now)
2016-08-17Merge pull request #713 from MikeMcQuaid/ship-sandboxMike McQuaid
Enable sandbox by default for homebrew/core
2016-08-15tests: add cmd/audit unit tests (caveats, desc, homepage)Andrea Kao
2016-08-15sandbox: add formula? method and sandbox core.Mike McQuaid
Add a new `Sandbox.formula?` method to see if a given formula should be sandboxed. Use the formula to check its tap against a list of pre-approved taps where we know every formula builds under the sandbox (currently just homebrew/core).
2016-08-15sandbox: add test? method.Mike McQuaid
Simplify checking if we’re going to sandbox a test with `Sandbox.test?`.
2016-08-14Test that sandbox complains correctlyTim D. Smith
Test that sandbox does not complain about bogus .pyc errors and does complain about other failures. Closes #684.
2016-08-14Merge pull request #682 from eirinikos/extend-cmd-audit-testsMike McQuaid
tests: refactor FormulaTextTests in test_cmd_audit, add assertion to test_simple_valid_formula
2016-08-13test_gpg: tweak rmtree usageDominyk Tiller
Swats away this annoying warning when the test is skipped due to GPG being unavailable: ``` 1) Skipped: GpgTest#test_create_test_key: GPG Unavailable Error: GpgTest#test_create_test_key: NoMethodError: undefined method `rmtree' for nil:NilClass /usr/local/Library/Homebrew/test/test_gpg.rb:11:in `teardown' ``` Closes #675. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-08-13test_gpg2_requirement: add satisfied testDominyk Tiller
2016-08-12test_gpg: add initial testsDominyk Tiller
2016-08-12tests: add assertion to test_simple_valid_formulaAndrea Kao
2016-08-12tests: refactor FormulaTextTests in test_cmd_auditAndrea Kao
2016-08-10formulary: fix to_rack for fully-scoped referencesMike McQuaid
Fixes the case where I have `mysql56` installed but do `brew uninstall foo/bar/mysql56` which isn't a valid formula. Fixes https://github.com/Homebrew/legacy-homebrew/issues/39883.
2016-08-08tests: extend cmd/install integration testAndrea Kao
Closes #626. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-08-08tests: refactor installation, renaming of CoreTap formulaAndrea Kao
2016-08-08tests: check all our Bash code for syntax errorsMartin Afanasjew
Additionally include our bootstrap code in `brew.sh`, Bash utilities in `utils.sh` and `utils/*.sh`, `superenv` shims, and the Bash completion. Closes #654. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-08-08test_integration_cmds: non-OS X skip cask/servicesMike McQuaid
2016-08-08test/.rubocop.yml: fix check category.Mike McQuaid
2016-08-08tests: add cmd/test integration testAndrea Kao
2016-08-06Cache outdated_versions for FormulaVlad Shablinsky
Closes #584. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-08-06test_formula: add outdated_versions testsVlad Shablinsky
2016-08-06Apply and add new download strategy testsVlad Shablinsky
2016-08-06Add tests for Tab versionsVlad Shablinsky
2016-08-06tests: fix code style issues (#587)Andrea Kao
2016-08-06tests: fix fluctuations in test coverage (#647)Martin Afanasjew
This basically started once our integration tests caused the overall test time to raise above 10 minutes, causing some coverage data to be dropped because SimpleCov believed it to be stale.
2016-08-04tests: add cmd/migrate integration testAndrea Kao
2016-08-02python: tweak script linking in virtualenv (#613)Martin Afanasjew
* python: tweak script linking in virtualenv Instead of making the formula author use a slightly awkward block like venv.link_scripts(bin) { venv.pip_install buildpath } avoid exposing this implementation detail and offer the more familiar: venv.pip_install buildpath, :link_scripts => bin * Add non-block form and use instead of recursion * Update 'pip_install' documentation * Remove obsolete 'link_scripts' * Add test for 'pip_install' with linking scripts Also drop no longer relevant (and broken) `link_scripts` test, that served as a template for the new test. * Restore compatibility with Ruby 1.8.7 * Replace option hash with 'pip_install_and_link' * Avoid confusing 'Object#tap' and fix silly bug * Avoid side effects in mock object parameter check * Simplify argument check (no need for a block)
2016-08-02tests: update cmd/analytics integration testAndrea Kao
2016-08-02test_utils: add with_custom_locale testDominyk Tiller
2016-07-31utils: tell people to report deprecations to tap.Mike McQuaid
This should hopefully avoid Homebrew/brew or Homebrew/homebrew-core having these exceptions reported to us.
2016-07-31test_cleaner: add perl removal testsDominyk Tiller
Closes #609. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-07-29test_cmd_audit: don't print compat warnings.Mike McQuaid
2016-07-29test_language_module_requirement: check for python.Mike McQuaid
2016-07-29testing_env: add needs_python method.Mike McQuaid
2016-07-29test_formula: fix sort order bugs.Mike McQuaid