Slide 1

Slide 1 text

' $ &% Expected - Actual = 0 " Agile Japan 2018 !)(#

Slide 2

Slide 2 text

• =GE> • Tiwtter: @haru01 • G<!%-,( .5& • /3# • ScrumC 0'$&%!& 2 )"25 TDD …B D • +41, • 8;Java6@RubyA PythonHF9?GoI:7 • *4 https://twop.agile.esm.co.jp/ 2

Slide 3

Slide 3 text

3 https://agile.esm.co.jp/

Slide 4

Slide 4 text

(.+"#63F8. ,-)$B5 0!1-%;4:?2<97 F8. ,-)$&* E@ '/!,100C= D> A !!

Slide 5

Slide 5 text

*0 IN ,'=;(XWAH*B:6!O 8)CF*9?LJZYQP2&/E-7 6!@5<"+I3 QP%#1$D4TM 1$RVUKSK.>G etc…. (#+ ! "/$4.1% 35206)', *-&

Slide 6

Slide 6 text

= -X;6$ H #%N$ YO?. ,)<* % EU GJ1HD@' R[ !"%^+C2 Flow++LK+ 894 _T > IV] /0 /0 /0 W5 /0 /0 F7:SZQ 4&(A \ P B M 3 B

Slide 7

Slide 7 text

Slide 8

Slide 8 text

! % % ' & Expected22℃ Actual3℃ ℃ Time ExpectedActual "#$ Expected22℃ Actual3℃

Slide 9

Slide 9 text

Slide 10

Slide 10 text

P Action Expected Actual People ≒ Expected: Happy!! Actual:Sad!!

Slide 11

Slide 11 text

N C Expected: Build OK! I N Actual: Build Fail! G expected actual

Slide 12

Slide 12 text

! −−

Slide 13

Slide 13 text

Slide 14

Slide 14 text

* $& !) + " % #' (

Slide 15

Slide 15 text

Slide 16

Slide 16 text

"! "! "!

Slide 17

Slide 17 text

l͋ͱ͔Βௐ΂ͯΈΕ͹ɺ ຊ౰ʹ໰୊Λղ͍ͯ΄͔ͬͨ͠ਓ ͸ͦΜͳʹ͍ͳ͍΋ͷͩ M

Slide 18

Slide 18 text

Fail First P?FL\X)# QN \XS 1/@0 5G QN ,!?R9VZ &*- H3 =K >MYC B (AE :62 OYC B (AE %"' (A E 7J4W[D.[D$+ U8 >MYC …;T <I

Slide 19

Slide 19 text

Slide 20

Slide 20 text

!#%& $"

Slide 21

Slide 21 text

Slide 22

Slide 22 text

Customer Discovery Customer Validation Customer Creation Customer Building

Slide 23

Slide 23 text

"! $# TDD−ATDD $ #(%!" '&*) $

Slide 24

Slide 24 text

Slide 25

Slide 25 text

l඼࣭ͱ͸୭͔ʹͱͬͯͷՁ஋ Ͱ͋Δ M

Slide 26

Slide 26 text

UP UP Xxx

Slide 27

Slide 27 text

UP UP

Slide 28

Slide 28 text

− UP People( ) UP

Slide 29

Slide 29 text

UP UP -> -> UP

Slide 30

Slide 30 text

