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

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

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

    統(tǒng)計(jì)

    留言簿(1)

    DB

    Others

    QA

    Tech Website

    閱讀排行榜

    評(píng)論排行榜

    2011年6月15日 #

    【轉(zhuǎn)載】自動(dòng)化測(cè)試體系整體解決方案探討

         摘要:  一個(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è)試框架部分。  閱讀全文

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

    Java開(kāi)源測(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信息  閱讀全文

    posted @ 2011-08-30 17:29 XXXXXX 閱讀(349) | 評(píng)論 (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) | 評(píng)論 (1)編輯 收藏

    【轉(zhuǎn)】互聯(lián)網(wǎng)產(chǎn)品開(kāi)發(fā)中的“快”字訣

         摘要: 當(dāng)今互聯(lián)網(wǎng)的發(fā)展,已不是大魚(yú)吃小魚(yú)的時(shí)代,而是快魚(yú)吃慢魚(yú)的時(shí)代。互聯(lián)網(wǎng)產(chǎn)品的制勝原則就是一個(gè)字——“快”。在各種形態(tài)的產(chǎn)品研發(fā)中,我們始終貫徹如一的價(jià)值觀之一就是“快”,我們應(yīng)該如何來(lái)理解和詮釋“快”?又會(huì)從哪些方面來(lái)執(zhí)行貫徹這個(gè)原則呢?  閱讀全文

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

    【轉(zhuǎn)載】軟件測(cè)試的十二個(gè)誤區(qū)

         摘要: 軟件測(cè)試的十二個(gè)誤區(qū)大體總結(jié)如下:

    1) 測(cè)試人員不需要了解軟件開(kāi)發(fā)的知識(shí):
    這個(gè)很要命的,我們談到軟件測(cè)試人員未來(lái)的發(fā)展方向大致有:自動(dòng)化測(cè)試,性能測(cè)試,測(cè)試管理,項(xiàng)目經(jīng)理。這其中自動(dòng)化測(cè)試和性能測(cè)試包括項(xiàng)目管理,都會(huì)要求對(duì)軟件開(kāi)發(fā)有深入的理解,如何能設(shè)計(jì)一個(gè)好的自動(dòng)化框架,好的性能測(cè)試用例,如何管理一個(gè)開(kāi)發(fā)團(tuán)隊(duì),這都需要我們?cè)谲浖_(kāi)發(fā)方面有所掌握。不單要掌握,而且要精通。此其一。
    其二:如果不了解開(kāi)發(fā)知識(shí),測(cè)試人員很容易被開(kāi)發(fā)人員牽著鼻子走,因?yàn)殚_(kāi)發(fā)人員隨便一忽悠,你如果不了解個(gè)中奧妙,你一個(gè)字也說(shuō)不上來(lái)。(以前我們討論 Cookie和Session,由于GoAhead不支持Session,只能用Cookie來(lái)控制,差點(diǎn)別開(kāi)發(fā)人員忽悠了)  閱讀全文

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

    【轉(zhuǎn)】Painless threading

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

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

    Heuristics of Software Testability

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


    HeuristicsOfSoftwareTestability.pdf

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

    【轉(zhuǎn)】selector in Android

         摘要: 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)來(lái)使用相應(yīng)的背景圖片。drawable/list_item_bg.xml  閱讀全文

    posted @ 2011-08-16 23:12 XXXXXX 閱讀(285) | 評(píng)論 (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) | 評(píng)論 (0)編輯 收藏

    【轉(zhuǎn)】Python的標(biāo)準(zhǔn)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) | 評(píng)論 (0)編輯 收藏

    Android Debug Bridge

         摘要:   閱讀全文

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

    【轉(zhuǎn)】Linux IPC


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

    二)Linux環(huán)境進(jìn)程間通信(二): 信號(hào)
    上: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環(huán)境進(jìn)程間通信(三)消息隊(duì)列
    http://www.ibm.com/developerworks/cn/linux/l-ipc/part3/

    四)Linux環(huán)境進(jìn)程間通信(四)信號(hào)燈
    http://www.ibm.com/developerworks/cn/linux/l-ipc/part4/

    五)Linux環(huán)境進(jìn)程間通信(五): 共享內(nèi)存
    上: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) | 評(píng)論 (0)編輯 收藏

    【轉(zhuǎn)】深入理解Android消息處理系統(tǒng)

         摘要: Android系統(tǒng)中Looper負(fù)責(zé)管理線程的消息隊(duì)列和消息循環(huán),具體實(shí)現(xiàn)請(qǐng)參考Looper的源碼。 可以通過(guò)Loop.myLooper()得到當(dāng)前線程的Looper對(duì)象,通過(guò)Loop.getMainLooper()可以獲得當(dāng)前進(jìn)程的主線程的Looper對(duì)象。  閱讀全文

    posted @ 2011-07-29 11:53 XXXXXX 閱讀(259) | 評(píng)論 (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) | 評(píng)論 (0)編輯 收藏

    Manifest.permission Summary

         摘要:   閱讀全文

    posted @ 2011-07-24 15:15 XXXXXX 閱讀(701) | 評(píng)論 (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) | 評(píng)論 (0)編輯 收藏

    【轉(zhuǎn)】再談Yahoo關(guān)于性能優(yōu)化的N條軍規(guī)

         摘要: 本來(lái)這是個(gè)老生常談的問(wèn)題,上周自成又分享了一些性能優(yōu)化的建議,我這里再做一個(gè)全面的Tips整理,謹(jǐn)作為查閱型的文檔,不妥之處,還請(qǐng)指正;
    如果你已經(jīng)對(duì)yahoo這些優(yōu)化建議爛熟于心,果斷點(diǎn)這里

      閱讀全文

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

    【轉(zhuǎn)】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) | 評(píng)論 (0)編輯 收藏

    ASE入門

         摘要: 一、ASE(Android Scripting Environment)為Android系統(tǒng)帶來(lái)了腳本語(yǔ)言的技術(shù),通過(guò)它我們可以編輯和執(zhí)行腳本,和腳本解釋交互。腳本可以訪問(wèn)多數(shù)Android API,目前有一個(gè)開(kāi)源項(xiàng)目叫做Scripting Layer for Android (SL4A) ,提供了對(duì)python,javaScript, Lua等腳本的支持。ASE主要通過(guò)兩種方式來(lái)訪問(wèn) Android API,一種是通過(guò)JSON-RPC來(lái)訪問(wèn),另外一種通過(guò)BeanShell(Java語(yǔ)言的動(dòng)態(tài)版本)直接訪問(wèn)Android API。SL4AL架構(gòu)如下圖:  閱讀全文

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

    獲取Android的Java源代碼并在Eclipse中關(guān)聯(lián)查看的最新方法

    感謝一網(wǎng)友做出的努力,具體請(qǐng)看:http://618119.com/archives/2011/01/01/201.html

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

    【轉(zhuǎn)】Android 2.1 源碼結(jié)構(gòu)分析

         摘要:   閱讀全文

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

    Android Coding for Life-Battery Life

    關(guān)于Android編程中如果省電的講解

    可以作為開(kāi)發(fā)者的參考 :)

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

    【轉(zhuǎn)】Java學(xué)習(xí)的30個(gè)目標(biāo)以及系統(tǒng)架構(gòu)師推薦的書

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

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

    學(xué)習(xí)Python的好網(wǎng)站

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

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

    非常好玩,有興趣的朋友,快來(lái)試試吧

    看看 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 語(yǔ)言寫出來(lái)是:

     

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

     


     

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

    Dom4j解釋XML示例

         摘要:   閱讀全文

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

    【轉(zhuǎn)】《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) | 評(píng)論 (0)編輯 收藏

    Python中的Closure


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

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

    #代碼示例

     1def counter(start_at=0):
     2    count = [start_at]
     3    def incr():
     4        count[0] += 1   #對(duì)局部變量的引用
     5        return count[0]
     6    return incr  #返回一個(gè)函數(shù)對(duì)象
     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) | 評(píng)論 (0)編輯 收藏

    主站蜘蛛池模板: 真人无码作爱免费视频| 日韩精品在线免费观看| 亚洲线精品一区二区三区影音先锋| a级毛片免费全部播放| 国产成人亚洲合集青青草原精品| 免费一级特黄特色大片在线观看| baoyu777永久免费视频| 国产成人精品日本亚洲直接| 亚洲日韩精品一区二区三区| 成人免费无码大片a毛片| 光棍天堂免费手机观看在线观看| 久久亚洲精品专区蓝色区| 精品国产亚洲一区二区在线观看| 国产一卡二卡四卡免费| fc2免费人成在线视频| 99亚偷拍自图区亚洲| 亚洲成AV人片在线观看WWW| 日本一区二区三区日本免费| 亚洲视频在线观看免费| 色网站在线免费观看| 亚洲一级毛片在线观| 亚洲精品V欧洲精品V日韩精品| 免费a级毛片无码a∨蜜芽试看| 在线观看片免费人成视频播放| 亚洲天堂2017无码中文| 久久亚洲精品中文字幕无码| 免费在线观看黄网站| 国内精品乱码卡1卡2卡3免费 | 亚洲中文字幕在线无码一区二区| 亚洲精品成人片在线观看| 成年男女免费视频网站| 无人在线观看免费高清| 中文字幕手机在线免费看电影 | 国产免费人视频在线观看免费| 黄+色+性+人免费| a级毛片免费观看视频| 羞羞视频在线免费观看| 亚洲免费网站观看视频| 亚洲一级毛片在线播放| 亚洲精品无码久久久久久久| 久久久久久a亚洲欧洲aⅴ|