????????Android App ?????????
?????Sergey Grekov ???????[ 2017/7/10 15:14:01 ] ??????????????? ??????? APP????
??????д?????ó?????????д????????????ó???????????????????????У??????????????????????????????????????????????????
?????????????????????У?????????????б?д????????????????????£???????????????????????????á????????????????????????д???????????????????????δ???????????????????????????????????????????????????? JaCoCo ?????????????????????м????????????????????
????JaCoCo ????? Java Code Coverage tool????????? Java ??????????????????????????????????? Android ?????????????????????洦??????????к????????? Android ????????????? JaCoCo ???????????????棬????????????????????????????????? JaCoCo ??????????????У?鸚?????????????????????????? CI ?????pipeline???С?
??????????????????????? App??????????????棺???????????檔
?????????????????????????????????????????????汾????????????????
??????????? Github??https://github.com/sgrekov/AndroidJacocoSample ?????????????????????
??????????????????????????????????? MVP ????????ζ??????? Activities ????????? View??????????? UI ??????? Presenters ?С?????????????? LoginPresenter??????????????????????????????У?飬????????????????????У??????????????????????????????? MainActivity???? LoginPresenterTest ?????Щ????????MVP ???????????? View ????о????????????????????????????? Presenters ?У???????????????????????????????????????????????????????????? JaCoCo??????????? View ????Щ Android ???????????????????????????????????????檔
??????????????????????????????????????????? 'com/androidjacoco/sample/**/view/**.*' ??????????????????????????????????????????е? View ??
????????????????????????????У?
?????????????????????????????棺
?????????????????????????????Щ??????? Presenters ????????
????????????????и??????
????Missed Instructions???????????У??????????????????????????????б???е?????????????λ????? Java ???????
????Missed Branches?????????????????д???????????????????????л?????б???е?????????
????Classes?????????е????????????????????й???????????????????е??
???????????????????????μ???http://www.jacoco.org/jacoco/trunk/doc/counters.html??
?????????????? LoginPresenter ??????????????к????б???е???????????
???????????????£???????????????????е? SingleObserver ???? Consumer ????????л??????????????????????????????汨??? com.androidjacoco.sample.login.presenter ???????????? classes ?е????????????
??????
???·???
??????????????????
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