Markus Reiter
a3e0b188cf
Convert Patch test to spec.
2017-02-15 15:19:06 +01:00
Markus Reiter
542563bda0
Merge pull request #1991 from reitermarkus/requirement-spec
...
Convert Requirement test to spec.
2017-02-15 13:52:28 +01:00
Markus Reiter
8d7d41dc85
Convert Hardware test to spec.
2017-02-15 02:07:57 +01:00
Markus Reiter
3bc0c6bd1a
Convert Checksum test to spec.
2017-02-14 20:01:45 +01:00
Viktor Szakats
bf314fb082
add test
2017-02-14 18:46:48 +00:00
Markus Reiter
2f919089ef
Remove JSON test.
2017-02-14 16:52:21 +01:00
Markus Reiter
e116ba196e
Merge pull request #1998 from reitermarkus/spec-bottle-collector
...
Convert Utils::Bottles::Collector test to spec.
2017-02-13 14:28:36 +01:00
Markus Reiter
1f5e91da0b
Merge pull request #2000 from reitermarkus/spec-emoji
...
Convert Emoji test to spec.
2017-02-13 14:03:35 +01:00
Mike McQuaid
7281cfaf63
Merge pull request #1972 from timotheecour/pr_brew_where_command
...
add `brew formula` command to show location of a formula
2017-02-13 08:32:35 +00:00
Timothee Cour
588f98cf82
formula:formula_cmd_test
2017-02-12 14:47:05 -08:00
Markus Reiter
e70d28cba1
Add test to check if rubocop-cask
version is is outdated.
2017-02-12 23:06:35 +01:00
Markus Reiter
f85d3d1f7f
Convert Requirement test to spec.
2017-02-12 22:06:44 +01:00
Markus Reiter
6799081f8a
Convert Emoji test to spec.
2017-02-12 21:46:15 +01:00
Markus Reiter
1cbec60829
Convert Utils::Bottles::Collector test to spec.
2017-02-12 21:37:46 +01:00
Markus Reiter
93724c0645
Merge pull request #1990 from reitermarkus/x11-requirement-spec
...
Convert X11Requirement test to spec.
2017-02-12 21:16:04 +01:00
Markus Reiter
23767a378b
Convert X11Requirement test to spec.
2017-02-12 17:33:24 +01:00
Alyssa Ross
9e97eadccb
rubocop: trailing comma in multiline method calls
...
Discussed in
https://github.com/Homebrew/brew/pull/1987/files#r100693581 .
This was originally ommitted because it wasn't compatible with Ruby 1.8.
(See https://github.com/Homebrew/legacy-homebrew/pull/48144#r49928971 ).
2017-02-12 15:11:38 +00:00
Markus Reiter
1292a4b219
Merge pull request #1955 from vszakats/patch-2
...
audit: enforce https://*.sourceforge.io/ homepages
2017-02-12 11:05:21 +01:00
Markus Reiter
7be5a6a3d2
Convert Blacklist test to spec.
2017-02-11 17:33:27 +01:00
Markus Reiter
f531e63949
Convert Bash test to spec.
2017-02-11 16:53:11 +01:00
Markus Reiter
46a1e2f22d
Convert ARGV
test to spec.
2017-02-11 15:59:54 +01:00
Markus Reiter
cdcf362fc0
Add spec_helper
.
2017-02-11 15:59:54 +01:00
Markus Reiter
ab785ca414
Add RSpec to Gemfile.
2017-02-11 15:59:54 +01:00
Markus Reiter
9d96a5c512
Use Open3
for integration tests instead of manually forking.
2017-02-11 13:42:11 +01:00
ilovezfs
67bdeb463a
Revert "Use Open3
for integration tests instead of manually forking."
2017-02-10 19:28:40 -08:00
Viktor Szakats
03253a8d8b
audit: enforce https://*.sourceforge.io/ homepages
...
Ref: https://sourceforge.net/blog/introducing-https-for-project-websites/
2017-02-10 14:53:32 +00:00
Markus Reiter
956daf37a0
Use Open3
for integration tests instead of manually forking.
2017-02-09 17:17:48 +01:00
Mike McQuaid
da9dd0a863
Merge pull request #1951 from tma/reinstall-with-options
...
Print warning when reinstalling with invalid options
2017-02-05 12:13:45 +01:00
Thomas Maurer
22a37b2f5d
Add failing reinstall test with invalid install option
2017-02-04 13:23:41 +01:00
Markus Reiter
4eef60c6a6
Remove TestCask
class.
2017-02-03 21:52:51 +01:00
Alyssa Ross
70b1c6de0b
Merge pull request #1943 from alyssais/missing_requires
...
formulary: handle ScriptError in formula
2017-02-03 19:13:05 +00:00
Markus Reiter
77401b787f
Reorder testing_env
.
2017-02-03 17:27:36 +01:00
Markus Reiter
98b6766f4e
Require formulary
and tap
in Homebrew::TestCase
.
2017-02-03 17:27:36 +01:00
Markus Reiter
d0c5b98a62
Don’t require formulary
in testing_env
.
2017-02-03 17:27:36 +01:00
Markus Reiter
ac92144654
Add comment about FSLeakLogger
to Homebrew::TestCase
.
2017-02-03 17:27:36 +01:00
Markus Reiter
b765853969
Use constant array of constants in Homebrew::TestCase
.
2017-02-03 17:27:36 +01:00
Markus Reiter
f35c6c8cf1
Don’t use before_setup
and after_teardown
.
2017-02-03 17:27:36 +01:00
Markus Reiter
e40c63f77c
Use array of constants to set up test directories.
2017-02-03 17:27:36 +01:00
Alyssa Ross
ade8128a18
formulary: handle ScriptError in formula
...
I added a new `FormulaUnreadableError` subclass of
`FormulaUnavailableError` so existing `rescue`s of
`FormulaUnavailableError` handle this as well.
The new subclass will output the name of the formula with the error
(because this isn't always obvious from the original exception message)
followed by the original error message.
Fixes #1927 .
2017-02-01 18:34:20 +00:00
Xu Cheng
f3df412e77
cleanup: consider version_scheme
...
`brew cleanup` should cleanup formulae which have the older
version scheme.
2017-01-30 17:16:56 +08:00
Markus Reiter
6215c6a5e1
Don’t use assert_nil
in tab_test
.
2017-01-30 00:18:52 +01:00
Mike McQuaid
0fc4a52c6c
*_test: use assert_nil when appropriate.
...
This is warned by the newer MiniTest.
2017-01-26 12:02:17 +00:00
Mike McQuaid
b5f1db5f29
*/Gemfile*: remove rake, version pins, master simplecov.
...
We’re upgrading SimpleCov to 0.13.0 so let’s update the rest of our
gems while we’re at it.
2017-01-26 12:01:24 +00:00
Markus Reiter
f717831a03
Move Cask fixtures to test/support/fixtures
.
2017-01-25 13:33:12 +01:00
Alyssa Ross
5480a84114
tests: give e
helper in UtilTests a better name
2017-01-24 11:25:26 +00:00
Alyssa Ross
65dde58057
tests: add some emoji tests 💯
2017-01-24 11:25:24 +00:00
Alyssa Ross
62a0c3a6f5
tests: remove env helper
2017-01-23 13:39:33 +00:00
Markus Reiter
7d131de57d
tests: slightly stricter match in tab test
...
Suggested by @reitermarkus in
https://github.com/Homebrew/brew/pull/1890#discussion_r97234536 , and
then I added the \A and \Z.
2017-01-23 12:31:02 +00:00
Alyssa Ross
19e61355b3
tests: remove with_git_env method
...
A common git environment is now used in all tests, so this is no longer
required.
2017-01-22 20:54:37 +00:00
Alyssa Ross
b53ce62ffb
tests: use more recent git committer date
...
This will allow the `brew bundle` test to use the default git
environment.
2017-01-22 20:45:15 +00:00