aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
AgeCommit message (Collapse)Author
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
2016-07-29test_utils: remove unnecessary full paths.Mike McQuaid
2016-07-28tests: fix duplicate test case class nameMartin Afanasjew
Rename test case class to avoid two definitions of `BlacklistTests`.
2016-07-27test: add default Linux x86_64 bottle.Mike McQuaid
2016-07-27tests: add cmd/switch integration testAndrea Kao
2016-07-27test_version_subclasses: make OS X specific.Mike McQuaid
2016-07-27test_x11_requirement: make OS X specific.Mike McQuaid
2016-07-27test_mach: make OS X specific.Mike McQuaid
2016-07-27test_keg: port to generic layer.Mike McQuaid
2016-07-27test_formula: port to generic layer.Mike McQuaid
2016-07-27test_dependency_collector: port to generic layer.Mike McQuaid
2016-07-27bottles: more porting to generic layer.Mike McQuaid
2016-07-27hardware: more porting to generic layer.Mike McQuaid
2016-07-27diagnostic: port to generic layer.Mike McQuaid
2016-07-27blacklist: port to generic layer.Mike McQuaid
2016-07-27Rakefile: skip OS X-only tests on non-OS X.Mike McQuaid
2016-07-27tap: test fetch/validation of invalid tap namesMartin Afanasjew
2016-07-27tests: extend cmd_fail to all non-zero exit codes (#595)Andrea Kao
2016-07-26Test Language::Python::VirtualenvTim D. Smith
2016-07-27tests: add cmd/analytics integration test (#558)Andrea Kao
2016-07-26tests: add cmd/pull integration test (#525)Andrea Kao
2016-07-19tests: add cmd/irb integration test (#501)Andrea Kao
2016-07-19tests: nest HOMEBREW_TEMP inside TEST_TMPDIR (#554)Andrea Kao
2016-07-19tests: use SimpleCov 0.12.0 and Coveralls 0.8.14Martin Afanasjew
SimpleCov 0.12.0 brings some moderate speed improvements and soon (sadly not yet) can be switched back to a stable release. Update to matching Coveralls release, fortunately with fewer dependencies than before.
2016-07-19tests: strip Homebrew prefix from coverage reportMartin Afanasjew
Make `Library/Homebrew` the new root now that *all* implementation files are in this directory. Update filters/groups accordingly. Note that paths in filters/groups are not anchored at the root and are always matched against the full path. Our rules are effectively anchored because they always include the `/Homebrew/` path component.
2016-07-16Update and test eligible_kegs_for_cleanupVlad Shablinsky
Closes #478. Signed-off-by: Xu Cheng <xucheng@me.com>
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-16test_formula: test new HEAD methodsVlad Shablinsky
* Test `Formula#update_head_version` * Test `Formula#latest_head_prefix`
2016-07-16Apply tests to new HEAD formatVlad Shablinsky
2016-07-16Add HeadVersion testsVlad Shablinsky
2016-07-16update: Don't report formulae that are moved within a tap but not renamed (#480)Josh Hagins
2016-07-15brew.{rb,sh}: move to Library/Homebrew. (#506)Mike McQuaid
2016-07-15ENV: move to new paths. (#507)Mike McQuaid
Move some stuff formerly in `Library/ENV` around: - Move `Library/ENV/$XCODE_VERSION` to `Library/Homebrew/env/super` as they are all superenv wrappers and all symlinks to the same version. We never needed the "separate shims for separate versions" functionality and it just adds confusion. - Move `Library/ENV/pkgconfig` to `Library/Homebrew/env/pkgconfig` to get more things under `Library/Homebrew` - Move `Library/ENV/scm` to `Library/scm` as these wrappers are not actually used by or related to superenv (or stdenv) in any way.
2016-07-15add more testXu Cheng
Closes #514. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-07-14test-bot: start running generic tests. (#505)Mike McQuaid
* test-bot: start running generic tests. Start running the test suite in the "generic" mode i.e. a base layer for non-OS X platforms to be able to use to ensure we don't break the generic code for the parts of the code we've got running. Currently this just runs the integration tests as that's the only useful suite that's entirely passing but eventually this will be changed to run the full test suite in generic mode. * test_integration_cmds: fix tests on Linux.
2016-07-13tests: add cmd/link, cmd/unlink integration tests (#398)Andrea Kao
2016-07-11test_integration_cmds: compile in install test. (#479)Mike McQuaid
Most of our formulae do compilation so let's do it here too.
2016-07-10test_language_go: update for HOMEBREW_DEVELOPER odieDominyk Tiller
Closes #488. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-07-10tests: clean up after bottle testMartin Afanasjew
Fix minor regression in b55250c44eacd49646407b26a73753965d4d36d0. The bottle is placed in the current working directory, is unaffected by the the single teardown introduced in #475, and thus needs manual handling. Closes #483. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>