Sha256: 81cbbd1407d41c9b0db5b4fe20390e3ffbced24bafc0a9a0cd9af3ba3393b95d

Contents?: true

Size: 989 Bytes

Versions: 2

Compression:

Stored size: 989 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|date|"version":)').should be_truthy
# end

# Then(/^I expect the named output to match the named output "([^"]*)" in under (\d+) seconds$/) do |arg1, arg2|
#   RegressionTest::CliExec::exec(@cmd,arg1,ignore: '(##BioVcf|date|"version":)',timeout: arg2.to_i).should be_truthy
# 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_truthy
# end

# Then(/^I expect no errors$/) do 
#   RegressionTest::CliExec::exec(@cmd, "empty").should be_truthy
# end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bio-vcf-0.9.5 features/step_definitions/cli-feature.rb
bio-vcf-0.9.4 features/step_definitions/cli-feature.rb