Class: RailsProof::AiTestExecutor::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/rails_proof/ai_test_executor.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#concernObject

Returns the value of attribute concern

Returns:

  • (Object)

    the current value of concern



11
12
13
# File 'lib/rails_proof/ai_test_executor.rb', line 11

def concern
  @concern
end

#errorsObject

Returns the value of attribute errors

Returns:

  • (Object)

    the current value of errors



11
12
13
# File 'lib/rails_proof/ai_test_executor.rb', line 11

def errors
  @errors
end

#review_pathObject

Returns the value of attribute review_path

Returns:

  • (Object)

    the current value of review_path



11
12
13
# File 'lib/rails_proof/ai_test_executor.rb', line 11

def review_path
  @review_path
end

#skip_reasonObject

Returns the value of attribute skip_reason

Returns:

  • (Object)

    the current value of skip_reason



11
12
13
# File 'lib/rails_proof/ai_test_executor.rb', line 11

def skip_reason
  @skip_reason
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



11
12
13
# File 'lib/rails_proof/ai_test_executor.rb', line 11

def status
  @status
end

#test_outputObject

Returns the value of attribute test_output

Returns:

  • (Object)

    the current value of test_output



11
12
13
# File 'lib/rails_proof/ai_test_executor.rb', line 11

def test_output
  @test_output
end

Instance Method Details

#kept?Boolean

Returns:

  • (Boolean)


20
21
22
# File 'lib/rails_proof/ai_test_executor.rb', line 20

def kept?
  status == :kept
end

#needs_review?Boolean

Returns:

  • (Boolean)


28
29
30
# File 'lib/rails_proof/ai_test_executor.rb', line 28

def needs_review?
  status == :needs_review
end

#rejected?Boolean

Returns:

  • (Boolean)


24
25
26
# File 'lib/rails_proof/ai_test_executor.rb', line 24

def rejected?
  status == :rejected
end

#skipped?Boolean

Returns:

  • (Boolean)


32
33
34
# File 'lib/rails_proof/ai_test_executor.rb', line 32

def skipped?
  status == :skipped
end