自動化測試工具:Cucumber

jopen 11年前發布 | 19K 次閱讀 Cucumber 測試工具

自動化測試工具:Cucumber

Cucumber 是一個能夠理解用普通語言 描述的測試用例的支持行為驅動開發(BDD)的自動化測試工具,用Ruby編寫,支持Java和.Net等多種開發語言。

1: Describe behaviour in plain text

自動化測試工具:Cucumber

2: Write a step definition in Ruby

自動化測試工具:Cucumber

3: Run and watch it fail

自動化測試工具:Cucumber

4. Write code to make the step pass

自動化測試工具:Cucumber

5. Run again and see the step pass

自動化測試工具:Cucumber

6. Repeat 2-5 until green like a cuke

自動化測試工具:Cucumber

項目主頁:http://www.baiduhome.net/lib/view/home/1365603355078

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!