atdd

25
Acceptance Test Driven Development Twin Panichsombat

Upload: -

Post on 16-Apr-2017

1.199 views

Category:

Software


0 download

TRANSCRIPT

Acceptance Test Driven Development

Twin Panichsombat

–Varokas Panusuwan

“ผมทำ software ที่มี zero defect”

–Twin Panichsombat

“นนท์ มึง บ้า”

สองปีผ่านไป

–Twin Panichsombat

“ผมทำ software ที่มี zero defect”

“พวกสนุกกับการทำ software ที่มี zero defect”

พวกเราทำอะไร ? พวกเราทำระบบ order management

พวกเราทำระบบ call center ให้ telecom operator แห่งหนึ่ง

ที่มีสาขาทั่วประเทศประมาณ 300 สาขา มีคนใช้งานพร้อมกันหลายพันคน

ทำการ เปิดเบอร์ เปลี่ยนแพคเกจ จ่ายเงิน เปลี่ยนที่อยู่ ซื้อเครื่อง รับสายเข้า โทรออกและอื่นๆที่เกี่ยวข้อง

กับการติดต่อลูกค้น

“Defect มาตอนไหน?”

User Acceptance Test

30,000 features at a time

Expectation

Expectation

User Expectation(Defects)

Delivery Expectation

อย่าเดาใจกัน และ ก็อย่าหวังว่าใครจะรู้ใจ

Expectation

Expectation Expectation Expectation

Expectation ExpectationExpectation Expectation

Expectation Expectation

Expectation

Expectation Expectation Expectation

Expectation ExpectationExpectation Expectation

Expectation Expectation

Expectation

Expectation Expectation Expectation

Expectation ExpectationExpectation Expectation

Expectation Expectation

ทำให้ความคาดหวังเล็กลงและมีลำดับสำคัญ

User Expectation

ATDD

Dev Expectation=

21

Discussin workshop

Developin concurrence

Deliverfor acceptance

I want to show scores for the current pair.

OK. Can you give me an example of these scores?

So if the three judges gave scores 7, 11 and 2 then the

displayed score should be 20. OK. And would those individual judges' scores be shown?

Or just the total?Yes, individual scores.

And they should be shown all the time, even before all judges have

given their scores.Like if first two judges

give a 7 and an 11 then we'll show 18 as an intermediate score?

Exactly.

With 3 judges giving scores 4, 20, and 18, the displayed score should be 42.

When the first 2 judges have given their scores, e.g. 10 and 5, the intermediate score of 15 should be displayed already.

No scores displayed as a dash (–), not zero.

Maximum score from a judge is 20 points!

As a competition organizerin order to show the judging to the

audience on several monitorsI want to have the scores for the

current pair on a web page.

Scoring

As a competition organizerin order to show the judging to the

audience on several monitorsI want to have the scores for the

current pair on a web page.

Scoring

As a competition organizerin order to show the judging to the

audience on several monitorsI want to have the scores for the

current pair on a web page.

Scoring

As a competition organizerin order to show the judging to the

audience on several monitorsI want to have the scores for the

current pair on a web page.

Scoring

22

The examples are translated into executable specification, allowing a computer to run them against the product.

Discussin workshop

Developin concurrence

Deliverfor acceptance

email title message expected

Not Successfully send feedback with invalid

[email protected] bad service bad service dissmiss window

display

Successfully send feedback with valid

[email protected] bad service bad service success windows

display

User Expectation

Deliver within this “Frame”. Our software is considering “ZERO DEFECT”

Pop Kung would Like To Send Feedback With Invalid Email Given He Fill Invalid Email With Valid Subject And Content When He Submit Form Back Then Feedback Form Should Not Be Delivered

Pop Kung Would Like To Send Feedback with Valid Email Given He Fill In All Valid Information In Feedback Form When He Submit Form Back Then Feedback Form Should Be Delivered To Whom It May Concern

https://github.com/roofimon/Contact