1 of 16

Test Automation at Sage Pay

Sarah Alhawi

Quality Assurance Engineer

Sage Pay

2 of 16

2

11/6/2015

100%�reliable

Priority support:

UK based, 365 days a year

Online, face to face, phone and invoice payments

We have over 50,000 businesses as our customer

We securely process over 258m payments worth 21bn

Sage Pay

At a glance

3 of 16

3

11/6/2015

Sage Pay

Payments processing

£1 billion transactions per month

Around 20% Market Share

Integrates with major platforms

99.997% Availability

4 of 16

4

11/6/2015

Business that never stops

What we have achieved

6200% increase

in code releases

24hrs delivery time

to customers

85% fewer bugs

5 of 16

5

11/6/2015

QUALITY

VS

TIME

6 of 16

    • TDD
    • BDD
    • Pair Programming
    • Considering security

6

06/11/2015

Pillars of Testing

7 of 16

    • Pair programming (developer/tester)
    • CI
    • Little Manual Testing
    • Develop the new functionality/a change in the code
    • Delivering small changes every week

7

11/6/2015

Weekly Iterations

8 of 16

Sage presentation

8

7th November 2015

9 of 16

Sage presentation

9

7th November 2015

10 of 16

TDD and BDD

10

11/6/2015

    • Start with writing tests and make them fail (for the right reason)

    • Focus on making the tests pass(TDD)

    • Focus on user behaviour- the normal and the paranoid

11 of 16

Categories of Testing

Sage presentation

11

7th November 2015

    • Exploratory
    • End-to-end
    • Component
    • Integration
    • Unit

12 of 16

Sage presentation

12

7th November 2015

Spoofing

Tampering

Repudiation

Information Disclosure

Denial of Service

Elevation of Privilege

Security

Do everything with security in mind

13 of 16

Sage presentation

13

7th November 2015

Successful Releases

14 of 16

Sage presentation

14

7th November 2015

Reduction in bugs

Availability

>99.95%

New Bugs

85% decrease

15 of 16

Summing Up

  • Development Culture – work together

  • Test Visualisation

  • Security – the bigger picture

  • Confidence in Releases

  • 99.997 uptime

  • Very low number of bugs

Sage presentation

15

7th November 2015

16 of 16

Contact Information

LinkedIn: Sarah Alhawi

Blog: SarahIsTesting