22
ATDD It’s Not Just About Writing Tests Debbie Evans Pete Thomas

ATDD It’s Not Just About Writing Tests

  • Upload
    marrim

  • View
    39

  • Download
    0

Embed Size (px)

DESCRIPTION

ATDD It’s Not Just About Writing Tests. Debbie Evans Pete Thomas. The Start. Requirement definition. SBE. Feature testing. Regression testing. Continuous testing. ATDD. Documentation. Traceability. Where we were…. Let’s automate stuff!. This looks like it’s just - PowerPoint PPT Presentation

Citation preview

Page 1: ATDD  It’s Not Just About Writing Tests

ATDD It’s Not Just About Writing

Tests

Debbie EvansPete Thomas

Page 2: ATDD  It’s Not Just About Writing Tests

The Start

Page 3: ATDD  It’s Not Just About Writing Tests

Requirement definition

Feature testing

Continuous testing

Traceability

Regression testing

Documentation

SBE

ATDD

Page 4: ATDD  It’s Not Just About Writing Tests

Where we were…

Page 5: ATDD  It’s Not Just About Writing Tests

Let’s automate stuff!

Users

Technology

Business Analyst

This looks like it’s just for tech, what about everyone else?

Why are we doing this?

Page 6: ATDD  It’s Not Just About Writing Tests

Reset

Page 7: ATDD  It’s Not Just About Writing Tests

What do you want me to build?

Technology

How do I know if it’s right?

Page 8: ATDD  It’s Not Just About Writing Tests

Users

Can you tell me what the system does? How do I know you

built what we agreed?

How do I know you haven't broken anything?

Page 9: ATDD  It’s Not Just About Writing Tests

Compliance & Audit

Did you build what was asked?

Did someone authorised to do so, say it was correct?

How do I know you haven't broken anything?

How did they know it was correct?

Page 10: ATDD  It’s Not Just About Writing Tests

Change

Page 11: ATDD  It’s Not Just About Writing Tests

Specification by Example?

Collaboration

Page 12: ATDD  It’s Not Just About Writing Tests

Imperative Declarative

Page 13: ATDD  It’s Not Just About Writing Tests

Imperative Declarative

Page 14: ATDD  It’s Not Just About Writing Tests

Imperative Declarative

Page 15: ATDD  It’s Not Just About Writing Tests

Imperative Declarative

Feature: Automated Trade Settlement

As a Settlements Operations UserI want settlements from agent banks to be processedSo that Trades reflect Settlement properly

Scenario: Autocash Settlement of a Free of Payment Trade on Value Date

Given a trade of <settlement type>And cash open quantity of <cash open quantity>And value date of <value date>When the business date is 18/07/2013Then the cash open quantity is updated to <updated cash open quantity>

Examples:

Settlement Type Cash Open Quantity Value Date Updated Cash Open QuantityFree of Payment 10,000 18/07/2013 0Free of Payment 11,000 19/07/2013 11,000Delivery versus Payment 12,000 18/07/2013 12,000

Page 16: ATDD  It’s Not Just About Writing Tests

Imperative Declarative

Feature: Automated Trade Settlement

As a Settlements Operations UserI want settlements from agent banks to be processedSo that Trades reflect Settlement properly

Scenario: Autocash Settlement of a Free of Payment Trade on Value Date

Given a Free Of Payment TradeWhen the value date is todayThen the cash fully settles

Given a Free Of Payment TradeWhen the value date is in the futureThen the cash remains open

Given a Delivery versus Payment TradeWhen the value date is todayThen the cash remains open

Page 17: ATDD  It’s Not Just About Writing Tests

But what about……

Consistent qualityLiving documentationTraceability

Tools?

Page 18: ATDD  It’s Not Just About Writing Tests

Test better together

SBE + Social Testing = Collaborative Learning

Page 19: ATDD  It’s Not Just About Writing Tests
Page 20: ATDD  It’s Not Just About Writing Tests
Page 21: ATDD  It’s Not Just About Writing Tests
Page 22: ATDD  It’s Not Just About Writing Tests

It’s not just about testing!