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

Like this? Share it with your network

Share

Testing in Python @ Kaosiung.py 2014.05.26

on

  • 698 views

Testing in Python @ Kaosiung.py ...

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/

Statistics

Views

Total Views
698
Views on SlideShare
325
Embed Views
373

Actions

Likes
4
Downloads
10
Comments
0

9 Embeds 373

http://joe-dev.blogspot.tw 340
http://www.slideee.com 13
http://joe-dev.blogspot.com 10
http://feedly.com 5
http://joe-dev.blogspot.ca 1
http://joe-dev.blogspot.fr 1
http://silverreader.com 1
http://joe-dev.blogspot.de 1
http://joe-dev.blogspot.hk 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Testing in Python @ Kaosiung.py 2014.05.26 Presentation 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. 歡迎投稿 一起吃好料吧!