Markus Reiter
cdcf362fc0
Add spec_helper
.
2017-02-11 15:59:54 +01:00
Markus Reiter
98b6766f4e
Require formulary
and tap
in Homebrew::TestCase
.
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
62a0c3a6f5
tests: remove env helper
2017-01-23 13:39:33 +00:00
Alyssa Ross
9c3d01c682
tests: remove unnecessary comment
...
See https://github.com/Homebrew/brew/pull/1890#discussion_r97229473 .
2017-01-22 19:59:13 +00:00
Alyssa Ross
116ed3ec80
tests: automatically restore ENV in teardown
2017-01-22 19:53:58 +00:00
Alyssa Ross
d7b8420aaa
tests: clean up file system for all tests
...
(No longer just integration tests.)
2017-01-22 11:15:18 +00:00
Alyssa Ross
d86342a251
tests: reset ARGV in teardown
2017-01-21 15:08:20 +00:00
Alyssa Ross
2d550b5008
tests: clear tab cache in global teardown
2017-01-21 14:24:19 +00:00
Alyssa Ross
70a381a00f
tests: enforce super
in lifecycle hooks
...
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-21 11:34:52 +00:00
Markus Reiter
9d82acbf30
Separate Homebrew::TestCase
from testing_env
.
2016-11-16 23:52:38 +01:00