Sha256: 7535ca59a8e4d023bae55199f22f54e9871a8f4a461c45906568dfff559a22d4
Contents?: true
Size: 630 Bytes
Versions: 1
Compression:
Stored size: 630 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 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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bio-vcf-0.9.0 | features/step_definitions/cli-feature.rb |