?????????????????????????????????
???????????? ???????[ 2011/10/13 9:39:18 ] ????????
????Cucumber??????Rspec????μ??????????????????????????????Given/When/Then??????????????????檔?????????????????????????????????????????????????????????????????????????????????????????????????????????????Junit?XP/TDD????????????Cucumber?????BDD??????????????Cucumber????????????????????
Scenario: valid pairs
02 Given a pair of integers "
03 When I initialize a Point with it
04 Then a point should be generated
05
06 Examples:
07 |x | y |
08 |3 | 1|
09 |0 | 0|
10
11 Scenario: invalid pairs
12 Given a pair of none integers "
13 When I initialize a Point with it
14 Then a point should raise exception
15
16 Examples:
17 |x |y |
18 |nil |3 |
19 |3 |nil |
20 |0.1|1 |
21 |1 |0.1|
????????Cucumber???BDD?????????????е??????
?????? ??TDD????????????????????????
?????? ?????????????????????д????-??????????д?????????д????????????д?????????????·Pass?????????????????????????????????????????????????????????
?????? ?????????????????????????
?????? ???????Э?????????????????????????????????????????????????
????TDD??????BDD
?????????TDD??BDD??????????????????
?????? TDD?У?????????????
???????????TDD???3??????????????????TDD???????????????д?????????????????????????????15??????????TDD?????д??????????????????е?????????в????????????????е?????????????????????TDD??????????????????????????????????????????????????????TDD?????????????????????????У?????????????????????TDD???????????????????????????????????????????????????????
?????? ??????????????
?????????????????BDD?????????Щ????????д???????????????????????У???????????????????????????????Э???????????????????????????????????????????????????????滹????Щ???????????????????????е????????????????Щ??д?????????????????????????????????д?????????????????????????Щ?????????Щ??
?????? ??????ü???
??????????TDD?????????????????????????????????????????????BDD??????Щ????????????????BDD???????????????ù???????????????Java??????????????Web?????????????????н??????Cucumber/Ruby?????????????????????????????????Java??BDD?????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11