<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    統計

    留言簿(1)

    DB

    Others

    QA

    Tech Website

    閱讀排行榜

    評論排行榜

    2011年6月2日 #

    【轉載】自動化測試體系整體解決方案探討

         摘要:  一個完整的自動化測試框架體系包含以下幾個部分:1、自動化測試框架;2、測試腳本以及測試數據管理;3、測試腳本的執行管理系統;4、測試結果的顯示與分析系統。其中最重要的是自動化測試框架部分。  閱讀全文

    posted @ 2011-08-30 18:59 XXXXXX 閱讀(349) | 評論 (0)編輯 收藏

    Java開源測試工具

         摘要: JUnit

    JUnit是由 Erich Gamma 和 Kent Beck 編寫的一個回歸測試框架(regression testing framework)。Junit測試是程序員測試,即所謂白盒測試,因為程序員知道被測試的軟件如何(How)完成功能和完成什么樣(What)的功能。Junit是一套框架,繼承TestCase類,就可以用Junit進行自動測試了。
    更多JUnit信息  閱讀全文

    posted @ 2011-08-30 17:29 XXXXXX 閱讀(349) | 評論 (0)編輯 收藏

    Linux Directory Structure (File System Structure) Explained with Examples

         摘要: 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  閱讀全文

    posted @ 2011-08-29 11:41 XXXXXX 閱讀(1846) | 評論 (1)編輯 收藏

    【轉】互聯網產品開發中的“快”字訣

         摘要: 當今互聯網的發展,已不是大魚吃小魚的時代,而是快魚吃慢魚的時代。互聯網產品的制勝原則就是一個字——“快”。在各種形態的產品研發中,我們始終貫徹如一的價值觀之一就是“快”,我們應該如何來理解和詮釋“快”?又會從哪些方面來執行貫徹這個原則呢?  閱讀全文

    posted @ 2011-08-28 23:47 XXXXXX 閱讀(329) | 評論 (0)編輯 收藏

    【轉載】軟件測試的十二個誤區

         摘要: 軟件測試的十二個誤區大體總結如下:

    1) 測試人員不需要了解軟件開發的知識:
    這個很要命的,我們談到軟件測試人員未來的發展方向大致有:自動化測試,性能測試,測試管理,項目經理。這其中自動化測試和性能測試包括項目管理,都會要求對軟件開發有深入的理解,如何能設計一個好的自動化框架,好的性能測試用例,如何管理一個開發團隊,這都需要我們在軟件開發方面有所掌握。不單要掌握,而且要精通。此其一。
    其二:如果不了解開發知識,測試人員很容易被開發人員牽著鼻子走,因為開發人員隨便一忽悠,你如果不了解個中奧妙,你一個字也說不上來。(以前我們討論 Cookie和Session,由于GoAhead不支持Session,只能用Cookie來控制,差點別開發人員忽悠了)  閱讀全文

    posted @ 2011-08-23 13:25 XXXXXX 閱讀(391) | 評論 (0)編輯 收藏

    【轉】Painless threading

         摘要: 寫在前面:寫Android程序有一個很重要的原則,不阻塞UI線程。因此Android提供了5種方法來,讓一些耗時的作業在其它線程中執行,然后把結果返回給UI線程,以免阻塞UI線程。  閱讀全文

    posted @ 2011-08-23 09:25 XXXXXX 閱讀(358) | 評論 (0)編輯 收藏

    Heuristics of Software Testability

    探討了軟件測試的可測試性,主要包括Controllability, Observability, Availability,Simplicity, Stability 和 Information.


    HeuristicsOfSoftwareTestability.pdf

    posted @ 2011-08-19 23:24 XXXXXX 閱讀(1390) | 評論 (0)編輯 收藏

    【轉】selector in Android

         摘要: android的selector的用法:
    首先android的selector是在drawable/xxx.xml中配置的。
    先看一下listview中的狀態:
    把下面的XML文件保存成你自己命名的.xml文件(比如list_item_bg.xml),在系統使用時根據ListView中的列表項的狀態來使用相應的背景圖片。drawable/list_item_bg.xml  閱讀全文

    posted @ 2011-08-16 23:12 XXXXXX 閱讀(285) | 評論 (0)編輯 收藏

    UI/Application Exerciser Monkey

         摘要: 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  閱讀全文

    posted @ 2011-08-13 10:14 XXXXXX 閱讀(505) | 評論 (0)編輯 收藏

    【轉】Python的標準logging模塊

         摘要: 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:

      閱讀全文

    posted @ 2011-08-12 14:49 XXXXXX 閱讀(1213) | 評論 (0)編輯 收藏

    Android Debug Bridge

         摘要:   閱讀全文

    posted @ 2011-08-11 13:22 XXXXXX 閱讀(892) | 評論 (0)編輯 收藏

    【轉】Linux IPC


    一)Linux環境進程間通信(一)管道及有名管道
    http://www.ibm.com/developerworks/cn/linux/l-ipc/part1/

    二)Linux環境進程間通信(二): 信號
    上:http://www.ibm.com/developerworks/cn/linux/l-ipc/part2/index1.html
    下:http://www.ibm.com/developerworks/cn/linux/l-ipc/part2/index2.html

    三)Linux環境進程間通信(三)消息隊列
    http://www.ibm.com/developerworks/cn/linux/l-ipc/part3/

    四)Linux環境進程間通信(四)信號燈
    http://www.ibm.com/developerworks/cn/linux/l-ipc/part4/

    五)Linux環境進程間通信(五): 共享內存
    上:http://www.ibm.com/developerworks/cn/linux/l-ipc/part5/index1.html
    下:http://www.ibm.com/developerworks/cn/linux/l-ipc/part5/index2.html

    posted @ 2011-07-31 08:53 XXXXXX 閱讀(246) | 評論 (0)編輯 收藏

    【轉】深入理解Android消息處理系統

         摘要: Android系統中Looper負責管理線程的消息隊列和消息循環,具體實現請參考Looper的源碼。 可以通過Loop.myLooper()得到當前線程的Looper對象,通過Loop.getMainLooper()可以獲得當前進程的主線程的Looper對象。  閱讀全文

    posted @ 2011-07-29 11:53 XXXXXX 閱讀(259) | 評論 (0)編輯 收藏

    Glossary of Android

         摘要: The list below defines some of the basic terminology of the Android platform.

    .apk file
    Android application package file. Each Android application is compiled and packaged in a single file that includes all of the application's code (.dex files), resources, assets, and manifest file. The application package file can have any name but must use the .apk extension. For example: myExampleAppname.apk. For convenience, an application package file is often referred to as an ".apk".
    Re  閱讀全文

    posted @ 2011-07-25 11:42 XXXXXX 閱讀(310) | 評論 (0)編輯 收藏

    Manifest.permission Summary

         摘要:   閱讀全文

    posted @ 2011-07-24 15:15 XXXXXX 閱讀(701) | 評論 (0)編輯 收藏

    Special Methods for Customizing Classes

         摘要: C.__init__(self[, arg1, ...] )
    Constructor (with any optional arguments)

    C.__new__(self[, arg1, ...] )[a]
    Constructor (with any optional argu ments); usually used for setting up subclassing of immutable data types

    C.__del__(self)
    Destructor

    C.__str__(self)
    Printable string representation; str() built-in and print statement

    C.__repr__(self)
    Evaluatable string representation; repr() built-in and '' operator

      閱讀全文

    posted @ 2011-07-21 23:25 XXXXXX 閱讀(251) | 評論 (0)編輯 收藏

    【轉】再談Yahoo關于性能優化的N條軍規

         摘要: 本來這是個老生常談的問題,上周自成又分享了一些性能優化的建議,我這里再做一個全面的Tips整理,謹作為查閱型的文檔,不妥之處,還請指正;
    如果你已經對yahoo這些優化建議爛熟于心,果斷點這里

      閱讀全文

    posted @ 2011-07-21 09:21 XXXXXX 閱讀(214) | 評論 (0)編輯 收藏

    【轉】Choosing a test automation framework


    Five test auomation framework are discussed in this paper.
    1) The Test Script Modularity Framework
    2) The Test Library Architecture Framework
    3) The Keyword-Driven or Table-Driven Testing Framework
    4) The Data-Driven Testing Framework
    5) The Hybrid Test Automation 

    posted @ 2011-07-15 22:30 XXXXXX 閱讀(313) | 評論 (0)編輯 收藏

    ASE入門

         摘要: 一、ASE(Android Scripting Environment)為Android系統帶來了腳本語言的技術,通過它我們可以編輯和執行腳本,和腳本解釋交互。腳本可以訪問多數Android API,目前有一個開源項目叫做Scripting Layer for Android (SL4A) ,提供了對python,javaScript, Lua等腳本的支持。ASE主要通過兩種方式來訪問 Android API,一種是通過JSON-RPC來訪問,另外一種通過BeanShell(Java語言的動態版本)直接訪問Android API。SL4AL架構如下圖:  閱讀全文

    posted @ 2011-07-10 10:08 XXXXXX 閱讀(2612) | 評論 (0)編輯 收藏

    獲取Android的Java源代碼并在Eclipse中關聯查看的最新方法

    感謝一網友做出的努力,具體請看:http://618119.com/archives/2011/01/01/201.html

    posted @ 2011-07-09 09:38 XXXXXX 閱讀(239) | 評論 (0)編輯 收藏

    【轉】Android 2.1 源碼結構分析

         摘要:   閱讀全文

    posted @ 2011-07-09 09:37 XXXXXX 閱讀(246) | 評論 (0)編輯 收藏

    Android Coding for Life-Battery Life

    關于Android編程中如果省電的講解

    可以作為開發者的參考 :)

    posted @ 2011-07-08 09:37 XXXXXX 閱讀(1573) | 評論 (0)編輯 收藏

    【轉】Java學習的30個目標以及系統架構師推薦的書

         摘要: 2.你需要學習JAVA語言的基礎知識以及它的核心類庫 (collections,serialization,streams,networking, multithreading,reflection,event,handling,NIO,localization,以及其他)。  閱讀全文

    posted @ 2011-06-18 15:25 XXXXXX 閱讀(688) | 評論 (1)編輯 收藏

    學習Python的好網站

    1)http://www.pythonchallenge.com/
      提供了不同level的Python題目,非常有趣的題目。做完一題后,把URL中的pc改為pcc可以看到上一題的答案

    2)http://projecteuler.net/
      里面有200多道題目,不要要求提交代碼,只要最終答案,提供用各種語言來解決問題。這里(http://dcy.is-programmer.com/posts/8750.html)有部分題目的答案

    非常好玩,有興趣的朋友,快來試試吧

    看看 project euler 的第一道題:

    If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. Find the sum of all the multiples of 3 or 5 below 1000.

    用 python 語言寫出來是:

     

    print sum(i for i in xrange(11000if i % 3 == 0 or i % 5 == 0)

     


     

    posted @ 2011-06-17 20:26 XXXXXX 閱讀(4384) | 評論 (2)編輯 收藏

    Dom4j解釋XML示例

         摘要:   閱讀全文

    posted @ 2011-06-15 17:53 XXXXXX 閱讀(366) | 評論 (0)編輯 收藏

    【轉】《InfoQ Explores: REST》介紹

    This is the first edition of what is expected to become a recurring series on InfoQ. The idea behind this minibook is that a number of InfoQ articles and interviews which deal with a particular topic (in this case, REpresentational State Transfer, or REST) are combined together to provide a detailed exploration suitable for both beginners and advanced practitioners.

    Read More: http://www.infoq.com/minibooks/emag-03-2010-rest;jsessionid=1E2375E822D980824403DAD46588FAFE

    posted @ 2011-06-15 12:39 XXXXXX 閱讀(247) | 評論 (0)編輯 收藏

    Python中的Closure


    #定義:如果在一個內部函數里,對在外部作用域(但不是在全局作用域)的變量進行引用,那么內部函數就被認為是閉包(closure)
    分解來說,包含下面3個條件:
    1) 需要函數嵌套, 就是一個函數里面再寫一個函數.
    2) 外部函數需要返回一個內部函數的引
    3) 外部函數中有一些局部變量, 并且, 這些局部變量在內部函數中有使用
    一些概念:
    1)自由變量: 外部函數中定義的局部變量, 并且在內部函數中被使用
    2) 閉包: 那個使用了自由變量并被返回的內部函數就稱為閉包

    #支持閉包的語言有這樣的特性:
    1)函數是一階值(First-class value),即函數可以作為另一個函數的返回值或參數,還可以作為一個變量的值
    2)函數可以嵌套定義,即在一個函數內部可以定義另一個函數

    #代碼示例

     1def counter(start_at=0):
     2    count = [start_at]
     3    def incr():
     4        count[0] += 1   #對局部變量的引用
     5        return count[0]
     6    return incr  #返回一個函數對象
     7
     8
     9if __name__ == '__main__':
    10    c = counter(3)
    11    print type(c)
    12    print c()
    13    print c()
    14


     

    posted @ 2011-06-15 07:31 XXXXXX 閱讀(1307) | 評論 (0)編輯 收藏

    Trie Tree

         摘要: #Trie Tree的基本特點
    1)根節點不包含字符,除根節點外每個節點只包含一個字符
    2)從根節點到某一個節點,路徑上經過的字符連接起來,為該節點對應的字符串

    3)每個節點的所有子節點包含的字符串不相同
      閱讀全文

    posted @ 2011-06-14 16:57 XXXXXX 閱讀(1083) | 評論 (0)編輯 收藏

    Bloom Filter

         摘要: The Bloom filter, conceived by Burton Howard Bloom in 1970, is a space-efficient probabilistic data structure that is used to test whether an element is a member of a set.False positivesare possible, but false negatives are not. Elements can be added to the set, but not removed (though this can be addressed with a counting filter). The more elements that are added to the set, the larger the probability of false positives
      閱讀全文

    posted @ 2011-06-12 23:58 XXXXXX 閱讀(299) | 評論 (0)編輯 收藏

    【轉】How Google Tests Software - A Brief Interlude

         摘要: These posts have garnered a number of interesting comments. I want to address two of the negative ones in this post. Both are of the same general opinion that I am abandoning testers and that Google is not a nice place to ply this trade. I am puzzled by these comments because nothing could be further from the truth. One such negative comment I can take as a one-off but two smart people (hey they are reading this blog, right?) having this impression requires a rebuttal. Here are the comments:  閱讀全文

    posted @ 2011-06-06 16:03 XXXXXX 閱讀(337) | 評論 (0)編輯 收藏

    【轉】How Google Tests Software - Part Six

         摘要:   閱讀全文

    posted @ 2011-06-04 16:08 XXXXXX 閱讀(243) | 評論 (0)編輯 收藏

    【轉】How Google Tests Software - Part Seven

         摘要:   閱讀全文

    posted @ 2011-06-04 16:08 XXXXXX 閱讀(262) | 評論 (0)編輯 收藏

    【轉】How Google Tests Software - Part Five

         摘要:   閱讀全文

    posted @ 2011-06-04 15:54 XXXXXX 閱讀(290) | 評論 (0)編輯 收藏

    【轉】How Google Tests Software - Part Four

         摘要: One of the key ways Google achieves good results with fewer testers than many companies is that we rarely attempt to ship a large set of features at once. In fact, the exact opposite is often the goal: build the core of a product and release it the moment it is useful to as large a crowd as feasible, then get their feedback and iterate. This is what we did with Gmail, a product that kept its beta tag for four years. That tag was our warning to users that it was still being perfected. We removed   閱讀全文

    posted @ 2011-06-04 15:43 XXXXXX 閱讀(260) | 評論 (0)編輯 收藏

    【轉】How Google Tests Software - Part Three

         摘要: Lots of questions in the comments to the last two posts. I am not ignoring them. Hopefully many of them will be answered here and in following posts. I am just getting started on this topic.  閱讀全文

    posted @ 2011-06-04 10:44 XXXXXX 閱讀(289) | 評論 (0)編輯 收藏

    【轉】How Google Tests Software - Part Two

         摘要:   閱讀全文

    posted @ 2011-06-02 11:00 XXXXXX 閱讀(272) | 評論 (0)編輯 收藏

    主站蜘蛛池模板: 亚洲人成图片小说网站| 全亚洲最新黄色特级网站 | 9277手机在线视频观看免费| 亚洲精品无码永久在线观看| 青青草97国产精品免费观看| 天堂亚洲免费视频| WWW免费视频在线观看播放| 亚洲精品视频免费观看| 99在线免费视频| 亚洲国产精品自在在线观看| 18成禁人视频免费网站| 亚洲av片不卡无码久久| 国产色爽免费视频| 亚洲精品视频免费观看| 久久久久久久综合日本亚洲| 最近免费中文字幕大全免费版视频| 亚洲视频小说图片| 天天摸天天碰成人免费视频| 污视频网站免费观看| 亚洲中文字幕久久精品无码APP| 国产精品免费福利久久| 亚洲伊人久久大香线蕉在观| 免费观看的毛片手机视频| 免费看又黄又爽又猛的视频软件| 亚洲毛片αv无线播放一区| 1000部国产成人免费视频| 亚洲大码熟女在线观看| 中文字幕精品亚洲无线码一区| 性无码免费一区二区三区在线| 亚洲mv国产精品mv日本mv| 亚洲免费视频网站| 1000部啪啪毛片免费看| 亚洲国产午夜精品理论片在线播放 | 亚洲人成影院午夜网站| 免费毛片网站在线观看| 精品久久久久久国产免费了| 久久精品视频亚洲| 国产在线19禁免费观看| 亚洲精品免费视频| 边摸边脱吃奶边高潮视频免费| 亚洲色图视频在线观看|