Python论坛  - 讨论区

标题:[python-chinese] 关于python单元测试框架的使用方式

2006年08月01日 星期二 09:54

wang yingqi wangyingqi at gmail.com
Tue Aug 1 09:54:37 HKT 2006

python的内置单元测试模块很好,也让用过unittest的其他语言版本的人很容易上手,但是我总觉得还按照c++的方式仿佛不能体现python的特性,以前我比较习惯于写完一个功能后,直接在其实现的下面用
if __name__ ...来运行一些简单的测试,但这不是规范的单元测试(unittest),
为了使用良好的测试框架unittest,于是最近在写单元测试的时候是这样做的。

测试代码与功能代码在一起。
#foo.py
class foo():
 ....
if __name__ == "__main__":
 import unittest
 class fooTestCase(unittest.TestCase):
    def testfoo(self)
      ...
unittest.main()

为了实现自动跑单元测试,实现一个文件遍历的工具,
然后在foo.py上加一段标记
#SelfTestable
遍历工具可识别此标记。
于是,所有的测试案例就可以跑起来了,而且在单独实现一个功能的时候,可以随意的运行自己的测试案例。发布功能的时候也可以随着测试案例一起发布。没有更多的零散文件了。

我不知道有没有人这样做过,我觉得这样做不错,有何不妥嘛?大家讨论!:)
-- 
wangyingqi
c++/python/palm/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060801/962ac334/attachment.htm

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年08月01日 星期二 09:54

Xiao Lei Wu xiaoleiw at cn.ibm.com
Tue Aug 1 09:54:46 HKT 2006

»¹ºÃÎÒµ±ÄêÂòµ½ÁË2±¾£¬»¹ÓÐÒ»±¾zopeµÄ^o^

Best Regards,

Zachary Wu (Îâ°~ÀÚ)
Software Engineer, Enterprise Content Management FVT, IBM China Software
Development Lab
Tel: +86 10 82782244-3235. Fax: 82782244-2886 Tie Line: 915-2244-3235
Internet: xiaoleiw at cn.ibm.com
Notes ID: Xiao Lei Wu/China/Contr/IBM at IBMCN
Address: 8/F, Block A, Power Creative Building, No.1, East Road, Shang Di,
Beijing 100085, P.R. China

python-chinese-bounces at lists.python.cn дÓÚ 2006-07-31 17:38:11:

> ÊÇ°¡£¬ÎÒÔÚchina£­pubÉÏ¿´µ½µÄÈ«²¿ÊǾø°æ£¬µ±³¡·­µ¹¡£
> -----ԭʼÓʼþ-----
> ·¢¼þÈË: python-chinese-bounces at lists.python.cn [mailto:python-
> chinese-bounces at lists.python.cn]´ú±í yi huang
> ·¢ËÍʱ¼ä: 2006Äê7ÔÂ31ÈÕ 17:20
> ÊÕ¼þÈË: python-chinese at lists.python.cn
> Ö÷Ìâ: Re: ´ð¸´: [python-chinese] Çë½ÌÈçºÎ»ñÈ¡²Ù×÷ϵͳµÄÏà¹ØÐÅ?

> ÏÖÔÚÄܲ»ÄÜÔÚÊÐÃæÉÏÕÒµ½pythonµÄÖ½Êé¾ÍÊǸöÎÊÌâ.
>
>
> --
> http://codeplayer.blogbus.com/
_______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request at lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060801/befedfa0/attachment.html

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年08月01日 星期二 09:57

Xiao Lei Wu xiaoleiw at cn.ibm.com
Tue Aug 1 09:57:24 HKT 2006

XML¸ñʽòËÆÄ¿Ç°¹Ù·½»¹Ã»ÓÐÕýʽ֧³Ö
Èç¹ûûÓÐÒ»¸ö¹Ù·½µÄDTDµÄ»°£¬×Ô¼ºÐ´µÄҲûÓжà´óÒâÒ壬ÄãÒ»¸ö¸ñʽ£¬ÎÒÒ»¸ö¸ñ
ʽ£¬ÄDz»¶¼ÂÒÌ×ÁË
ÕâÖÖ¶«Î÷Ö»ÓеÈ

Best Regards,

Zachary Wu (Îâ°~ÀÚ)
Software Engineer, Enterprise Content Management FVT, IBM China Software
Development Lab
Tel: +86 10 82782244-3235. Fax: 82782244-2886 Tie Line: 915-2244-3235
Internet: xiaoleiw at cn.ibm.com
Notes ID: Xiao Lei Wu/China/Contr/IBM at IBMCN
Address: 8/F, Block A, Power Creative Building, No.1, East Road, Shang Di,
Beijing 100085, P.R. China

python-chinese-bounces at lists.python.cn дÓÚ 2006-07-31 22:11:19:

> ÊÇÎÒû˵Çå³þ,²»ºÃÒâ˼£¬ÎÒ²»ÖªµÀÄãÖ¸µÄÁм¯ÓëÎÒÏëµÄÊDz»ÊÇÒ»ÑùµÄ£¬Æäʵ
> ÎÒÏëÒªµÄ¾ÍÊǽ«Ò»¸ö¶ÔÏóÐòÁл¯µ½Ò»¸öxmlÎļþÖÐÈ¥,ÔÙÔÚÊʵ±µÄʱºò½«Æä·´Ðò
> Áл¯(¶ÔÏó»¯?)Ϊһ¸öÄÚ´æ¶ÔÏó.dot NetÒ²ÓÐÀàËƵŦÄÜ£¬JavaµÄxml
> en/decoderÒ²Íê³ÉÁËÕâ¸ö¹¦ÄÜ£¬ÎÒÏëpythonÊDz»ÊÇÒ²ÓÐ?Èç¹ûÓеĻ°,.ÊÇʲô£¿
> ûÓеĻ°£¬ÓÐûÓÐÈËÐèÒª?´ó¼Ò¿ÉÒÔÌÖÂÛÑо¿³¢ÊÔʵÏÖÒ»·Ý!

> On 7/31/06, chenwei <chenwei at sobey.com> wrote:
> ÊÇÖ¸¶ÔÏóµÄMarshal/DeMarshal°É
> ----- Original Message -----
> From: "limodou" < limodou at gmail.com>
> To: <python-chinese at lists.python.cn>
> Sent: Monday, July 31, 2006 4:38 PM
> Subject: Re: [python-chinese] Ä¿Ç°ÓÐûÓÐÀàËÆJavaµÄxmldecoderºÍ
> xmlencoderµÄPythonʵÏÖ£¿
>
>
> > On 7/31/06, wang yingqi <wangyingqi at gmail.com> wrote:
> >>
> >> ´ó¼ÒºÃ¡«
> >> ½«xmlÊý¾Ý¶ÔÏ󻯣¬¶øÇÒ¿ÉÒÔ¼æÈÝJava µÄXML de/encoderµÄʵÏÖ£¿Ä¿Ç°ÓÐûÓÐÏÖ
³ÉµÄ£¿
> >> л~
> >>
> > û¿´¶®¡£Êý¾ÝÔõô¶ÔÏ󻯣¬ÄÜ˵µÃÔÙÇå³þһЩÂ𣿻ò¾ÙÒ»¸öÀý×ÓʲôµÄ¡£
> >
> > --
> > I like python!
> > My Blog: http://www.donews.net/limodou
> > My Django Site: http://www.djangocn.org
> > NewEdit Maillist: http://groups.google.com/group/NewEdit
> >
>
>
>
--------------------------------------------------------------------------------

