aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/command.rb
diff options
context:
space:
mode:
authorMartin Afanasjew2016-01-20 07:06:09 +0100
committerMartin Afanasjew2016-01-21 05:42:06 +0100
commit5786f36b624ec10c826953940c74f46041c2b50e (patch)
treeaa6bab67404792bb6c9da36a4938b0b3bfa9f073 /Library/Homebrew/cmd/command.rb
parent0d1e72f55fbe34194c66da1edd6d6c37fc4adca6 (diff)
downloadbrew-5786f36b624ec10c826953940c74f46041c2b50e.tar.bz2
tests: add --only=<test>[/<method>] flag
Simplify running a single test (or even a single method from a single test), which is useful when developing or debugging a test. Instead of `brew test TEST=test_diagnostic.rb TESTOPTS=--name=test_check_DYLD_vars` it is now possible to run `brew tests --only=diagnostic/check_DYLD_vars` to get the same effect. Similarly, `brew tests --only=diagnostic` maps to `brew test TEST=test_diagnostic.rb`. Closes Homebrew/homebrew#48279. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
Diffstat (limited to 'Library/Homebrew/cmd/command.rb')
0 files changed, 0 insertions, 0 deletions