Sha256: a58c89bbe0c7e012ae0960e67a3e2ffdaf423394f12b58d80eec77f740c4acfe

Contents?: true

Size: 609 Bytes

Versions: 3

Compression:

Stored size: 609 Bytes

Contents

Given /^I have input file\(s\) named "(.*?)"$/ do |arg1|
  @filenames = arg1.split(/,/)
end

When /^I execute "(.*?)"$/ do |arg1|
  @cmd = arg1 + ' < ' + @filenames[0]
end

Then(/^I expect the named output to match the named output "(.*?)"$/) do |arg1|
  RegressionTest::CliExec::exec(@cmd,arg1,ignore: '##BioVcf=').should be_true
end

Then(/^I expect an error and the named output to match the named output "(.*?)" in under (\d+) seconds$/) do |arg1,arg2|
  RegressionTest::CliExec::exec(@cmd,arg1,ignore: '(FATAL|Waiting|from|vcf|Options|Final pid)',should_fail: true,timeout:arg2.to_i).should be_true
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bio-vcf-0.8.1 features/step_definitions/cli-feature.rb
bio-vcf-0.8.0 features/step_definitions/cli-feature.rb
bio-vcf-0.7.3 features/step_definitions/cli-feature.rb