Class: Testicles::Report::PassedTest

Inherits:
Object
  • Object
show all
Defined in:
lib/testicles/report.rb

Overview

Encapsulate the relevant information for a test that passed.

Direct Known Subclasses

FailedTest

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(test_name) ⇒ PassedTest

:nodoc:



127
128
129
# File 'lib/testicles/report.rb', line 127

def initialize(test_name) #:nodoc:
  @test_name = test_name
end

Instance Attribute Details

#test_nameObject (readonly)

Name of the test that passed. Useful for certain reports.



125
126
127
# File 'lib/testicles/report.rb', line 125

def test_name
  @test_name
end