>
>
> > _______________________________________________
> > python-chinese
> > Post: send python-chinese at lists.python.cn
> > Subscribe: send subscribe to python-chinese-request at lists.python.cn
> > Unsubscribe: send unsubscribe to
python-chinese-request at lists.python.cn
> > Detail Info: http://python.cn/mailman/listinfo/python-chinese
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to   python-chinese-request at lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese

>
>
>
> --
> wangyingqi
> c++/python/palm/ _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request at lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060801/ac8af63c/attachment.html

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年08月01日 星期二 10:00

Xiao Lei Wu xiaoleiw at cn.ibm.com
Tue Aug 1 10:00:54 HKT 2006

ΪʲôÊÇÁ½¸ö£¿

Best Regards,

Zachary Wu (Îâ°~ÀÚ)
Software Engineer, Enterprise Content Management FVT, IBM China Software
Development Lab
Tel: +86 10 82782244-3235. Fax: 82782244-2886 Tie Line: 915-2244-3235
Internet: xiaoleiw at cn.ibm.com
Notes ID: Xiao Lei Wu/China/Contr/IBM at IBMCN
Address: 8/F, Block A, Power Creative Building, No.1, East Road, Shang Di,
Beijing 100085, P.R. China

python-chinese-bounces at lists.python.cn дÓÚ 2006-07-31 15:12:12:

