Talk: Test Driven Python 懶人包

介紹透過 Test Driven programming 的方式.
使用簡單易懂的 Python 動態語言和模組來實際撰寫 Console 和網頁程式.


"Test Driven 是什麼?"

"編寫 Test Case 很麻煩吧."

"寫程式已經夠麻煩了, 我不要另外寫 Test Case 啦"

在這個 session 中你可以學到懶人用的測試概念:
測試既不麻煩也不用特地學,
寫 Test Case 和寫一般函式沒兩樣.
程式註釋裡的範例片段也可以拿來當 Test Case


內容主要涵蓋
* Test Driven 簡介
* 簡單測試: 使用 Nose 測試工具
* 用寫文件的方式寫測試: 使用 DocTest
* console 程式測試
* 使用 Python optparse 標準函式庫來產生 "-- help" 和處理 console 參數
* 網頁程式測試: 使用 Nose 測試 TurboGears 程式.

Categories

0 TrackBacks

Listed below are links to blogs that reference this post: Talk: Test Driven Python 懶人包.

TrackBack URL for this entry: http://osdc.tw/cgi-bin/mt-tb.cgi/279

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

Schedule

About This Post

This page contains a single entry by posted on February 28, 2007 8:50 PM.

Talk: Pumper -- a AJAX framework with server & client was the previous post in this blog.

Talk: The furture of the Ruby on Rails :REST is the next post in this blog.

Find recent content on the main index or look in the archives to find all content.

Powered by Movable Type 4.32-en
hosted by PhotonVPS