class Applitools::TestResults

Attributes

context_matches[R]
exact_matches[R]
layout_matches[R]
matches[R]
mismatches[R]
missing[R]
none_matches[R]
steps[R]
strict_matches[R]

Public Class Methods

new(steps=0, matches=0, mismatches=0, missing=0, exact_matches=0, strict_matches=0, content_matches=0, layout_matches=0, none_matches=0) click to toggle source
# File lib/eyes_selenium_ruby/eyes/test_results.rb, line 4
def initialize(steps=0, matches=0, mismatches=0, missing=0,
               exact_matches=0, strict_matches=0, content_matches=0, 
               layout_matches=0, none_matches=0)
  @steps = steps
  @matches = matches
  @mismatches =  mismatches
  @missing =  missing
  @exact_matches =  exact_matches
  @strict_matches = strict_matches
  @content_matches =  content_matches
  @layout_matches =  layout_matches
  @none_matches =  none_matches
end

Public Instance Methods

to_s() click to toggle source
# File lib/eyes_selenium_ruby/eyes/test_results.rb, line 18
def to_s
  "[ steps: #{steps}, matches: #{matches}, mismatches: #{mismatches}, missing: #{missing} ]"
end