> ±±¾©ÐùÔ¯»¥¶¯ÍøÂç¿Æ¼¼ÓÐÏÞ¹«Ë¾£¨Exoweb£©ÖÂÁ¦ÓÚ·¢Õ¹¿ª·ÅÔ´´úÂëµÄʵÓù¤¾ß
> ºÍ¼¼Êõ£¬³çÉпªÃ÷µÄ¹¤×÷ÎÄ»¯¡£
>
> ÎÒÃÇ»ý¼«µØʵ¼ùÓëÓ¦Óùú¼Ê×îÇ°ÎÀµÄÈí¼þ¿ª·¢·½·¨ºÍ¼¼Êõ¹¤¾ß£¬È磺 Agile
> methodologies, XP, XML, Python,
> Zope/Plone, Java, Linux µÈ¡£
>
> ͬʱ£¬¹ÄÀø²¢ÌṩÌõ¼þ£¬Ö§³ÖÔ±¹¤Ñ§Ï°Èí¼þ¿ª·¢µÄËùÓм¼Êõ¡£
>
> Óë´Ëͬʱ£¬Äú»¹½«µÃµ½£º
> 1 £© Á½¸öÒº¾§ÏÔʾÆ÷
>
> 2 £© µ¯ÐԵŤ×÷ʱ¼ä
>
> 3 £© Ò»ÖÜÓÐ 10% µÄ¹¤×÷ʱ¼ä¿ÉÒÔ×ö×Ô¼º¸ÐÐËȤµÄÊÂÇé
>
> 4 £© ¹úÍâ×îеÄÔ­°æÊé¼®
>
> 5 £© ºÍ¹úÄÚÍâ¸ß¼¶³ÌÐòÔ±Ò»Æð¹¤×÷
>
> 6 £© ÓгÉΪÀàËÆ python.cn µÈ usergroup µÄ¹ÜÀíÕߵĻú»á
>
> 7 £© ¸÷ÖÖ¸÷ÑùµÄÃâ·ÑÒûÁÏ
>
> 8 £© ¿ª·ÅµÄ¹¤×÷¿Õ¼äÒÔ¼°ÎÒÃÇ×Ô¼º´î½¨µÄ¸óÂ¥
>
> 9 £© ½ø²½½¡ÉíÖÐÐĵĽ¡Éí»ú»á
>
> ÎÒÃÇ»¶Ó­ÄãÀ´ÌåÑéÕâÖÖ¶ÀÒ»ÎÞ¶þ¡¢ÓÅÐãµÄ¹¤×÷»·¾³£¡
>
> Exoweb is a fast-growing, international technology company working
> with numerous multinational companies. We are passionate software
> development professionals, open source believers and agile methodology
> practitioners employing the latest technologies and aggressively
> experimenting with new ones (Agile Methodologies, ClearSilver, CSS,
> C++, Django, Flash, Java, JavaScript, Laszlo, Linux, Perl, Python,
> REST, SQL, Twisted, XML, XP, Zope.)
>
> We are committed to the personal development of our employees and
> believe that jobs are to be allocated according to a persons ability
> and interests, rather than age or academic titles. Furthermore a
> bilingual environment (Chinese and English), foreign-trained managers,
> flexible working hours, awesome loft-like office space, comfy
> relaxation area and free soft drinks/tea/gourmet coffee all ensure
> that our employees have a unique, merit-based working environment
> difficult to find elsewhere.
>
>     * Èí¼þ¹¤³Ìʦ / Software Developer (Python£¯Java£¯C++)£¨8ÈË£©
>
>
>
>       ¹¤×÷Ö°Ôð£º
>       ÀûÓüâ¶ËµÄ¼¼ÊõºÍʵ¼ù¾­Ñ鿪·¢Èí¼þ¡£
>
>       ÈÎÖ°ÒªÇó£º
>       ¡¤ ´´ÔìÄÜÁ¦Óë·ÖÎöÄÜÁ¦¡ª ÓÐÉîÈëÑо¿¸´ÔÓÎÊÌ⣬µÃµ½½ÏºÃµÄ½â¾ö·½°¸²¢
> ×îÖÕ½â¾öÎÊÌâµÄÄÜÁ¦¡£
>       ¡¤ ÓÅÐãµÄ±à³ÌÄÜÁ¦¡ª Äܹ»±àд³öÕýÈ·ÓÐЧ²¢ÇÒÓÅÐãµÄ³ÌÐò£¬¾ßÓÐѧϰÈÎ
> ºÎ³ÌÐòÉè¼ÆÓïÑÔµÄÄÜÁ¦£¬ÖÁÉÙ»áÒ»ÖÖ»òÒ»ÖÖÒÔÉÏJava, C,
> C++, C#, Python, Perl »ò PHP¼¼ÄÜ¡£
>       ¡¤ ÓÃÓ¢ÓïѧϰµÄÄÜÁ¦¡ª ÊìÁ·ÕÆÎÕÓ¢ÓïµÄ¶ÁдÒÔ±ãÄܹ»¿ìËÙµÄͨ¹ýÓ¢Óïѧ
> Ï°¸÷ÖÖеļ¼ÄÜ£¬×îºÃÓпÚÓï»ù´¡¡£
>       ¡¤ ¾«Í¨ÍøÂç¼¼Êõ֪ʶ¡ª ÓµÓÐÁ˽âHTML²¢¾¡¿ìÕÆÎÕÆäËû²¿·ÖµÄÄÜÁ¦¡£¾«Í¨
> ÍøÂçЭÒéÈçHTTP, FTP, TCP/IP and
> DNSºÍCSS, Javascript, DhtmlµÈÏà¹ØÍøÂç¼¼ÊõÓÅÏÈ¿¼ÂÇ¡£
>       ¡¤ ÓÐPython, Linux, Zope/Plone, Scrum, eXtremeÏà¹ØÉè¼Æ¾­ÑéÕßÓÅÏÈ
>       ÈçÓÐÌõ¼þÏà·ûÕߣ¬Çë·¢ËÍÓ¢ÎļòÀúµ½ job-software-engineer at exoweb.net
>
>       Software Engineer
>
>       RESPONSIBILITIES
>       Software development using advanced technologies and
> practices(distributed processing, scripting object-oriented languages,
> eXtreme Programming).
>
>       REQUIREMENTS
>       ¡¤ CREATIVE AND ANALYTICAL £­You must be a great problem
> solver,with the ability to dive deeply into complex problems and
> emerge with clear and pragmatic solutions.
>       ¡¤ ABILITY TO CREAT EXCELLENT CODE £­You must write correct,clean
> and efficient code that you are proud of. You must be able to learn
> any programming language. We assume that you can use at least one of
> Java, C, C++, C#, Python, Perl or PHP.
>       ¡¤ PASSION£­- You must have passion for what you do. Involvement
> in Open Source projects or a portfolio of your hobby projects is a big
> plus.
>       ¡¤ ABILITY TO LEARN IN ENGLISH £­You must have good enough
> Englishreading/writing to study new technologies in English
> quickly,and preferably a good base for improving your spoken English
> if necessary
>       ¡¤ UNDERSTANDING OF WEB TECHNOLOGIES £­We assume that you know
> HTML and that you can quickly master all the rest. Understanding of
> network protocols such as HTTP, FTP, TCP/IP and DNS as well as core
> web technologies such as CSS, Javascript, dHTML, and others would be a
> strong advantage.
>       ¡¤ PRIOR KNOWLEDGE of Python, Linux, Zope/Plone, Scrum, eXtreme
> Programming is a big plus.
>
>       You feel qualified and tempted? Please send your resume in
> English to job-software-engineer at exoweb.net
>
>     * ÏîÄ¿¹ÜÀíÖúÀí / Project Management Assistant£¨2ÈË£©
>
>
>
>       ÏîÄ¿¹ÜÀíÖúÀí / Project management assistant
>
>       ¹¤×÷Ö°Ôð
>       ¡¤ ÏîÄ¿½ø¶È¹ÜÀí-½«ÐµÄÏîÄ¿·ÖΪ¸÷¸öÈÎÎñ£¬²¢¶ÔÏîĿʱ¼ä½øÐÐÆÀ¹À¡£¼à
> ¶½¸÷¸öÈÎÎñµÄÍê³É½ø¶È£¬È·±£ÏîÄ¿°´Ê±Íê³É¡£
>       ¡¤ ²âÊÔ-²âÊÔÏîÄ¿ÖеÄй¦ÄÜ£¬È·±£¸Ã¹¦ÄÜÔÚÈκÎÇé¿ö϶¼ÄÜÕý³£¹¤×÷¡£
>       ¡¤ ÐèÇó¹ÜÀí-±£³Ö¿Í»§ÓëÍŶӳÉÔ±¶ÔÓÚÐèÇóºÍ½ø¶ÈµÄʵʱ¸üм°Í¬²½È·ÇÐ
> Á˽⣬±£Ö¤×Ô¼ºÈ·ÇÐÁ˽â¿Í»§ÓëÍŶӳÉÔ±µÄÐèÇóºÍ¿ÊÍû¡£
>       ¡¤ ά»¤-Óë¿Í»§¹²Í¬½â¾öËûÃÇÔÚ²Ù×÷¹ý³ÌÖÐÓöµ½µÄÀ§ÄÑ£¬È·ÈÏ¿Í»§µÄÎÊÌâ
> ÊôÓÚ´íÎó/ÈÎÎñ/ÐÂÐèÇó£¬Îª¼¼ÊõÈËÔ±ÌṩÏêϸµÄ³ö´í±¨¸æ¡£
>       ¡¤ ÅàѵÓëÎĵµ-¶ÔÐÂϵͳΪ¿Í»§½øÐÐÅàѵ£¬×«Ð´ÅàѵÎĵµ£¬Ê¹¿Í»§¿ÉÒÔºÜ
> ¿ìÕÆÎÕÐÂϵͳ¹¦ÄÜ£¬¼õÉÙά»¤¹¤×÷¡£
>
>       ¸ÚλҪÇó£º
>       ¡¤ Á¼ºÃµÄ×éÖ¯ÐÔÓëÌõÀíÐÔ-¾ß±¸ÇåÎúµÄÌõÀíÐԺ͸ßЧµÄ¹¤×÷ÄÜÁ¦£¬²¢ÄܹÄ
> ÀøºÍÓ°ÏìÆäËûÈËÓµÓÐͬÑùµÄ¹¤×÷̬¶È¡£
>       ¡¤ ×öÊÂÓÐʼÓÐÖÕ-Äã²»»á·ÅÆú³¢ÊÔ, Ö±µ½ÄãÈ·ÐÅÏëµ½²¢ÊÔ¹ýËùÓпÉÒÔÏëÏóµÄÑ¡
Ïî.
>       ¡¤ ¿Í»§·þÎñÒâʶ-ËæʱÈÿͻ§¼°ÍŶÓÈËÔ±Á˽âÏîÄ¿µÄ½ø³ÌÓ빤×÷Çé¿ö£¬²¢
> È·±£ËæʱÁ˽âËûÃǵÄÐèÇóºÍÒªÇó¡£
>       ¡¤ ¾¡¹ÜÈ¥×ö-¾ßÓÐÉîÈë½â¾öÎÊÌâµÄÄÜÁ¦£¬Äܹ»Çå³þ²¢Êµ¼ÊµØ½â¾öÎÊÌâ
>       ¡¤ Á¼ºÃµÄ¹µÍ¨ÄÜÁ¦£¨ÉÌÎñ¹µÍ¨£©-ÉÆÓÚÓë¿Í»§¼°ÍŶӹ¤×÷ÈËÔ±¼äµÄ¹µÍ¨£¬
> Á¼ºÃµÄÖÐÓ¢Îıí´ïÄÜÁ¦¡£
>       ѧϰÄÜÁ¦-¶ÔÓÚÈí¼þµÄ×îÖÕÓû§µÄʵ¼ÊÐèÇó¸ÐÐËȤ£¬Ô¸ÒâÁ˽â¿Í»§µÄÉÌÒµ
> Á÷³Ì£¬ÒÔ´ËÀ´È·±£¿ª·¢¹¦ÄܶÔÓÚ¿Í»§µÄʵÓÃÐÔ¡£
>       ¡¤ ½â¾öÎÊÌâµÄÄÜÁ¦/´´ÔìÐÔ˼ά-¿ÉÒÔͨ¹ý²»ÇåÎúµÄ¿Í»§ÐèÇó·¢ÏÖ¿Í»§Õæ
> ÕýÐèÒª½â¾öµÄÎÊÌ⣬Á˽⵽еÄϵͳ»òÕß¹¦ÄÜÊÇ·ñ¿ÉÒÔÕæÕýµÄÂú×ã¿Í»§µÄÐèÇó¡£
>       ¡¤ ¼¼Êõ¾­Ñé-Àí¹¤¿Æ±³¾°²¢ÓÐÈí¼þ¿ª·¢¾­ÑéÕßÓÅÏÈ¡£
>
>       Responsibilities:
>       ¡¤ MANAGEMENT OF PROJECT SCHEDULE ¨C Work with developers to break
> new projects into tasks£» Gather time estimates and commitments from
> team members£» supervise progress on different tasks and assure their
> timely implementation
>       ¡¤ TESTING ¨C Test new features developed for the project. Try
> everything to make them fail so we can ensure products are both robust
> and bulletproof.
>       ¡¤ CORRESPONDENCE ¨C Keep clients and team members up-to-date on
> all issues and progress and make sure you always know about their
> needs and desires.
>       ¡¤ TROUBLESHOOTING ¨C Work with clients to figure out where they
> are having difficulties with certain features£» determine if client
> issues are bugs/features/omissions£» create bug reports.
>       ¡¤ TRAINING & DOCUMENTING ¨C Help step clients through new
> features and create documentation that allows users quickly get up to
> speed on new features/software and reduce support calls.
>
>       Job requirements:
>       ¡¤ STRUCTURED AND ORGANIZED ¨C You are able to multi task
> efficiently, to keep on the ball and inspire people to do the same.
>       ¡¤ EYE FOR QUALITY AND DETAIL
>       ¡¤ PERSISTANT AND THOROUGH ¨C You wouldn't cease trying until you
> are convinced that you have thought of and tried every option
> imaginable.
>       ¡¤ CUSTOMER ORIENTED-You get a kick out of making sure that our
> clients are always up-to-date on all progress and issues and make sure
> you know his needs and desires.
>       ¡¤ GET THINGS DONE-You are a great problem solver, come up with
> clear and pragmatic solutions and won't rest until they are
> implemented.
>       ¡¤ GOOD (BUSINESS) COMMUNICATION SKILLS ¨C You take pleasure in
> communicating with clients and team mates. Strong Mandarin skills are
> a must, decent English skills a big plus.
>       ¡¤ EXCITED BY LEARNING ¨C You are interested in what users are
> trying to accomplish with their software and willing to learn about
> their business to ensure that the features being developed are
> immediately appreciated by users at all levels of the business.
>       ¡¤ PROBLEM SOLVER / OUT OF THE BOX THINKING ¨C Able to cut through
> unclear requirements, find out what a client is really trying to solve
> and tell whether or not the new software is really the right solution.
>       ¡¤ TECH EXPERIENCE ¨C Prior experience with or academic background
> in technologies related to software development is a plus.
>
>     * ϵͳ¹ÜÀíÖúÀí / Linux System Administrator
(Redhat/Suse/Novell/Unix£¨2ÈË£©
>
>
>
>       ¹¤×÷Ö°Ôð
>       ¡¤ ¿ª·¢»ùÓÚLinuxµÄ¹«Ë¾·þÎñÆ÷½â¾ö·½°¸
>       ¡¤ ¹ÜÀí¹«Ë¾µÄITϵͳ
>
>       ÈÎÖ°ÒªÇó
>       ¡¤ ΰ´óµÄÎÊÌâɱÊÖ, ÄÜÉîÈë̽¾¿¸´ÔÓÎÊÌâÒÔ¼°Ìṩ¼ò½à²¢ÇÒÎñʵµÄ½â¾ö·½
·¨¡£
>       ¡¤ ×¢Öز¢ÇÒ×Ðϸ¶Ô´ýϸ½Ú, Äܹ»Ç°Õ°½«À´¿ÉÄÜÓöµ½µÄÎÊÌâ, ²¢ÇÒÄܲٿØ
> ·Ç³£ÖØÒªµÄ ϵͳ¡£
>       ¡¤ ¾ßÓзþÎñµÄ̬¶È, ¶ÔÓÚÄÜÍêÕûµØÐ޸ıðÈ˵ÄÎÊÌâ¸Ðµ½ºÜ´Ì¼¤¡£
>       ¡¤ ÈÈ°®¿ª·ÅÔ´Âë(Open Source)¼¼Êõ, ÓÐÒ»¶¨Linuxϵͳ¹ÜÀíµÄ¾­Ñé¡£
>       ¡¤ ÓÐÁ¼ºÃµÄÌá¸ßÓ¢ÎÄ¿ÚÓïµÄ»ù´¡Õß´ÓÓÅ¡£
>
>       ÈçÓÐÌõ¼þÏà·ûÕߣ¬Çë·¢ËÍÓ¢ÎļòÀúµ½ job-system-admin at exoweb.net
>
>       Linux System Administrator
>
>       Responsibilities
>       ¡¤ Developing Linux-based server solutions
>       ¡¤ Manage Exoweb's IT infrastructure (for hosting and LAN)
>
>       Requirements
>       To be a successful candidate you must:
>       ¡¤ be a great problem solver, with the ability to dive deeply
> into complex problems and emerge with clear and pragmatic solutions.
>       ¡¤ be detail oriented and careful, able to anticipate problems in
> advance, and handle mission critical systems.
>       ¡¤ possess a service attitude£» you get a kick out of fixing
> people's problems, completely.
>       ¡¤ have a passion for open source technologies, and prior
> experience with administering Linux systems.
>       ¡¤ have good enough English reading/writing to able to study new
> technologies in English quickly, and preferably a good base for
> improving your spoken English.
>
>       You feel qualified and tempted? Please send your resume in
> English to job-system-admin at exoweb.net
>
> ¼òÀú Resumes
>
> Çë·¢ËͼòÀúÖÁ jobs at exoweb.net
>
> Send resumes to jobs at exoweb.net
>
> On 7/31/06, Dreamingk(Ìì³É) <dreamingk at gmail.com> wrote:
> > ½è±¦µØ Ò²·¢¸öPYTHONÕÐƸÐÅÏ¢
> >
> > ÏêÇé¼ûÄÚ£º
> > Http://pages.chinahr.com/2005/bj/xyhd_1125/
> >
> >
> > On 7/31/06, Albert Lee <hanzhupeng at gmail.com> wrote:
> > > Ó¯¶¼´óÏá­¡­ ÎÒÔÎ
> > >
> > >
> > > ÎÒÒ²ÕÐƸ Python ¿ª·¢£¬ Ö÷ÒªÓà TruboGears £¬ ÊÓƵ·ÖÏíÀà Web2.0 Íø
Õ¾£¬ÓÐÎÞÏß±³¾°¡£
> > > ¹«Ë¾ÔÚÖª´ºÂ·±±±ß£¬ Ö¾ÐÄÇÅÄÏ¡£
> > >
> > >
> > >
> > > On 7/31/06, wang yingqi < wangyingqi at gmail.com> wrote:
> > > >
> > > >
> > > > ÎÒÖ»ÊÇ¿ÉϧΪɶ²»¹ØÐÄpalmµÄ£¡ºÇºÇ¡«ÅÜÌâÁË£¡
> > > >
> > > >
> > > >
> > > > On 7/31/06, Xiao Lei Wu <xiaoleiw at cn.ibm.com > wrote:
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > °¡£¬¾ÍÔÚÎÒ¼ÒÃÅ¿Ú¡­¡­
> > > > >
> > > > > Best Regards,
> > > > >
> > > > > Zachary Wu (Îâ°~ÀÚ)
> > > > > Software Engineer, Enterprise Content Management FVT, IBM
> China Software
> > > Development Lab
> > > > > Tel: +86 10 82782244-3235. Fax: 82782244-2886 Tie Line:
915-2244-3235
> > > > > Internet: xiaoleiw at cn.ibm.com
> > > > > Notes ID: Xiao Lei Wu/China/Contr/IBM at IBMCN
> > > > > Address: 8/F, Block A, Power Creative Building, No.1, East Road,
Shang
> > > Di, Beijing 100085, P.R. China
> > > > >
> > > > > python-chinese-bounces at lists.python.cn дÓÚ 2006-07-28
> > > 10:33:11:
> > > > >
> > > > >
> > > > > > Öª´ºÂ·³ÇÌúÕ¾£¬Ó¯¶¼´óÏÃC3 10D
> > > > > >
> > > > > > On 7/28/06, Gavin < gavin at sz.net.cn> wrote:
> > > > > > > ¹«Ë¾ÔÚÄÄÀï°¡£º-£©
> > > > > > >
> > > > > > >
> > > > > > > ----- Original Message -----
> > > > > > > ·¢¼þÈË: "Wei Litao" < wlt008 at gmail.com>
> > > > > > > ÊÕ¼þÈË: <python-cn at googlegroups.com>; < python-
> chinese at lists.python.cn>
> > > > > > > ·¢ËÍʱ¼ä: 2006Äê7ÔÂ27ÈÕ 21:35
> > > > > > > Ö÷Ìâ: [python-chinese] [PythonÈí¼þ¹¤³ÌʦÕÐƸ] ʤ¼ªÍþ
> (ThumbJive)¹«Ë¾
> > > > > > ÕÐƸWeb 2.0 + ÎÞÏßÓ¦Óÿª·¢¹¤³Ìʦ£¨±±¾©£©
> > > > > > >
> > > > > > >
> > > > > > > Èí¼þ¹¤³Ìʦ - Web 2.0 + ÎÞÏßÓ¦Óÿª·¢¹¤³Ìʦ
> > > > > > >
> > > > > > > ÃÀ¹úThumbJive¹«Ë¾(http://thumbjive.com)ÕýÔÚÑ°ÕÒ´ÏÃ÷¶øÓÖÓм¤Çé
µÄÈí¼þ
> > > > > > ¹¤³Ìʦ¡£Äú½«Óлú»á¼ÓÈëÎÒÃÇÕýÔÚ¿ìËٳɳ¤µÄÍŶӣ¬²ÎÓëÑз¢×îеÄWeb
> > > > > > > 2.0ºÍÎÞÏßÓ¦Óü¼Êõ¡£
> > > > > > >
> > > > > > > ÎÒÃÇΪÄúÌṩ£º
> > > > > > > - ºÍ×îÓÅÐãµÄ¹¤³ÌʦºÏ×÷²¢½Ó´¥×îеļ¼ÊõµÄ»ú»á
> > > > > > > - ¹ÄÀø²¢¼Î½±Ð´´Ò⣬³ä·Ö×ðÖØÄúµÄÏë·¨µÄ»·¾³
> > > > > > > - ·áºñµÄн½ðºÍ¸£Àû´ýÓö
> > > > > > >
> > > > > > > ְλҪÇó£º
> > > > > > > - ·á¸»µÄPython¿ª·¢¾­Ñé
> > > > > > > - ÕÆÎÕJavascript/AJAX Web 2.0¼¼ÊõºÍÏà¹Ø¹¤¾ß
> > > > > > > - ÈÈ°®¹¹½¨´óÐÍÈí¼þ
> > > > > > > - ¿ÉÒÔͬʱѧϰºÍʹÓöàÖÖ²»Í¬¼¼Êõ
> > > > > > > - Ô¸Òâ°ïÖúËûÈË£¬²¢ÐéÐÄÏòËûÈËÇë½Ì
> > > > > > > - ʹÓÃÓ¢ÓïÔĶÁºÍд×÷Îĵµ¡¢ÓʼþµÄÄÜÁ¦
> > > > > > > - ÈçÓÐDjango, Ruby, Sybian OS, C++, »òJ2MEµÄ¿ª·¢¾­Ñé¸ü¼Ñ
> > > > > > >
> > > > > > > ¹¤×÷µØµã£º
> > > > > > > ±±¾©
> > > > > > >
> > > > > > >
> > > > > > > Ç뽫ÖÐÓ¢ÎĸöÈ˼òÀú·¢ËÍÖÁÒÔϵØÖ·£º
> > > > > > > wlt008 at gmail.com
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Software Engineer - Web 2.0 + Mobile phone development
positions
> > > > > > >
> > > > > > > ThumbJive ( http://thumbjive.com) is looking for talented and
> > > motivated
> > > > > > > software engineers to join it's fast growing team
> building the best
> > > > > > > Web 2.0 and mobile phone applications.
> > > > > > >
> > > > > > > We offer:
> > > > > > > - an opportunity to work with great people in the latest
> > > technologies
> > > > > > > - an environment where your new ideas are highly valued
> and rewarded
> > > > > > > - a very competitive salary and benifits package
> > > > > > >
> > > > > > > Skills required:
> > > > > > > - Experience with Python
> > > > > > > - Javascript/AJAX Web 2.0 techniques and toolkits
> > > > > > > - Love of building great software
> > > > > > > - Adaptability to learn and work with many different
technologies
> > > > > > > - Willingness to ask for help and to help other engineers
> > > > > > > - Ability to read and write English for dealing with
documents and
> > > emails
> > > > > > > - Experience with Django, Ruby, Symbian OS, C++, or J2MEis a
good
> > > plus
> > > > > > >
> > > > > > >
> > > > > > > Send both Chinese/English Resume to wlt008 at gmail.com
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Sincerely,
> > > > > > >
> > > > > > > Wei Litao
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > >
>
--------------------------------------------------------------------------------

> > > > > > >
> > > > > > >
> > > > > > > _______________________________________________
> > > > > > > python-chinese
> > > > > > > Post: send python-chinese at lists.python.cn
> > > > > > > Subscribe: send subscribe to
> > > python-chinese-request at lists.python.cn
> > > > > > > Unsubscribe: send unsubscribe to
> > > python-chinese-request at lists.python.cn
> > > > > > > Detail Info:
> > > http://python.cn/mailman/listinfo/python-chinese
> > > > > > > _______________________________________________
> > > > > > > python-chinese
> > > > > > > Post: send python-chinese at lists.python.cn
> > > > > > > Subscribe: send subscribe to
> > > python-chinese-request at lists.python.cn
> > > > > > > Unsubscribe: send unsubscribe to
> > > python-chinese-request at lists.python.cn
> > > > > > > Detail Info:
> > > http://python.cn/mailman/listinfo/python-chinese
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Sincerely,
> > > > > >
> > > > > > Wei Litao
> > > > > > _______________________________________________
> > > > > > python-chinese
> > > > > > Post: send python-chinese at lists.python.cn
> > > > > > Subscribe: send subscribe to
> > > python-chinese-request at lists.python.cn
> > > > > > Unsubscribe: send unsubscribe to
> > > python-chinese-request at lists.python.cn
> > > > > > Detail Info:
> > > http://python.cn/mailman/listinfo/python-chinese
> > > > >
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > python-chinese
> > > > > Post: send python-chinese at lists.python.cn
> > > > > Subscribe: send subscribe to
> > > python-chinese-request at lists.python.cn
> > > > > Unsubscribe: send unsubscribe to
> > > python-chinese-request at lists.python.cn
> > > > > Detail Info:
> > > http://python.cn/mailman/listinfo/python-chinese
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > wangyingqi
> > > > c++/python/palm/
> > > > _______________________________________________
> > > > python-chinese
> > > > Post: send python-chinese at lists.python.cn
> > > > Subscribe: send subscribe to
> > > python-chinese-request at lists.python.cn
> > > > Unsubscribe: send unsubscribe to
> > > python-chinese-request at lists.python.cn
> > > > Detail Info:
> > > http://python.cn/mailman/listinfo/python-chinese
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Welcome to my blog ( about Python , Lisp)
> > > http://albertlee.cublog.cn/
> > > _______________________________________________
> > > python-chinese
> > > Post: send python-chinese at lists.python.cn
> > > Subscribe: send subscribe to
> > > python-chinese-request at lists.python.cn
> > > Unsubscribe: send unsubscribe to
> > > python-chinese-request at lists.python.cn
> > > Detail Info:
> > > http://python.cn/mailman/listinfo/python-chinese
> > >
> > >
> >
> >
> > --
> > Dreamingk (tc, Ìì³É)
> > email:
> >     dreamingk at gmail.com
> >     tc at exoweb.net
> > website:
> >     http://www.exoweb.net
> >     http://python.cn
> >     http://django.cn
> >     http://zope.cn
> > Exoweb (±±¾©ÐùÔ¯»¥¶¯¿Æ¼¼ÓÐÏÞ¹«Ë¾)
> >   ±±¾©Êг¯ÑôÇø½ð̨·Ìðˮ԰¶«½Ö2ºÅ
> >   Ìðˮ԰ÉÌÎñÖÐÐÄA505  100026
> > Python, I love this language.
> >
>
>
> --
> Dreamingk (tc, Ìì³É)
> email:
>     dreamingk at gmail.com
>     tc at exoweb.net
> website:
>     http://www.exoweb.net
>     http://python.cn
>     http://django.cn
>     http://zope.cn
> Exoweb (±±¾©ÐùÔ¯»¥¶¯¿Æ¼¼ÓÐÏÞ¹«Ë¾)
>   ±±¾©Êг¯ÑôÇø½ð̨·Ìðˮ԰¶«½Ö2ºÅ
>   Ìðˮ԰ÉÌÎñÖÐÐÄA505  100026
> Python, I love this language.
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request at lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060801/f16ac86c/attachment-0001.htm

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年08月01日 星期二 10:05

limodou limodou at gmail.com
Tue Aug 1 10:05:34 HKT 2006

On 8/1/06, wang yingqi <wangyingqi at gmail.com> wrote:
>
> python的内置单元测试模块很好,也让用过unittest的其他语言版本的人很容易上手,但是我总觉得还按照c++的方式仿佛不能体现python的特性,以前我比较习惯于写完一个功能后,直接在其实现的下面用
> if __name__ ...来运行一些简单的测试,但这不是规范的单元测试(unittest),
> 为了使用良好的测试框架unittest,于是最近在写单元测试的时候是这样做的。
>
> 测试代码与功能代码在一起。
> #foo.py
> class foo():
>  ....
> if __name__ == "__main__":
>  import unittest
>  class fooTestCase(unittest.TestCase):
>     def testfoo(self)
>       ...
> unittest.main()
>
> 为了实现自动跑单元测试,实现一个文件遍历的工具,
> 然后在foo.py上加一段标记
> #SelfTestable
> 遍历工具可识别此标记。
> 于是,所有的测试案例就可以跑起来了,而且在单独实现一个功能的时候,可以随意的运行自己的测试案例。发布功能的时候也可以随着测试案例一起发布。没有更多的零散文件了。
>
> 我不知道有没有人这样做过,我觉得这样做不错,有何不妥嘛?大家讨论!:)

建议你看一看nose,它的方式与你类似。可以把单元测试代码独立,也可以写在原文件中,同时提供命令行工具可以指定是全部运行,还是指定文件运行。而且写测试代码也简单,不是从unittest中继承,满足约定即可。

http://somethingaboutorange.com/mrl/projects/nose/
-- 
I like python!
My Blog: http://www.donews.net/limodou
My Django Site: http://www.djangocn.org
NewEdit Maillist: http://groups.google.com/group/NewEdit

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年08月01日 星期二 11:13

Yiding He yiding.he at gmail.com
Tue Aug 1 11:13:51 HKT 2006

学习!

在06-8-1,limodou <limodou at gmail.com> 写道:
>
> On 8/1/06, wang yingqi <wangyingqi at gmail.com> wrote:
> >
> >
> python的内置单元测试模块很好,也让用过unittest的其他语言版本的人很容易上手,但是我总觉得还按照c++的方式仿佛不能体现python的特性,以前我比较习惯于写完一个功能后,直接在其实现的下面用
> > if __name__ ...来运行一些简单的测试,但这不是规范的单元测试(unittest),
> > 为了使用良好的测试框架unittest,于是最近在写单元测试的时候是这样做的。
> >
> > 测试代码与功能代码在一起。
> > #foo.py
> > class foo():
> >  ....
> > if __name__ == "__main__":
> >  import unittest
> >  class fooTestCase(unittest.TestCase):
> >     def testfoo(self)
> >       ...
> > unittest.main()
> >
> > 为了实现自动跑单元测试,实现一个文件遍历的工具,
> > 然后在foo.py上加一段标记
> > #SelfTestable
> > 遍历工具可识别此标记。
> >
> 于是,所有的测试案例就可以跑起来了,而且在单独实现一个功能的时候,可以随意的运行自己的测试案例。发布功能的时候也可以随着测试案例一起发布。没有更多的零散文件了。
> >
> > 我不知道有没有人这样做过,我觉得这样做不错,有何不妥嘛?大家讨论!:)
>
>
> 建议你看一看nose,它的方式与你类似。可以把单元测试代码独立,也可以写在原文件中,同时提供命令行工具可以指定是全部运行,还是指定文件运行。而且写测试代码也简单,不是从unittest中继承,满足约定即可。
>
> http://somethingaboutorange.com/mrl/projects/nose/
> --
> I like python!
> My Blog: http://www.donews.net/limodou
> My Django Site: http://www.djangocn.org
> NewEdit Maillist: http://groups.google.com/group/NewEdit
>
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request at lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>


-- 
                       致
礼!
                             贺一丁
                         yiding.he at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060801/f0688f42/attachment.htm

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年08月01日 星期二 12:30

makeyunbad makeyunbad at gmail.com
Tue Aug 1 12:30:52 HKT 2006

在 06-8-1,wang yingqi<wangyingqi at gmail.com> 写道:
>
> python的内置单元测试模块很好,也让用过unittest的其他语言版本的人很容易上手,但是我总觉得还按照c++的方式仿佛不能体现python的特性,以前我比较习惯于写完一个功能后,直接在其实现的下面用
> if __name__ ...来运行一些简单的测试,但这不是规范的单元测试(unittest),
> 为了使用良好的测试框架unittest,于是最近在写单元测试的时候是这样做的。
>
> 测试代码与功能代码在一起。
> #foo.py
> class foo():
>  ....
> if __name__ == "__main__":
>  import unittest
>  class fooTestCase(unittest.TestCase):
>     def testfoo(self)
>       ...
> unittest.main()
>
> 为了实现自动跑单元测试,实现一个文件遍历的工具,
> 然后在foo.py上加一段标记
> #SelfTestable
> 遍历工具可识别此标记。
> 于是,所有的测试案例就可以跑起来了,而且在单独实现一个功能的时候,可以随意的运行自己的测试案例。发布功能的时候也可以随着测试案例一起发布。没有更多的零散文件了。
>
> 我不知道有没有人这样做过,我觉得这样做不错,有何不妥嘛?大家讨论!:)

 我觉得还是用一个专门的模块比较好,比如foo.py,生成一个testfoo.py的模块用来进行foo.py的单元测试。一起测试的时候就运行test*.py这些测试模块就行了。

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年08月01日 星期二 12:55

