aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_formula.rb
AgeCommit message (Collapse)Author
2016-10-24Move cask fixtures to `test/fixtures/cask`.Markus Reiter
2016-10-20test_formula: fix testsUladzislau Shablinski
New name and old name must have different names
2016-09-24RuboCop: Style/AccessorMethodNameMarkus Reiter
2016-09-19Save runtime dependencies in INSTALL_RECEIPT.jsonAlyssa Ross
Fixes #930
2016-09-19Fix `brew style` from #971.Mike McQuaid
2016-09-19Remove unused variableAlyssa Ross
This will make brew readall --syntax pass
2016-09-19Formulae aren't outdated if replacement formula installedAlyssa Ross
2016-09-19alias tracking: add formula testsAlyssa Ross
2016-09-18formula tests: more consistent namesAlyssa Ross
2016-09-18Update formula tests for #outdated_kegsAlyssa Ross
2016-09-18Add Formula#installed_alias_pathAlyssa Ross
2016-09-17rubocop --auto-correct all hash-rocket usage.Mike McQuaid
2016-09-15Use constants for LinkedKegs/PinnedKegs/Locks.Mike McQuaid
These definitions are scattered throughout the codebase which makes it hard to refactor them later (my goal is to move them outside of HOMEBREW_LIBRARY). Unify their definitions for clearer code and easier movement later.
2016-09-11test/test_formula: fix Rubocop warnings.Mike McQuaid
2016-09-09Merge pull request #863 from penman/preserve_aliasMike McQuaid
Save aliases in INSTALL_RECEIPT
2016-09-07More realistic alias_path testAlyssa Ross
2016-09-07test_formula: eligible_kegs_for_cleanup_keg_pinnedVlad Shablinsky
2016-09-05Replace install_name/install_ref with alias_pathAlyssa Ross
2016-09-05Switch to hash rocketsAlyssa Ross
2016-09-03Preserve alias when installing formulaeAlyssa Ross
Part of #567
2016-08-18test_formula: add epoch testsVlad Shablinsky
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-06tests: fix code style issues (#587)Andrea Kao
2016-07-29test_formula: fix sort order bugs.Mike McQuaid
2016-07-27test_formula: port to generic layer.Mike McQuaid
2016-07-16Update and test eligible_kegs_for_cleanupVlad Shablinsky
Closes #478. Signed-off-by: Xu Cheng <xucheng@me.com>
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-02test_formula: improve test_migration_neededVlad Shablinsky
Closes #432. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-06-29test_formula: add migration_needed testVlad Shablinsky
2016-06-29test_formula: add outdated_versions testsVlad Shablinsky
2016-04-02fix brew testsXu Cheng
Fix the `brew tests` problem caused by core/formula separation.
2016-03-20fix tests for deprecating SHA1Xu Cheng
Closes Homebrew/homebrew#50272. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-02-18formula: add new pour_bottle DSL with reason.Mike McQuaid
This allows there to be a user-visible description of why a bottle is not being installed.
2016-01-04cleanup: move code away from cmd/Baptiste Fontaine
Closes Homebrew/homebrew#47484. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-12-27more formula testsBaptiste Fontaine
Closes Homebrew/homebrew#47404. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-11-11ruby 1.8: address syntax warnings in Homebrew coreMartin Afanasjew
Closes Homebrew/homebrew#45849. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-06add test_formularyXu Cheng
Closes Homebrew/homebrew#43506. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-08-06test_formula: add test_facotry_with_fully_qualified_nameXu Cheng
Closes Homebrew/homebrew#42550. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-08-03Core files style updates.BrewTestBot
Closes Homebrew/homebrew#42354. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-07-31test_formula: add more testXu Cheng
2015-07-25more unit testsBaptiste Fontaine
Closes Homebrew/homebrew#42096. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-05-27add Formulary.core_path method, deprecate Formula.pathXu Cheng
2015-04-20Revert "Use real repo to run tests"Jack Nagel
This reverts commit 5aaf13c6cf784cb4be62932b3e528e8f93580a65.
2015-04-20Use real repo to run testsJack Nagel
2015-04-18Remove bad testJack Nagel
2015-04-15Fix test formula name so it matches the filenameJack Nagel
2014-12-28Use formula helper in testsJack Nagel
2014-12-28Drop pointless subclass in testJack Nagel