• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Scrum Gathering 2012 Shanghai_工程实践与技术卓越分会场:解析测试驱动开发(张博超)
 

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

on

  • 1,011 views

测试驱动开发(TDD)对很多程序员来说,看起来很美好,实践起来却困难重重。写代码时思路常常被测试用例牵着走,很难做到小步前进,这时问题往往出...

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

Statistics

Views

Total Views
1,011
Views on SlideShare
821
Embed Views
190

Actions

Likes
1
Downloads
64
Comments
0

2 Embeds 190

http://scrumgathering.cn 187
http://2012.scrumgathering.cn 3

Accessibility

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

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

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