wang yingqi wangyingqi at gmail.com
Tue Aug 1 12:55:50 HKT 2006

其实最大的不同就是把测试代码写在了功能代码里面,然后单个文件可以自运行!这样实现功能的时候比较方便!coding/debuging/testing,全在一个文件里面,发布的时候又不影响!

limodou同学说的nose,我看了一下,应该是对unittest的一个延伸!但是我比较喜欢unittest的编码方式,相对来说已经是一个单元测试的传统规范了。:)


On 8/1/06, makeyunbad <makeyunbad at gmail.com> wrote:
>
> 在 06-8-1,wang yingqi<wangyingqi at gmail.com> 写道:
> >
> >
> python的内置单元测试模块很好,也让用过unittest的其他语言版本的人很容易上手,但是我总觉得还按照c++的方式仿佛不能体现python的特性,以前我比较习惯于写完一个功能后,直接在其实现的下面用
> > if __name__ ...来运行一些简单的测试,但这不是规范的单元测试(unittest),
> > 为了使用良好的测试框架unittest,于是最近在写单元测试的时候是这样做的。
> >
> > 测试代码与功能代码在一起。
> > #foo.py
> > class foo():
> >  ....
> > if __name__ == "__main__":
> >  import unittest
> >  class fooTestCase(unittest.TestCase):
> >     def testfoo(self)
> >       ...
> > unittest.main()
> >
> > 为了实现自动跑单元测试,实现一个文件遍历的工具,
> > 然后在foo.py上加一段标记
> > #SelfTestable
> > 遍历工具可识别此标记。
> >
> 于是,所有的测试案例就可以跑起来了,而且在单独实现一个功能的时候,可以随意的运行自己的测试案例。发布功能的时候也可以随着测试案例一起发布。没有更多的零散文件了。
> >
> > 我不知道有没有人这样做过,我觉得这样做不错,有何不妥嘛?大家讨论!:)
>
> 我觉得还是用一个专门的模块比较好,比如foo.py,生成一个testfoo.py的模块用来进行foo.py的单元测试
> 。一起测试的时候就运行test*.py这些测试模块就行了。
>
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request at lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>


