| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2013-04-27 | Don't test error message | Jack Nagel | |
| Now that we are testing for a custom exception type, we don't need to make any assertion about the message. | |||
| 2013-04-27 | Allow `brew versions` to work with underspecified formulae | Jack Nagel | |
| 2013-04-26 | Add deps target to tests Rakefile for needed gems. | Mike McQuaid | |
| 2013-04-24 | Add a couple more version tests | Jack Nagel | |
| 2013-04-24 | Split up big version detection test | Jack Nagel | |
| 2013-04-16 | Add tests for FormulaPin and simplify implementation | Jack Nagel | |
| 2013-04-15 | Don't create MacOS.version multiple times | Jack Nagel | |
| 2013-04-13 | Remove extra require | Jack Nagel | |
| 2013-04-13 | Use assert_operator | Jack Nagel | |
| 2013-04-13 | Remove obsolete tests | Jack Nagel | |
| This behavior is now tested at more appropriate levels in test_software_spec, test_formula_spec_selection, and test_formula_validation. | |||
| 2013-04-13 | Make a specific assertion in this test | Jack Nagel | |
| 2013-04-13 | Raise a useful exception for incomplete formulae | Jack Nagel | |
| 2013-04-13 | Add tests for formula spec selection | Jack Nagel | |
| These tests document the relative precedence of the stable, bottle, devel, and head specifications, and the conditions that can influence which is selected (e.g. command-line flags). | |||
| 2013-04-13 | Allow "devel-only" formulae | Jack Nagel | |
| It seems only natural that this should be possible, or at the very least, it should not result in calling methods on nil. | |||
| 2013-04-13 | Improved formula attribute validation | Jack Nagel | |
| The initializer for Formula does a number of validations, but it does them in a weird order, and some attributes aren't validated under certain circumstances. This became even more of a mess when most software package attributes were moved into the SoftwareSpec class. This commit removes the last vestiges of storing these attributes as instance variables. In particular, it eliminates #set_instance_variable and #validate_variable, replacing them with methods that operate on SoftwareSpec instances, and generate more useful errors. Doing these validations unconditionally in the initializer means we bail out much earlier if the formula has invalid attributes or is not fully specified, and no longer need to validate in #prefix. Technically we don't need to validate in #brew either, but we continue to do so anyway as a safety measure, and because we cannot enforce calls to super in subclasses. | |||
| 2013-04-13 | Clean up checksum verification tests | Jack Nagel | |
| 2013-04-10 | Eliminate test_bucket | Jack Nagel | |
| Most of the behavior tested here is now tested elsewhere. Move the remaining useful tests to better places. | |||
| 2013-04-10 | More comprehensive tests for Pathname extension | Jack Nagel | |
| 2013-04-10 | Make test formulae initializers more flexible | Jack Nagel | |
| 2013-04-10 | Move formula equality tests out of test_bucket | Jack Nagel | |
| 2013-04-09 | Check existence rather than rescue exceptions | Jack Nagel | |
| 2013-04-09 | Simplify these tests | Jack Nagel | |
| 2013-04-08 | Clean up mirror support test | Jack Nagel | |
| 2013-04-08 | Fix argument order in test_comparableset | Jack Nagel | |
| 2013-04-08 | Fix specs in TestBall | Jack Nagel | |
| 2013-04-08 | Tests for SoftwareSpec and subclasses | Jack Nagel | |
| 2013-04-08 | Ensure ARGV is cleaned up | Jack Nagel | |
| 2013-04-07 | Clean up some things in test_bucket | Jack Nagel | |
| 2013-04-07 | Simplify tests | Jack Nagel | |
| 2013-04-07 | Define RUBY_PATH for tests | Jack Nagel | |
| 2013-04-07 | test_patching: inline test classes | Jack Nagel | |
| 2013-04-07 | Isolate ARGV extension tests | Jack Nagel | |
| 2013-04-07 | Delete pointless test | Jack Nagel | |
| 2013-04-07 | Tests for AbstractDownloadStrategy | Jack Nagel | |
| 2013-04-07 | Tests for Checksum class | Jack Nagel | |
| 2013-04-02 | Suppress warnings in test_pathname_install | Jack Nagel | |
| 2013-04-02 | Add test for differing module and import name | Jack Nagel | |
| 2013-04-02 | Fix requires in test_x11_dependency.rb | Jack Nagel | |
| 2013-04-02 | Shrink requirements.rb | Jack Nagel | |
| 2013-04-02 | Don't use "assert_not_nil" | Jack Nagel | |
| 2013-04-02 | Split out and fix LanguageModuleDependency tests | Jack Nagel | |
| 2013-04-02 | Add new tests for fails_with DSL | Jack Nagel | |
| 2013-04-02 | Isolate compiler selector tests | Jack Nagel | |
| 2013-04-02 | Bump useable clang version to 318 | Jack Nagel | |
| Build 211 can build most things, but I've seen intermittent miscompilation and slower code. Also it comes from Xcode 4.2, so most people don't have it anyway. Let's use 218 as the minimum viable version. | |||
| 2013-04-01 | Test that X11 env is triggered correctly | Jack Nagel | |
| 2013-04-01 | Requirement: env DSL is evaluated in context of self, not ENV | Jack Nagel | |
| This was meant to support: env do |req| append_path 'PATH', req.some_method ... end i.e., the block was evaluated in the context of ENV. But it turned out to be not so useful after all, so I'm ripping it out before something actually depends on it. | |||
| 2013-04-01 | Make testing_env somewhat readable | Jack Nagel | |
| 2013-04-01 | Silence stderr in test suite | Jack Nagel | |
| 2013-03-28 | Suppress uninitialized instance variable warnings | Jack Nagel | |
| 2013-03-28 | Suppress ambiguous argument and grouped expression warnings | Jack Nagel | |
