class CucumberTest

Public Instance Methods

test_argument_mapping() click to toggle source
# File lib/parallel_cucumber/helper/unittest/cucumber_test.rb, line 5
def test_argument_mapping
  s, m = ParallelCucumber::Helper::Cucumber.batch_mapped_files('--out foo/bar -o wib/ble', 'ARGH', {})
  assert_equal('--out ARGH/bar -o ARGH/ble', s)
  assert_equal({ 'foo/bar' => 'ARGH/bar', 'wib/ble' => 'ARGH/ble' }, m)
end