Android????????2?????????????
???????????? ???????[ 2016/6/7 14:23:19 ] ????????Android ???????
????????????
?????????????????д????????????????????TDD?????????????????????д????С??????????????????????????????SRP?????????????????????????????????????????????????????????棨????Activity????????????????????????????????е????д??????Щ????????Щ?????????
???????????TDD????????????????????к??????????????????????????????????????????仰??????????????????????????????TDD???????????????????????????????????????????????д??????????д???????????????и????????
???????????????
?????е?????????????????????????????д????????????????????????????????????????????????????????????????????????????????????????
??????????д????????
???????????????????д????????????????????????????????Щ??????????google “why unit testing”??????????????????????????к?????д?????????????????????????????????????????????
?????????д????????????????????????????????д????????????????д?????????????????????????????????????????
????1. ????????????????????????????
????????????????????????????????治????????JUnit???????????Mokito??????Robolectric????????????????????????????????????????????????????????????д??????Android????Robolectric?????????????????????????????????Android???????????????????д???????????????????????Щ????????δ???????????????Щ???
????2. ????????е????е????????????????????????????????????????
????????е???????????????????е???????????????????б???????????????????????????????????????????????????????????????????????????????????????
??????????????????????????????????????????????????ζ??????????????????????????????????????????????????????????????飬???ο?????????????????????м???????顣
?????????????????????????????????????????????????????????飬??????????????????????????????????д????????????????????????д??????????????????????顣?????????????ò??????????????????????????????????????????????????????????????Щ??????????д??????д???????????????????????潲?????????????????????д??????????????????????????????????
????С??
???????????????????????д??????????????????????????????????????????????鵥?????????20???У?????5??????“???д??????????”???飬???????????????????????
????· Code Complete
????· The Pragmatic Programmer
????· Refactoring: Improving the Design of Existing Code
????· Clean Code: A Handbook of Agile Software Craftsmanship by Robert C. Martin
????· Working Effectively with Legacy Code by Michael C. Feathers
?????????????£???????????????????????????????????????????????е??????????????????????????????????
???????????????????????漰???????????????????SPASVOС??(021-61079698-8054)?????????????????????????
??????
iOS???????mocha??chai??sinon??istanbul???????????????????????????????????????д?????Java????????7??????Android?????????Robolectric3.0????(?)???Kiwi?????????????????????????????????Python?????????????????????????????????????Controller????????д?????????10???????????????????Angular????????????Component??Directive??Pipe ???ServiceAndroid????????????????????????????????--Mockito??????iOS UnitTest???????Vue?????????????????
???·???
??????????????????
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????????
?????????App Bug???????????????????????Jmeter?????????QC??????APP????????????????app?????е????????jenkins+testng+ant+webdriver??????????????JMeter????HTTP???????Selenium 2.0 WebDriver ??????