Sha256: cd5b34e35bd55fe207202c17506b85aab173e44eda00cd4e3dbf6c90aec801af

Contents?: true

Size: 419 Bytes

Versions: 5

Compression:

Stored size: 419 Bytes

Contents

module HeadlessSquirrel
  class TestCase < OSX::NSObject
    class Test
      attr_reader :test_case, :name, :state, :output
      
      def initialize(test_case, name, state, output)
        @test_case, @name, @state, @output = test_case, name, state, output
      end
      
      def to_s
%{#{@state.to_s.capitalize}:
#{@name} (#{@test_case.title}) [#{@test_case.html_file}]:
#{@output}}
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
Fingertips-headless-squirrel-0.2.0 lib/headless_squirrel/test.rb
Fingertips-headless-squirrel-0.3.0 lib/headless_squirrel/test.rb
Fingertips-headless-squirrel-0.4.0 lib/headless_squirrel/test.rb
Fingertips-headless-squirrel-0.5.0 lib/headless_squirrel/test.rb
headless-squirrel-0.5.1 lib/headless_squirrel/test.rb