mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-04 22:58:19 +08:00
honor output env variable
This commit is contained in:
@@ -116,7 +116,16 @@ module Bacon
|
||||
def handle_summary; end
|
||||
end
|
||||
|
||||
extend SpecDoxOutput # default
|
||||
extend case ENV['output']
|
||||
when nil, 'spec_dox'
|
||||
SpecDoxOutput # default
|
||||
when 'test_unit'
|
||||
TestUnitOutput
|
||||
when 'tap'
|
||||
TapOutput
|
||||
when 'knock'
|
||||
KnockOutput
|
||||
end
|
||||
|
||||
class Error < RuntimeError
|
||||
attr_accessor :count_as
|
||||
|
||||
Reference in New Issue
Block a user