aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
AgeCommit message (Collapse)Author
2011-03-12Some CleanupMax Howell
2011-03-12Move string extensionsAdam Vandenberg
2011-03-12Refactor the brew command into one file per commandMax Howell
The code was sucking. To the extent that maintenance was hard. It's a lot easier to work with code that is sensibly split at sensible boundaries. So now it is more like that. But the refactor is minimal. Because we don't want you to have more merge hell than absolutely necessary. If you merge you will need to pay attention to brew.h.rb (as it is deleted) and bin/brew (as command logic is gone). It will be painful, but you will just have to help git out by moving any changes around manually. Note compatibility.rb. It ensures that any function renames or removals don't break anything. We're pretty serious about backwards compatibility. And that's because we encourage you to hack around with the innards. And we couldn't do that if we would then just make stuff disappear behind your back.
2010-10-17extract undent test to test caseMichael Morgan
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-09-15test_updater: Make fixture internally consistentBo Borgerson
The update_git_pull_output_with_formulae_changes fixture (which consists of mocked-up `git pull` output) listed a few files as both updated and deleted. This caused the test_update_homebrew_with_formulae_changes test to fail. My guess is that this fixture was mocked-up before formula deletion handling was introduced, and became broken when it was. This revision just makes this fixture internally consistent, and allows the associated test to pass. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-08-27Fixed recognition of versions like 'foobar-4.50-beta' in Pathname#versionlukas
Sphinx currently has a download name 'http://sphinxsearch.com/downloads/sphinx-1.10-beta.tar.gz', which homebrew currently can't correctly identify - with a small change to the regex for 'foobar-4.5.0-beta1' (make that trailing number optional) - it works like a charm. Signed-off-by: David Höppner <0xffea@gmail.com>
2010-07-29Move testing tarballs into subfolderAdam Vandenberg
2010-07-29Fix brew info testAdam Vandenberg
2010-07-29Add name to brew info url and remove external scriptAdam Vandenberg
2010-07-20Clean up test script & use system ruby to run testsAdam Vandenberg
2010-07-19Remove "test/formula_test.rb"Adam Vandenberg
This diagnostic script has been replaced by the "brew audit" external command.
2010-07-08Move exceptions from global to utils; remove duplicate defintionsAdam Vandenberg
2010-07-06Add debian style names to version checker.Adam Vandenberg
2010-07-06Update version testsAdam Vandenberg
2010-06-10Fix: attr doesn't take a list.Adam Vandenberg
2010-06-10Failures during ./configure should mention config.log.Adam Vandenberg
2010-05-12Fix the update testsDavid Porter
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-04-09Support jruby external dependencies.Adam Vandenberg
* Add tests that run only if 'jruby' is installed. * Note that if your formula has :jruby deps, it should likely "depend_on 'jruby'" as well.
2010-04-06Move ENV tests to separate file.Adam Vandenberg
2010-04-06Split out some Formula tests.Adam Vandenberg
2010-04-06Switch test_bucket over to use testing_env.Adam Vandenberg
2010-04-06Move Pathename property tests to separate file.Adam Vandenberg
2010-04-06Move ARGV tests to separate file.Adam Vandenberg
2010-04-06Move utils tests to separate file.Adam Vandenberg
2010-04-06Tests for Pathname.install.Adam Vandenberg
2010-04-06Merge Formula class name testsAdam Vandenberg
2010-04-06Add external deps. tests.Adam Vandenberg
2010-04-06Move TestBall definition to separate file.Adam Vandenberg
2010-04-06Move checksum tests to separate file.Adam Vandenberg
2010-04-06Move version tests to separate file.Adam Vandenberg
2010-04-06Move inreplace tests to separate file.Adam Vandenberg
2010-04-06Tests - remove some unused includesAdam Vandenberg
2010-04-06Move hardware detection tests to separate file.Adam Vandenberg
2010-04-06Move install tests to separate file.Adam Vandenberg
2010-04-06Move updater tests to separate file.Adam Vandenberg
2010-04-06Add tests for patching.Adam Vandenberg
2010-04-06Add new "testing environment" include.Adam Vandenberg
2010-04-06Add shell script 'tests' to run ruby test suites.Adam Vandenberg
2010-04-06Remove silly concatenation.Adam Vandenberg
2010-04-04Add test script to extract version from URL/path.Adam Vandenberg
2010-03-27fix github version parser with multidigit numberJoshua Peek
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-03-16Use tab/space when finding vars (and not newlines).Adam Vandenberg
2010-03-16Fix `change_make_var!` for empty variables.Martin Kühl
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-02-09remove_make_var! should not leave an empty assignmentAdam Vandenberg
2010-02-04Add formula check for crufy SourceForge URLs.Adam Vandenberg
2010-02-02Update test suite.Adam Vandenberg
* Break single test case class into several test cases. * Fix broken arch test. * Make update tests optional (seem to only work for mxcl). * Add more tests. * Move fixtures to separate folder.
2010-01-18Unit test for `brew cleanup`Joshua Peek
2009-12-20Add unittest for issue Homebrew/homebrew#127Adam Vandenberg
2009-11-19Refactor formula_test.Adam Vandenberg
2009-11-18Refactor formula_test.Adam Vandenberg