Sha256: a119aacc0a99d94c34efb24ab0cafa8f75ba36d175d351ffc277b618b1fe9d07

Contents?: true

Size: 590 Bytes

Versions: 12

Compression:

Stored size: 590 Bytes

Contents

$:.unshift File.dirname(__FILE__)

#$oats_unit_test = { 'input_args' => [ "-g" , "#{UNIT_TEST_DIR}/test_xl_lists_Gemfile.rb" ]}
require 'common_test_unit_setup'

class Test_Xl_Lists < Test::Unit::TestCase
  include Oats::CommonTestUnitSetup

  def test_xl_lists
#    params.delete('-q')
    test_lists = Oats.run(['-q', 'SampleXlLists.xls'])['test_files'].variations.first.tests
    assert_equal 2, test_lists[0].variations.first.pass , "Passes in first worksheet doesn't match"
    assert_equal 1, test_lists[1].variations.first.pass , "Passes in secod worksheet doesn't match"
  end

end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
oats-0.1.4 test/test_xl_lists.rb
oats-0.1.1 test/test_xl_lists.rb
oats-0.1.0 test/test_xl_lists.rb
oats-0.0.9 test/test_xl_lists.rb
oats-0.0.8 test/test_xl_lists.rb
oats-0.0.7 test/test_xl_lists.rb
oats-0.0.6 test/test_xl_lists.rb
oats-0.0.5 test/test_xl_lists.rb
oats-0.0.4 test/test_xl_lists.rb
oats-0.0.3 test/test_xl_lists.rb
oats-0.0.2 test/test_xl_lists.rb
oats-0.0.1 test/test_xl_lists.rb