aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/tab_test.rb
AgeCommit message (Collapse)Author
2017-01-30Don’t use `assert_nil` in `tab_test`.Markus Reiter
2017-01-26*_test: use assert_nil when appropriate.Mike McQuaid
This is warned by the newer MiniTest.
2017-01-22tests: clean up file system for all testsAlyssa Ross
(No longer just integration tests.)
2017-01-21tests: enforce `super` in lifecycle hooksAlyssa Ross
This will allow us to have global setup and teardown for tests. For example, we can automatically clear caches after each test, to avoid annoying intermittent failures like #1879 and #1886.
2017-01-04tab: set homebrew_version in Tab.emptyAlyssa Ross
2017-01-04tests: remove temp tab homebrew_version overrideAlyssa Ross
This had to be added in #1750 to work around special-casing for tabs generated with Homebrew versions < 1.1.6. Now that 1.1.6 is the current version, we can remove this hack.
2016-12-30tab: remove #reliable_runtime_dependencies?Alyssa Ross
See https://github.com/Homebrew/brew/pull/1750#discussion_r94243825 for discussion. Removes Tab#reliable_runtime_dependencies? in favour of returning nil from Tab#runtime_dependencies if the list is unreliable. Because Homebrew 1.1.6 hasn't been tagged yet, tabs created in tests aren't created with a homebrew_version that marks the runtime_dependencies in the Tab as reliable, so there are some tests that fail. To work around this, I've had to add a line to some tests that explicitly overrides the homebrew_version in the Tab. This is really ugly though, so they should be removed as soon as possible after 1.1.6 is released.
2016-12-30tab: remove #homebrew_tagAlyssa Ross
This method isn't used any more
2016-12-30tab: parse full Homebrew version stringAlyssa Ross
It didn't occur to me that this would work, but it does! Magic.
2016-12-30tab: implement #reliable_runtime_dependencies?Alyssa Ross
2016-12-13fix typoJoshua Morten
2016-11-20Replace Utils::JSON with corelib JSON calls.William Woodruff
2016-11-16Move test files back directly to `test/`.Markus Reiter