一開始先用Mockito 來寫unit test,利用mock object (搭配mockable android.jar ) 把Android framework 的相依性隔離(isolate) 開來。 Mocking Android in Unit Tests ...
確定! 回上一頁