2011年8月30日
#
摘要: 一個完整的自動化測試框架體系包含以下幾個部分:1、自動化測試框架;2、測試腳本以及測試數據管理;3、測試腳本的執行管理系統;4、測試結果的顯示與分析系統。其中最重要的是自動化測試框架部分。
閱讀全文
摘要: JUnit
JUnit是由 Erich Gamma 和 Kent Beck 編寫的一個回歸測試框架(regression testing framework)。Junit測試是程序員測試,即所謂白盒測試,因為程序員知道被測試的軟件如何(How)完成功能和完成什么樣(What)的功能。Junit是一套框架,繼承TestCase類,就可以用Junit進行自動測試了。
更多JUnit信息
閱讀全文
2011年8月29日
#
摘要: Have you wondered why certain programs are located under /bin, or /sbin, or /usr/bin, or /usr/sbin?
For example, less command is located under /usr/bin directory. Why not /bin, or /sbin, or /usr/sbin? What is the different between all these directories?
In this article, let us review the Linux filesystem structures and understand the meaning of individual high-level directories
閱讀全文
2011年8月28日
#
摘要: 當今互聯網的發展,已不是大魚吃小魚的時代,而是快魚吃慢魚的時代。互聯網產品的制勝原則就是一個字——“快”。在各種形態的產品研發中,我們始終貫徹如一的價值觀之一就是“快”,我們應該如何來理解和詮釋“快”?又會從哪些方面來執行貫徹這個原則呢?
閱讀全文
2011年8月23日
#
摘要: 軟件測試的十二個誤區大體總結如下:
1) 測試人員不需要了解軟件開發的知識:
這個很要命的,我們談到軟件測試人員未來的發展方向大致有:自動化測試,性能測試,測試管理,項目經理。這其中自動化測試和性能測試包括項目管理,都會要求對軟件開發有深入的理解,如何能設計一個好的自動化框架,好的性能測試用例,如何管理一個開發團隊,這都需要我們在軟件開發方面有所掌握。不單要掌握,而且要精通。此其一。
其二:如果不了解開發知識,測試人員很容易被開發人員牽著鼻子走,因為開發人員隨便一忽悠,你如果不了解個中奧妙,你一個字也說不上來。(以前我們討論 Cookie和Session,由于GoAhead不支持Session,只能用Cookie來控制,差點別開發人員忽悠了)
閱讀全文
摘要: 寫在前面:寫Android程序有一個很重要的原則,不阻塞UI線程。因此Android提供了5種方法來,讓一些耗時的作業在其它線程中執行,然后把結果返回給UI線程,以免阻塞UI線程。
閱讀全文
2011年8月19日
#
探討了軟件測試的可測試性,主要包括Controllability, Observability, Availability,Simplicity, Stability 和 Information.
HeuristicsOfSoftwareTestability.pdf
2011年8月16日
#
摘要: android的selector的用法:
首先android的selector是在drawable/xxx.xml中配置的。
先看一下listview中的狀態:
把下面的XML文件保存成你自己命名的.xml文件(比如list_item_bg.xml),在系統使用時根據ListView中的列表項的狀態來使用相應的背景圖片。drawable/list_item_bg.xml
閱讀全文
2011年8月13日
#
摘要: The Monkey is a command-line tool that that you can run on any emulator instance or on a device. It sends a pseudo-random stream of user events into the system, which acts as a stress test on the application software you are developing.
The Monkey includes a number of options, but they break down into four primary categories:
Basic configuration options, such as setting the number of events to attempt.
Operational constraints, such as restricting the test to a single packag
閱讀全文
2011年8月12日
#
摘要: Programmers can configure logging either by creating loggers, handlers, and formatters explicitly in a main module with the configuration methods listed above (using Python code), or by creating a logging config file. The following code is an example of configuring a very simple logger, a console handler, and a simple formatter in a Python module:
閱讀全文