Your SlideShare is downloading. ×
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Testing in Python @ Kaosiung.py 2014.05.26
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Testing in Python @ Kaosiung.py 2014.05.26

816

Published on

Testing in Python @ …

Testing in Python @ Kaosiung.py

Kaosiung.py:
https://www.facebook.com/groups/kaohsiungpy/

Tainan.py:
http://www.meetup.com/Tainan-py-Python-Tainan-User-Group/

MOSUT:
https://www.facebook.com/groups/mosut/

Published in: Technology
0 Comments
4 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
816
On Slideshare
0
From Embeds
0
Number of Embeds
10
Actions
Shares
0
Downloads
15
Comments
0
Likes
4
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Joe @ Kaosiung.py 2014.05.26 Testing in Python 新手給的測試入門課
  • 2. Diff 跟前一場演講不一樣 ...
  • 3. 魯蛇喬 (Joe)
  • 4. 半端工程師 75% 後端 25% 前端
  • 5. Demo Code https://bitbucket.org/devjoe/talk_tip
  • 6. Outline • Testing Frameworks/ Tools in Python • Python in TDD • Reference
  • 7. Doctest Readability Counts
  • 8. Demo
  • 9. doctest
  • 10. 文件即程式碼 程式碼即文件
  • 11. unittest Builtin tool
  • 12. Demo
  • 13. unittest
  • 14. 來自 JUnit ... 我隔我隔我隔隔隔
  • 15. nose 強大的加強版 unittest
  • 16. Demo
  • 17. nose
  • 18. 可以外掛很多套件 不夠還可以自己寫
  • 19. py.test 更加直覺的瑞士小刀
  • 20. Demo
  • 21. py.test
  • 22. 據說更加 pythonic 彩色就贏了?
  • 23. lettuce & behave 客戶最愛的守規矩的生菜
  • 24. Demo
  • 25. lettuce
  • 26. lettuce
  • 27. lettuce
  • 28. 如果不是要寫 unit & integration test ? 有工具幫助我寫 Functional tests 嗎?
  • 29. 呃 ... 我只會一點 Web 魯蛇喬與他的快樂好朋友
  • 30. requests / pyquery 自幹無敵
  • 31. Demo
  • 32. requests
  • 33. 其實也沒那麼累 某人以前傻傻的自幹過 by httplib2
  • 34. ghost.py 來跑 javascript 吧!
  • 35. No Demo
  • 36. javascript == "潮" True
  • 37. Pyccuracy 客戶站在 selenium 的肩膀上
  • 38. Dead Demo
  • 39. Bj4
  • 40. Robot Framework 巨人站在巨人肩膀上 (java/python)
  • 41. Dead Demo
  • 42. 很好很強大 今年 PyConAPAC 有講者介紹過 https://pyconapac2014.hackpad.com/PyCon-APAC-2014-Co- Notes-Index-ZQKz3p7rhmP 議程全筆記
  • 43. 更多的 Testing Search: python testing tools taxonomy
  • 44. Outline • Testing Frameworks/ Tools in Python • Python in TDD • Reference
  • 45. Why "Python in TDD" ? Not "TDD in Python" ? Or "Python in Python" ? Or "TDD inTDD" ?
  • 46. TDD by example (Kent Beck @ 2002) • The money example • The xUnit Example • Patterns for Test-Driven Development • TDD patterns • Red Bar patterns • Testing patterns • Green Bar patterns • xUnit Patterns • Design Patters • Refactoring • Mastering TDD
  • 47. Written in Python 而且用 TDD 開發 TDD Tool Done Demo
  • 48. Note • TDD 是組合技 • 使用 TDD 不可能導致 Over Design • 寫太多 Sub/Mock/Fake 叫做 Over Implementation • 拿出紙筆寫下需求清單與測試清單 • TDD 有成本
  • 49. Outline • Testing Frameworks/ Tools in Python • Python in TDD • Reference
  • 50. • 2011 出版有點舊 • 附程式碼很方便 • PACKT 可購得
  • 51. • 經典 BJ4
  • 52. • 我在網路上看到最好的快速上手中文教學
  • 53. • 還沒看 XD •  預計在 Tainan.py 分享
  • 54. 工商服務 更多的 Python
  • 55. 一切的開始
  • 56. 我要到台南辦 Tainan.p* 還有吃牛肉湯
  • 57. 搬到台南後 ...
  • 58. 得到 Logo !
  • 59. 得到在地社群的支持 !
  • 60. 場地器材提供 !
  • 61. Tainan.py • Since 2013.06 ~ • 從 Taipei.py fork 出來的聚會 • 常與 MOSUT 社群合辦 • 一場演講常常 1 Hour 起跳 • 常常有好吃的東東 • 徵志工 (也想玩 meetup 系統嗎) 總共辦過 10 次 週六舉辦 人也很多 強者 Python + Open
  • 62. 議程回顧
  • 63. bottle
  • 64. rst format, sphinx, google cloud platform, x86 machine code
  • 65. thread safety, 用 python 實作OSX/WIN dual monitor information query 及 url entrycache 的探訪與刪除, linux/C 組裝 軟體的心得, linux CNC, 5 分鐘 git 上手
  • 66. garbage collection, pypy, 數 學女孩之機率的崩壞, Kinect 簡介
  • 67. python type and object, git 狀況劇
  • 68. keith 閒聊, shell 導 讀, 自由曲面
  • 69. virtualization, unicode in python, 用 shedskin 加速 python
  • 70. 下次聚會? 5/31 14:00
  • 71. Testing in python, TDD in python, 資料分析用 python
  • 72. 歡迎投稿 一起吃好料吧!

×