Mais conteúdo relacionado Semelhante a Behavior Driven Infrastructure 2011-01 (20) Behavior Driven Infrastructure 2011-0110. What do we need?
'cucumber' => "~> 0.9.2"
'net-ssh' => "~> 2.0.23"
'webrat' => "~> 0.7.1"
'rspec' => "~> 2.0.0"
'cucumber-nagios' => "~> 0.7.6"
16. Scenario
Given the user ‘tom’ exists
When I look at the directory ‘/home/tom’
Then it should be owned by ‘tom’
And it should be mode 0755
18. Step Definitions
When /^I look at the directory '([^']*)'$/ do |arg1|
@filename = arg1
end
Then /^it should be owned by "([^"]*)"$/ do |arg1|
...
end
20. Thanks!
Jeffrey Hulten
jeffh@automatedlabs.com
http://automatedlabs.com
Feedback @ http://spkr8.com/t/5475
Notas do Editor \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n