Professional Documents
Culture Documents
PycTW 2011
Software Developer
Web Developer
Python
ID Python Keith
Python Taiwan
keitheis
PycTW 2011
Joel Test
Build
Deploy
Test
Code
PycTW 2011
?
?
(daily builds)?
(bug database)?
?
?
PycTW 2011
?
?
?
?
?
(hallway usability)?
PycTW 2011
PycTW 2011
: (Joel Spolsky)
Paul May
Nick Wong
2000.8.9
89
PycTW 2011
IRC
PycTW 2011
Compile?
Visssual
Ssstudio F5
bat or sh + task schedule or cron job
PycTW 2011
commit
E-mail
PycTW 2011
Jenkins
PycTW 2011
PycTW 2011
PycTW 2011
Batch...
Python
PycTW 2011
PycTW 2011
Build to Deploy
PycTW 2011
http://pl.csie.ntut.edu.tw/~ccchang/ci_android.pdf
PycTW 2011
(Nightly Build)
X
PycTW 2011
Debug
PycTW 2011
PycTW 2011
PycTW 2011
Unit Test
Functional Test
System Test
Regression Test
Performance and Stress Test
Coverage
PycTW 2011
Unit Test
Functional Test
System Test
Regression Test
Performance and Stress Test
Coverage
PycTW 2011
nose
unittest
PycTW 2011
Coverage
(heroku) C:\Users\Keith\heroku\wordspa>nosetests tests
......
Name
Stmts
Miss Cover
Missing
------------------------------------------------wordspa
11
0
100%
wordspa.resources
26
1
97%
7
wordspa.views
5
0
100%
------------------------------------------------TOTAL
42
1
98%
------------------------------------------------Ran 6 tests in 5.401s
OK
6x7=?
PycTW 2011
o () 0
PycTW 2011
PycTW 2011
Code is law
PycTW 2011
Vim v.s. Emacs
Notepad++
Gedit
Editra
Textmate
IDEPyDev...
PycTW 2011
PycTW 2011
Peopleware
PycTW 2011