Your SlideShare is downloading. ×
Scrum Gathering 2012 Shanghai_工程实践与技术卓越分会场:解析测试驱动开发(张博超)
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

Scrum Gathering 2012 Shanghai_工程实践与技术卓越分会场:解析测试驱动开发(张博超)

996

Published on

测试驱动开发(TDD)对很多程序员来说,看起来很美好,实践起来却困难重重。写代码时思路常常被测试用例牵着走,很难做到小步前进,这时问题往往出在测试用例的选择上。本话题将结合Coding Kata的形式,带领大家分析TDD过程中如何让测试用例驱动出优秀的代码。

测试驱动开发(TDD)对很多程序员来说,看起来很美好,实践起来却困难重重。写代码时思路常常被测试用例牵着走,很难做到小步前进,这时问题往往出在测试用例的选择上。本话题将结合Coding Kata的形式,带领大家分析TDD过程中如何让测试用例驱动出优秀的代码。

Published in: Technology, Business
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
996
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
64
Comments
0
Likes
1
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. 解析测试驱动开发 张博超
  • 2. TDD Explained
  • 3. Jackson Zhang 张博超Irdeto CSM, CSP, CSPO
  • 4. Prime Factor
  • 5. 1 -> []2 -> [2]3 -> [3]4 -> [2, 2]6 -> [2, 3]8 -> [2, 2, 2]9 -> [3, 3]
  • 6. How to choose test case
  • 7. 9 8 63 4 2 1
  • 8. Strategy to choose path?
  • 9. Case -> SpecificCode -> Generic
  • 10. n Factor Factor is n 2 Factor n Factor Factor is n Factor is 2 1 Factor 2 Factor Factor is 2 [1, 2]1
  • 11. Prime Factor ->n Factor, Factor is n
  • 12. Roman Numeric
  • 13. I -> 1V -> 5X -> 10L -> 50C -> 100D -> 500M -> 1000
  • 14. TDD is NOT new
  • 15. Thankszbcjackson@gmail.com weibo.com/zbcjackson iagile.me/blog

×