class SpecTracker::TestStatus
Constants
- FAILURE
- MISSING
- SKIPPED
- SUCCESS
Public Class Methods
new()
click to toggle source
# File lib/spec_tracker/test_status.rb, line 3 def initialize @status = nil end
Public Instance Methods
failure!()
click to toggle source
# File lib/spec_tracker/test_status.rb, line 15 def failure! @status = FAILURE end
failure?()
click to toggle source
# File lib/spec_tracker/test_status.rb, line 19 def failure? @status == FAILURE end
missing!()
click to toggle source
# File lib/spec_tracker/test_status.rb, line 31 def missing! @status = MISSING end
missing?()
click to toggle source
# File lib/spec_tracker/test_status.rb, line 35 def missing? @status == MISSING end
skipped!()
click to toggle source
# File lib/spec_tracker/test_status.rb, line 23 def skipped! @status = SKIPPED end
skipped?()
click to toggle source
# File lib/spec_tracker/test_status.rb, line 27 def skipped? @status == SKIPPED end
success!()
click to toggle source
# File lib/spec_tracker/test_status.rb, line 7 def success! @status = SUCCESS end
success?()
click to toggle source
# File lib/spec_tracker/test_status.rb, line 11 def success? @status == SUCCESS end