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

1,120 views
1,080 views

Published on

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

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

No Downloads
Views
Total views
1,120
On SlideShare
0
From Embeds
0
Number of Embeds
192
Actions
Shares
0
Downloads
66
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

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

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

×