關於android程式的測試

2021-08-04 21:50:03 字數 415 閱讀 8565

測試的相關概念

根據測試是否知道源**:

黑盒測試:只關心程式執行的過程和結果。

白盒測試:根據程式的源**,寫測試方法或測試用例。

根據測試的粒度:

方法測試:function test

單元測試:unit test

整合測試:intergration test

根據測試的次數:

冒煙測試:smoke test(android 猴子)

壓力測試:pressure test

android下junit測試框架配置

最近很忙,沒有時間整理了,抱歉

logcat 簡介

最近很忙,沒有時間整理了,抱歉!

關於Android程式入口的猜想

那可以理解說,在啟動應用程式的時候,zygote服務先啟動乙個虛擬機器例項,然後由這個虛擬機器來對應用進行解析。每個android應用都存在androidmanifest.xml檔案,解析這個檔案就會了解整個應用的元件資訊,在其中會指定乙個activity的intent filter內容為 acti...

關於對殭屍程式的測試

include include include int main int argc,const char argv else if pid 0 printf child is over n exit 0 else return 0 編譯並執行此程式 呼叫ps aux grep a.out 這是前五秒...

關於android應用程式的入口

關於android應用程式的入口 android應用程式,由一到多個activity組成.每個activity沒有很緊密的聯絡,因為我們可以在自己的程式中呼叫其它activity,特別是呼叫自己的 之外生成的activity,比如android提供的發簡訊或者打 的activity.分類 andro...