2011年8月30日
#
摘要: 一個(gè)完整的自動(dòng)化測(cè)試框架體系包含以下幾個(gè)部分:1、自動(dòng)化測(cè)試框架;2、測(cè)試腳本以及測(cè)試數(shù)據(jù)管理;3、測(cè)試腳本的執(zhí)行管理系統(tǒng);4、測(cè)試結(jié)果的顯示與分析系統(tǒng)。其中最重要的是自動(dòng)化測(cè)試框架部分。
閱讀全文
摘要: JUnit
JUnit是由 Erich Gamma 和 Kent Beck 編寫的一個(gè)回歸測(cè)試框架(regression testing framework)。Junit測(cè)試是程序員測(cè)試,即所謂白盒測(cè)試,因?yàn)槌绦騿T知道被測(cè)試的軟件如何(How)完成功能和完成什么樣(What)的功能。Junit是一套框架,繼承TestCase類,就可以用Junit進(jìn)行自動(dòng)測(cè)試了。
更多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日
#
摘要: 當(dāng)今互聯(lián)網(wǎng)的發(fā)展,已不是大魚吃小魚的時(shí)代,而是快魚吃慢魚的時(shí)代。互聯(lián)網(wǎng)產(chǎn)品的制勝原則就是一個(gè)字——“快”。在各種形態(tài)的產(chǎn)品研發(fā)中,我們始終貫徹如一的價(jià)值觀之一就是“快”,我們應(yīng)該如何來理解和詮釋“快”?又會(huì)從哪些方面來執(zhí)行貫徹這個(gè)原則呢?
閱讀全文
2011年8月23日
#
摘要: 軟件測(cè)試的十二個(gè)誤區(qū)大體總結(jié)如下:
1) 測(cè)試人員不需要了解軟件開發(fā)的知識(shí):
這個(gè)很要命的,我們談到軟件測(cè)試人員未來的發(fā)展方向大致有:自動(dòng)化測(cè)試,性能測(cè)試,測(cè)試管理,項(xiàng)目經(jīng)理。這其中自動(dòng)化測(cè)試和性能測(cè)試包括項(xiàng)目管理,都會(huì)要求對(duì)軟件開發(fā)有深入的理解,如何能設(shè)計(jì)一個(gè)好的自動(dòng)化框架,好的性能測(cè)試用例,如何管理一個(gè)開發(fā)團(tuán)隊(duì),這都需要我們?cè)谲浖_發(fā)方面有所掌握。不單要掌握,而且要精通。此其一。
其二:如果不了解開發(fā)知識(shí),測(cè)試人員很容易被開發(fā)人員牽著鼻子走,因?yàn)殚_發(fā)人員隨便一忽悠,你如果不了解個(gè)中奧妙,你一個(gè)字也說不上來。(以前我們討論 Cookie和Session,由于GoAhead不支持Session,只能用Cookie來控制,差點(diǎn)別開發(fā)人員忽悠了)
閱讀全文
摘要: 寫在前面:寫Android程序有一個(gè)很重要的原則,不阻塞UI線程。因此Android提供了5種方法來,讓一些耗時(shí)的作業(yè)在其它線程中執(zhí)行,然后把結(jié)果返回給UI線程,以免阻塞UI線程。
閱讀全文
2011年8月19日
#
探討了軟件測(cè)試的可測(cè)試性,主要包括Controllability, Observability, Availability,Simplicity, Stability 和 Information.
HeuristicsOfSoftwareTestability.pdf
2011年8月16日
#
摘要: android的selector的用法:
首先android的selector是在drawable/xxx.xml中配置的。
先看一下listview中的狀態(tài):
把下面的XML文件保存成你自己命名的.xml文件(比如list_item_bg.xml),在系統(tǒng)使用時(shí)根據(jù)ListView中的列表項(xiàng)的狀態(tài)來使用相應(yīng)的背景圖片。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:
閱讀全文