-- 
wangyingqi
c++/python/palm/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060801/336134c0/attachment.htm

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年08月01日 星期二 13:14

limodou limodou at gmail.com
Tue Aug 1 13:14:35 HKT 2006

On 8/1/06, wang yingqi <wangyingqi at gmail.com> wrote:
>
> 其实最大的不同就是把测试代码写在了功能代码里面,然后单个文件可以自运行!这样实现功能的时候比较方便!coding/debuging/testing,全在一个文件里面,发布的时候又不影响!
>
> limodou同学说的nose,我看了一下,应该是对unittest的一个延伸!但是我比较喜欢unittest的编码方式,相对来说已经是一个单元测试的传统规范了。:)
>
nose支持unittest吧。没有太细研究。不过形式很重要吗?而且我认为nose的方式更简单啊。


-- 
I like python!
My Blog: http://www.donews.net/limodou
My Django Site: http://www.djangocn.org
NewEdit Maillist: http://groups.google.com/group/NewEdit

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年08月01日 星期二 14:51

IQDoctor huanghao.c at gmail.com
Tue Aug 1 14:51:37 HKT 2006

Zm9yIGxpbnV4OiAgL3Byb2MKCtTaIDA2LTgtMaOsWGlhbyBMZWkgV3U8eGlhb2xlaXdAY24uaWJt
LmNvbT4g0LS1wKO6Cj4KPgo+Cj4gu7m6w87StbHE6sLytb3ByzKxvqOsu7nT0NK7sb56b3BltcRe
b14KPgo+IEJlc3QgUmVnYXJkcywKPgo+IFphY2hhcnkgV3UgKM7isH7A2ikKPiBTb2Z0d2FyZSBF
bmdpbmVlciwgRW50ZXJwcmlzZSBDb250ZW50IE1hbmFnZW1lbnQgRlZULCBJQk0gQ2hpbmEgU29m
dHdhcmUKPiBEZXZlbG9wbWVudCBMYWIKPiBUZWw6ICs4NiAxMCA4Mjc4MjI0NC0zMjM1LiBGYXg6
IDgyNzgyMjQ0LTI4ODYgVGllIExpbmU6IDkxNS0yMjQ0LTMyMzUKPiBJbnRlcm5ldDogeGlhb2xl
aXdAY24uaWJtLmNvbQo+IE5vdGVzIElEOiBYaWFvIExlaSBXdS9DaGluYS9Db250ci9JQk1ASUJN
Q04KPiBBZGRyZXNzOiA4L0YsIEJsb2NrIEEsIFBvd2VyIENyZWF0aXZlIEJ1aWxkaW5nLCBOby4x
LCBFYXN0IFJvYWQsIFNoYW5nIERpLAo+IEJlaWppbmcgMTAwMDg1LCBQLlIuIENoaW5hCj4KPiBw
eXRob24tY2hpbmVzZS1ib3VuY2VzQGxpc3RzLnB5dGhvbi5jbiDQtNPaIDIwMDYtMDctMzEKPiAx
NzozODoxMToKPgo+ID4gysewoaOsztLU2mNoaW5ho61wdWLJz7+0tb21xMirsr/Kx774sOajrLWx
s6G3rbW5oaMKPgo+ID4gLS0tLS3Urcq808q8/i0tLS0tCj4gPiC3orz+yMs6IHB5dGhvbi1jaGlu
ZXNlLWJvdW5jZXNAbGlzdHMucHl0aG9uLmNuCj4gW21haWx0bzpweXRob24tCj4gPiBjaGluZXNl
LWJvdW5jZXNAbGlzdHMucHl0aG9uLmNuXbT6se0geWkgaHVhbmcKPiA+ILeiy83KsbzkOiAyMDA2
xOo31MIzMcjVIDE3OjIwCj4gPiDK1bz+yMs6IHB5dGhvbi1jaGluZXNlQGxpc3RzLnB5dGhvbi5j
bgo+ID4g1vfM4jogUmU6ILTwuLQ6IFtweXRob24tY2hpbmVzZV0gx+u9zMjnus678cihstnX98+1
zbO1xM/gudjQxT8KPgo+ID4gz9bU2sTcsrvE3NTaytDD5snP1dK1vXB5dGhvbrXE1r3K6b7Nyse4
9s7KzOIuCj4gPgo+ID4KPiA+IC0tCj4gPiBodHRwOi8vY29kZXBsYXllci5ibG9nYnVzLmNvbS8K
PiBfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwo+ID4gcHl0
aG9uLWNoaW5lc2UKPiA+IFBvc3Q6IHNlbmQgcHl0aG9uLWNoaW5lc2VAbGlzdHMucHl0aG9uLmNu
Cj4gPiBTdWJzY3JpYmU6IHNlbmQgc3Vic2NyaWJlIHRvCj4gcHl0aG9uLWNoaW5lc2UtcmVxdWVz
dEBsaXN0cy5weXRob24uY24KPiA+IFVuc3Vic2NyaWJlOiBzZW5kIHVuc3Vic2NyaWJlIHRvCj4g
cHl0aG9uLWNoaW5lc2UtcmVxdWVzdEBsaXN0cy5weXRob24uY24KPiA+IERldGFpbCBJbmZvOgo+
IGh0dHA6Ly9weXRob24uY24vbWFpbG1hbi9saXN0aW5mby9weXRob24tY2hpbmVzZQo+Cj4KPiBf
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwo+IHB5dGhvbi1j
aGluZXNlCj4gUG9zdDogc2VuZCBweXRob24tY2hpbmVzZUBsaXN0cy5weXRob24uY24KPiBTdWJz
Y3JpYmU6IHNlbmQgc3Vic2NyaWJlIHRvCj4gcHl0aG9uLWNoaW5lc2UtcmVxdWVzdEBsaXN0cy5w
eXRob24uY24KPiBVbnN1YnNjcmliZTogc2VuZCB1bnN1YnNjcmliZSB0bwo+IHB5dGhvbi1jaGlu
ZXNlLXJlcXVlc3RAbGlzdHMucHl0aG9uLmNuCj4gRGV0YWlsIEluZm86Cj4gaHR0cDovL3B5dGhv
bi5jbi9tYWlsbWFuL2xpc3RpbmZvL3B5dGhvbi1jaGluZXNlCj4KPgoKCi0tIApCZXN0IHJlZ3Jh
ZHMsCklRRG9jdG9yCg==

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年08月01日 星期二 14:56

