Android????????????????????????????
???????С?? ???????[ 2016/8/26 14:38:16 ] ??????????? ???????
?????????????????????JUnit Rule???????????????????BDD?????????????????????????????????????????????д?ü????????????????????????????????????????????????????????????????д????????????????£??????????????????????????л???Сд??д?????鷳???????????????????????????д????????鷳?????????ù?BDD???Щ????????RSpec??Cucumber??Jasmine??????????????????“????”????????????ù??????????“????”???????????????
????describe Hash do
????# ?????????????????it????????????????????????“????”
????it "hashes the correct information in a key" do
????expect(hash[:hello]).to eq('world')
????end
????end
?????????????????????????????????????????????????????????????????????JUnit Rule???????Ч?????????????????????annotation?????annotation???????String?????????????????????????????Rule???潫???annotation????????????????????????????????????String????????error message???檔?????????????е?????????????????????????????????????????????????????????
????????Ч?????£?
?????????????????????μ???
????????JUnit Rule????????????????google??£???????
????7. ????????AndroidStudio???????д????????
????AndroidStudio?к??feature???????????????д????????code generation??live template????????д?????????????????????д????????????Ч????????????????????????????????????????????live template????????????á????????????д????????????д?Щ?????????Class??method?????alt+enter??AndroidStudio??????????ɡ?
????8. ?????????
????????????????????????????????????????????????????Щ???????д??????????????????????????в???????????в???á?Martin Fowler???
????Imperfect tests?? run frequently?? are much better than perfect tests that are never written at all.
??????????????д???????????????????д???????????????д????????????????д?????????work???????????????????????????д???????????????????????Щ???ò???????????????????д????????????????檔
????9. δ???????
???????Groovy??RoboSpock??????Kotlin??Spek?????????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