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



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

def concern
  @concern
end

#errorsObject

Returns the value of attribute errors

Returns:

  • (Object)

    the current value of errors



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

def errors
  @errors
end

#review_pathObject

Returns the value of attribute review_path

Returns:

  • (Object)

    the current value of review_path



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

def review_path
  @review_path
end

#skip_reasonObject

Returns the value of attribute skip_reason

Returns:

  • (Object)

    the current value of skip_reason



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

def skip_reason
  @skip_reason
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



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

def status
  @status
end

#test_outputObject

Returns the value of attribute test_output

Returns:

  • (Object)

    the current value of test_output



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

def test_output
  @test_output
end

Instance Method Details

#kept?Boolean

Returns:

  • (Boolean)


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

def kept?
  status == :kept
end

#needs_review?Boolean

Returns:

  • (Boolean)


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

def needs_review?
  status == :needs_review
end

#rejected?Boolean

Returns:

  • (Boolean)


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

def rejected?
  status == :rejected
end

#skipped?Boolean

Returns:

  • (Boolean)


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

def skipped?
  status == :skipped
end