摘要:
a)Multi-line Text 在feature文件中,我们可以嵌入多行文本(multi-line string)作为参数,我们需要用一对三个双引号把我们的文本括起来。《The RSpec Book》一书中的示例如下:feature文件: 1 Scenario: pending implementation 2 Given a file named "example_without_block_spec.rb" with: 3 """ 4 describe "an example" do 5 it "has n 阅读全文
posted @ 2012-03-06 18:30
贺满
阅读(4081)
评论(0)
推荐(0)
摘要:
ExamplesAll examples are designed to work on the live Watir demo form:http://bit.ly/watir-example.Loading RubyGemsIf you’re a first time Ruby user, you need to understand how to load Ruby gems such as Watir. You can require it via the-rubygemscommand line option or by using theRUBYOPTenvironment var 阅读全文
posted @ 2012-03-06 09:51
贺满
阅读(396)
评论(0)
推荐(0)
浙公网安备 33010602011771号