Introducing the testing diamond

A presentation at NDC London in January 2020 in London, UK by Moreton

Slide 1

Slide 1

Introducing the testing diamond @allmobro

Slide 2

Slide 2

Introduction ● Opinions ● Communities #NDCLondon @allmobro

Slide 3

Slide 3

The plan ● Value ● Language ● Strategy #NDCLondon @allmobro

Slide 4

Slide 4

5 Value

Slide 5

Slide 5

Testing as a product ● Confidence ● Documentation ● Feedback #NDCLondon @allmobro

Slide 6

Slide 6

Main risks to product ● Confidence - Unreliable ● Documentation - Holes ● Feedback - Slow #NDCLondon @allmobro

Slide 7

Slide 7

Measuring value ● ● ● ● Confidence - Test failure Documentation - Coverage-ish Feedback - Time Delta #NDCLondon @allmobro

Slide 8

Slide 8

15 Language

Slide 9

Slide 9

UI end to end ● ● ● ● Definition Value per test Trade offs Where #NDCLondon @allmobro

Slide 10

Slide 10

Component ● ● ● ● Definition Value per test Trade offs Where #NDCLondon @allmobro

Slide 11

Slide 11

Unit ● ● ● ● Definition Value per test Trade offs Where #NDCLondon @allmobro

Slide 12

Slide 12

API Integration ● ● ● ● Definition - Provider driven contract Value per test Trade offs Where #NDCLondon @allmobro

Slide 13

Slide 13

Smoke ● Definition ● Objectives ● Where #NDCLondon @allmobro

Slide 14

Slide 14

Acceptance ● Definition ● Achieved across layers ● Swiss cheese #NDCLondon @allmobro

Slide 15

Slide 15

30 Strategy

Slide 16

Slide 16

MFE SPA app ● ● ● ● UI Component Unit Smoke #NDCLondon @allmobro

Slide 17

Slide 17

HTTP API Microservice ● Integration ● Unit ● Smoke #NDCLondon @allmobro

Slide 18

Slide 18

Coupling #NDCLondon @allmobro

Slide 19

Slide 19

Diamond #NDCLondon @allmobro

Slide 20

Slide 20

Grey #NDCLondon @allmobro

Slide 21

Slide 21

40 Recap

Slide 22

Slide 22

Things we haven’t covered ● ● ● ● ● ● Accessibility Performance Security Infra Continuous monitoring etc. #NDCLondon @allmobro

Slide 23

Slide 23

Summary ● ● ● ● Value Common language Strategy Trade offs #NDCLondon @allmobro

Slide 24

Slide 24

Resources ● ● ● ● ● James Shore Gojko Adzic Jessica White Korny Peers #NDCLondon @allmobro

Slide 25

Slide 25

PubConf.io

Slide 26

Slide 26

Slide 27

Slide 27

Thank you! @allmobro (Please vote)