Class: Testprune::Candidate

Inherits:
Struct
  • Object
show all
Defined in:
lib/testprune/duplication_detector.rb

Overview

One test proposed for removal, with why and (after the safety pass) whether it’s safe. ‘review_only` candidates (structural/overlap) are reported but never auto-patched.

Instance Attribute Summary collapse

Instance Attribute Details

#confidenceObject

Returns the value of attribute confidence

Returns:

  • (Object)

    the current value of confidence



13
14
15
# File 'lib/testprune/duplication_detector.rb', line 13

def confidence
  @confidence
end

#footprintObject

Returns the value of attribute footprint

Returns:

  • (Object)

    the current value of footprint



13
14
15
# File 'lib/testprune/duplication_detector.rb', line 13

def footprint
  @footprint
end

#groupObject

Returns the value of attribute group

Returns:

  • (Object)

    the current value of group



13
14
15
# File 'lib/testprune/duplication_detector.rb', line 13

def group
  @group
end

#kept_byObject

Returns the value of attribute kept_by

Returns:

  • (Object)

    the current value of kept_by



13
14
15
# File 'lib/testprune/duplication_detector.rb', line 13

def kept_by
  @kept_by
end

#reasonObject

Returns the value of attribute reason

Returns:

  • (Object)

    the current value of reason



13
14
15
# File 'lib/testprune/duplication_detector.rb', line 13

def reason
  @reason
end

#review_onlyObject

Returns the value of attribute review_only

Returns:

  • (Object)

    the current value of review_only



13
14
15
# File 'lib/testprune/duplication_detector.rb', line 13

def review_only
  @review_only
end

#safeObject

Returns the value of attribute safe

Returns:

  • (Object)

    the current value of safe



13
14
15
# File 'lib/testprune/duplication_detector.rb', line 13

def safe
  @safe
end

#safety_noteObject

Returns the value of attribute safety_note

Returns:

  • (Object)

    the current value of safety_note



13
14
15
# File 'lib/testprune/duplication_detector.rb', line 13

def safety_note
  @safety_note
end