TDD m-amano Copyright (c) 2009 Eiwa System Management, Inc. esm.co.jp 1 (TDD Test-Driven Development) TDD TDD Copyright (c) 2009 Eiwa System Management, Inc. 2 TDD TDD Q&A # Copyright (c) 2009 Eiwa System Management, Inc. 3 1980 2002 Copyright (c) 2009 Eiwa System Management, Inc. 4 ( ) 2002 Kent Beck TDD eXtreme Programming Copyright (c) 2009 Eiwa System Management, Inc. 5 ( ) Web2.0 Web Copyright (c) 2009 Eiwa System Management, Inc. 6 TDD Copyright (c) 2009 Eiwa System Management, Inc. 7 (TDD Test-Driven Development) Extreme Programming XP TDD POINT Copyright (c) 2009 Eiwa System Management, Inc. 8 TDD 1. 2. 3. 4. 5. 6. 7. 8. ( ) 1 7 POINT Copyright (c) 2009 Eiwa System Management, Inc. 9 TDD size() push() int size() void push(int value) pop() int pop() EmptyException push(20) pop() 20 size() 10 20 10 10 Copyright (c) 2009 Eiwa System Management, Inc. 10 TDD( POINT Copyright (c) 2009 Eiwa System Management, Inc. 11 TDD ( ) ( ) POINT Copyright (c) 2009 Eiwa System Management, Inc. 12 V Copyright (c) 2009 Eiwa System Management, Inc. ISTQB 13 POINT Copyright (c) 2009 Eiwa System Management, Inc. 14 M Copyright (c) 2009 Eiwa System Management, Inc. 15 TDD Fake It → Refactoring return 0; Fake It return 3; Refactoring return augend + addend; Triangulation return 0; Fake It return 3; Triangulation( ) Refactoring return augend + addend; Obvious Implementation( return 0; return augend + addend; POINT Copyright (c) 2009 Eiwa System Management, Inc. 16 Fail It → Fake It → Refactoring Fail It → Fake It → Triangulation → Refactoring Fail It → Obvious Implementation Copyright (c) 2009 Eiwa System Management, Inc. 17
© Copyright 2024 Paperzz