mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-06-19 18:24:16 +08:00
spec output can now be specified by setting the output environment variable (ex. rake spec output=test_unit)
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