(' QA ('&#)$"!%" etc….

Slide 31

Slide 31 text

) ( ( 1 *20/.)#!$-&' 1 ",(+#%

Slide 32

Slide 32 text

lΤΫετϦʔϜϓϩάϥϛϯά ͱ͸ιʔγϟϧνΣϯδͰ͋Δ

Slide 33

Slide 33 text

# $ ! "

Slide 34

Slide 34 text

! ! ! ! ! ! ! ! !

Slide 35

Slide 35 text

Slide 36

Slide 36 text

PeopleHappy 2+0!.4*%-4*& :;<7 8',65 @? " 89>/$)1-(=3#

Slide 37

Slide 37 text

”No

Slide 38

Slide 38 text

lγϯϓϧ͞ʢϜμͳ͘࡞ΕΔ ྔΛ࠷େݶʹ͢Δ͜ͱʣ͕ຊ ࣭Ͱ͢ɻ

Slide 39

Slide 39 text

$ ! No #" * %&" No! $ * # No! $ * # No! $

Slide 40

Slide 40 text

Slide 41

Slide 41 text

l໰୊ͱ͸ ๬·Εͨࣄฑͱೝࣝ͞Εͨࣄฑͷ૬ҧͰ͋Δ M

Slide 42

Slide 42 text

Expected – Actual = 0 people.reduce(0){ |diff, person| diff + (person.expteced - person.actual).abs }

Slide 43

Slide 43 text

assertEquals(expected, actual);

Slide 44

Slide 44 text

Slide 45

Slide 45 text

No content

Slide 46

Slide 46 text

Expected Actual UP

Slide 47

Slide 47 text

Actual Expected

Slide 48

Slide 48 text

Expected Actual

Slide 49

Slide 49 text

" $ ! # A A

Slide 50

Slide 50 text

A XXX "!

Slide 51

Slide 51 text

# " !

Slide 52

Slide 52 text

Expected Actual

Slide 53

Slide 53 text

!

Slide 54

Slide 54 text

%"!'& + $ *(#)

Slide 55

Slide 55 text

!"" #%& ') 0+,.- $(/*

Slide 56

Slide 56 text

! $( %)#& " ! '*

Slide 57

Slide 57 text

http://bliki-ja.github.io/ConversationalStories/ Who What Why Who What Why

Slide 58

Slide 58 text

%"CRC " &# People$ !

Slide 59

Slide 59 text

http://gc.sfc.keio.ac.jp/class/2006_23636/slides/05/5.html − −

Slide 60

Slide 60 text

T DCA t C A ,) ( E A A c AC t e C T c c R () .

Slide 61

Slide 61 text

"#%%!( +!'8A<74 :23 ;> B: - &0*&/16$) ? ?= .1,58A<7@9 https://www.slideshare.net/kkd/user-story-mapping-for-agile-team http://gc.sfc.keio.ac.jp/class/2006_23636/slides/05/5.html

Slide 62

Slide 62 text

l࠷ྑͷΞʔΩςΫνϟɾཁ ٻɾઃܭ͸ɺࣗݾ૊৫తͳ νʔϜ͔ΒੜΈग़͞Ε·͢ɻ

Slide 63

Slide 63 text

Slide 64

Slide 64 text

ü '+*(,B79RG@ ü 0T=P3CIU% ü )YOX ü ;> %A< ü .Z[`#&!/_ ü V%0T3C: JV ü 7 H4 ü ?-28M^ %SKWQ6 " $5DL\NF1E #&!/_] Expected Actual

Slide 65

Slide 65 text

Red Green or Expected Actual

Slide 66

Slide 66 text

,/ GUI .*" +%6 #&7 ' GUI Spy 3)1 ,/(- ! 90$ 25 assert execute 80$ .*"4 Expected Actual

Slide 67

Slide 67 text

& ( !#$ ' … void printOwing(double amount) { printBanner(); // %" System.out.println("name:" + name); System.out.println("amount:" + amount); } void printOwing(double amount) { printBanner(); printDetails(amount); } private void printDetails(double amount) { // System.out.println("name:" + name); System.out.println("amount:" + amount); } ಈ࡞͢Δ͕ෆ٢ͳष͍ ͕͢Δίʔυ ಡΜͰཧղ͢Δ·Ͱͷ͕࣌ؒେ ػೳͷ௥Ճ΍मਖ਼ʹ͕͔͔࣌ؒΔɾෆՄೳ ίʔυʹ޲͖߹͏ͱਏ͍ ಈ࡞͢Δ͖Ε͍ͳίʔυ ಡΜͰཧղ͢Δ·Ͱͷ͕࣌ؒখ ػೳͷ௥Ճ΍मਖ਼͕Ͱ͖Δ ίʔυʹ޲͖߹͏ͷָ͕͍͠ Expected Actual

Slide 68

Slide 68 text

() ਓ͕ଟ͗ͯ͢ௐ੔ίετߴ ৽ϝϯόʔ͕ࢀՃͯ͠ཧղ͢Δ·Ͱ͕࣌ؒେ టஂࢠΞʔΩςΫτͰσϓϩΠ͕೉͍͠ Τϥʔղੳ͕೉͍͠ ద౓ͳνʔϜαΠζͰௐ੔ίετখ ৽ϝϯόʔ͕ࢀՃͯ͠ཧղ͢Δ·Ͱͷ͕࣌ؒখ ୯Ұ໨తαʔϏεͰಠཱͯ͠σϓϩΠ͠ݕূ͠΍͍͢ ہॴԽͰΤϥʔղੳ͠΍͍͢ ஫ҙɿৗʹαʔϏεͷநग़͕ྑ͠ͱ͸ݶΒͳ͍ɻϞδϡʔϧ΍ύʔέʔδ෼ׂʹཹΊΔɺ ٯʹαʔϏεͷΠϯϥΠϯԽͯ͠·ͱΊΔͷબ୒ࢶͱτϨʔυΦϑ൑அ Expected Actual

Slide 69

Slide 69 text

People

Slide 70

Slide 70 text

lٕज़త୎ӽੑͱ༏Εͨઃܭʹ ର͢Δෆஅͷ஫ҙ͕ػහ͞Λ ߴΊ·͢ɻ

Slide 71

Slide 71 text

# &+(0%' ". !#" )*$/,-

Slide 72

Slide 72 text

9/(%#!% ?<)' 4; expected actual +, 32=> .657* %!%NG "NG NG ,2 80/ %!%OK "OK OK $OK :1-&

Slide 73

Slide 73 text

0 1 5

Slide 74

Slide 74 text

Slide 75

Slide 75 text

Slide 76

Slide 76 text

lνʔϜ͕΋ͬͱޮ཰ΛߴΊΔ͜ͱ͕ Ͱ͖Δ͔ΛఆظతʹৼΓฦΓɺ ͦΕʹج͍ͮͯࣗ෼ͨͪͷ΍ΓํΛ ࠷దʹௐ੔͠·͢ɻ

Slide 77

Slide 77 text

lࢲ͸ຊ౰ʹͦΕΛղ͖͍͔ͨʁ M

Slide 78

Slide 78 text

Slide 79

Slide 79 text

l໰୊ͷग़ॴ͸΋ͬͱ΋͠͹͠͹ΘΕΘ Εࣗ਎ͷதʹ͋Δ M

Slide 80

Slide 80 text

No content

Slide 81

Slide 81 text

No content

Slide 82

Slide 82 text

. 3 . 2 1 84 1 .

Slide 83

Slide 83 text

#"!

Slide 84

Slide 84 text

No content

Slide 85

Slide 85 text

Change!!

Slide 86

Slide 86 text

Expected Expected Actual

Slide 87

Slide 87 text

A A E E P

Slide 88

Slide 88 text

E A

Slide 89

Slide 89 text

Slide 90

Slide 90 text

% ! $#"

Slide 91

Slide 91 text

z91ͱ͸ɺ͋ͳ͕ͨࣗ෼ͷཧ૝ʹ͍ͭͯߟ͑ɺͦͷཧ૝ ʹ΋ͱ͍ͮͯߦಈ͢ΔͨΊͷํ๏ͩɻ

Slide 92

Slide 92 text

) * Expected "−$( * Actual#%−' * 2!& aE 2 c lE 2 E 2 Epo A d E 2 d E 2 d E 2 : E E E 2 E E S E e2

Slide 93

Slide 93 text

l91ͷ伴͸੣࣮ੑʢJOUFHSJUZʣͩɻຊ౰ͷՁ஋ͱௐ࿨ͷ ͱΕͨߦಈΛ͢Δ͜ͱͩɻ

Slide 94

Slide 94 text

Slide 95

Slide 95 text

Slide 96

Slide 96 text

*0 IN ,'=;(XWAH*B:6!O 8)CF*9?LJZYQP2&/E-7 6!@5<"+I3 QP%#1$D4TM 1$RVUKSK.>G etc…. $(& , 1+.! 02/-3%#) '*"

Slide 97

Slide 97 text

(%/1'0-4 #)& *# "0# "352 .!$ ,+

Slide 98

Slide 98 text

= -X;6$ H #%N$ YO?. ,)<* % EU GJ1HD@' R[ !"%^+C2 Flow++LK+ 894 _T > IV] /0 /0 /0 W5 /0 /0 F7:SZQ 4&(A \ P B M 3 B

Slide 99

Slide 99 text

Slide 100

Slide 100 text