Method: Xcode::Test::Report#in_current_test

Defined in:
lib/xcode/test/report.rb

#in_current_testObject



84
85
86
87
88
89
90
# File 'lib/xcode/test/report.rb', line 84

def in_current_test
  in_current_suite do |suite|
    # raise InvalidStateException.new("There is no active test case")
    return if suite.tests.size==0
    yield suite.tests.last
  end
end