IQDoctor huanghao.c at gmail.com
Tue Aug 1 14:56:10 HKT 2006

推荐一个:testoob

在 06-8-1,limodou<limodou at gmail.com> 写道:
> On 8/1/06, wang yingqi <wangyingqi at gmail.com> wrote:
> >
> > 其实最大的不同就是把测试代码写在了功能代码里面,然后单个文件可以自运行!这样实现功能的时候比较方便!coding/debuging/testing,全在一个文件里面,发布的时候又不影响!
> >
> > limodou同学说的nose,我看了一下,应该是对unittest的一个延伸!但是我比较喜欢unittest的编码方式,相对来说已经是一个单元测试的传统规范了。:)
> >
> nose支持unittest吧。没有太细研究。不过形式很重要吗?而且我认为nose的方式更简单啊。
>
>
> --
> I like python!
> My Blog: http://www.donews.net/limodou
> My Django Site: http://www.djangocn.org
> NewEdit Maillist: http://groups.google.com/group/NewEdit
>
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request at lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>


-- 
Best regrads,
IQDoctor

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年08月14日 星期一 14:46

Black Sands ( Li Ying Min ) fred.li.1979.m.bj.prc at gmail.com
Mon Aug 14 14:46:24 HKT 2006

我也有这个疑惑,是要debug什么目标平台吗?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060814/8bd835fd/attachment.html

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2025

    京ICP备05028076号