continuous delivery and devops - eurostar conference · mind the gap. a simple calculation. ......

33
Continuous Delivery and DevOps Moving from Staged to Pervasive Testing Rob Lambert

Upload: others

Post on 10-Aug-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Continuous Delivery and DevOps - EuroSTAR Conference · Mind the gap. A simple calculation. ... Ineffective I don’t mind helping out but my word, testing is so boring We ran 10

Continuous Delivery and DevOpsMoving from Staged to Pervasive Testing

Rob Lambert

Page 2: Continuous Delivery and DevOps - EuroSTAR Conference · Mind the gap. A simple calculation. ... Ineffective I don’t mind helping out but my word, testing is so boring We ran 10

www.eurostarconferences.com

I’ve spent a lot of time doing

www.eurostarconferences.com

SlowBoring

and Ineffective testing

Page 3: Continuous Delivery and DevOps - EuroSTAR Conference · Mind the gap. A simple calculation. ... Ineffective I don’t mind helping out but my word, testing is so boring We ran 10

www.eurostarconferences.com

It’s no surprise then that we didn’t ship very often

www.eurostarconferences.com

Page 4: Continuous Delivery and DevOps - EuroSTAR Conference · Mind the gap. A simple calculation. ... Ineffective I don’t mind helping out but my word, testing is so boring We ran 10

www.eurostarconferences.com

Test case management system of DOOM

Page 5: Continuous Delivery and DevOps - EuroSTAR Conference · Mind the gap. A simple calculation. ... Ineffective I don’t mind helping out but my word, testing is so boring We ran 10

www.eurostarconferences.com

Mind the gap

Page 6: Continuous Delivery and DevOps - EuroSTAR Conference · Mind the gap. A simple calculation. ... Ineffective I don’t mind helping out but my word, testing is so boring We ran 10

www.eurostarconferences.com

A simple calculation

Page 7: Continuous Delivery and DevOps - EuroSTAR Conference · Mind the gap. A simple calculation. ... Ineffective I don’t mind helping out but my word, testing is so boring We ran 10

www.eurostarconferences.com

Page 8: Continuous Delivery and DevOps - EuroSTAR Conference · Mind the gap. A simple calculation. ... Ineffective I don’t mind helping out but my word, testing is so boring We ran 10

www.eurostarconferences.com

Anyone who can click a mouse became a tester….doesn’t that say something about the testing?

www.eurostarconferences.com

Page 9: Continuous Delivery and DevOps - EuroSTAR Conference · Mind the gap. A simple calculation. ... Ineffective I don’t mind helping out but my word, testing is so boring We ran 10

www.eurostarconferences.com

I can’t believe it took so long to test

www.eurostarconferences.com

Slow

Boring

Ineffective

I don’t mind helping out but my word, testing is so boring

We ran 10 million tests and we still had issues!

Page 10: Continuous Delivery and DevOps - EuroSTAR Conference · Mind the gap. A simple calculation. ... Ineffective I don’t mind helping out but my word, testing is so boring We ran 10

www.eurostarconferences.com

I joined NewVoiceMedia just before the last giant release.

We vowed never to do a year long release again.

Let’s do something different

Page 11: Continuous Delivery and DevOps - EuroSTAR Conference · Mind the gap. A simple calculation. ... Ineffective I don’t mind helping out but my word, testing is so boring We ran 10

www.eurostarconferences.comwww.eurostarconferences.com

Why stop doing big releases?

Page 12: Continuous Delivery and DevOps - EuroSTAR Conference · Mind the gap. A simple calculation. ... Ineffective I don’t mind helping out but my word, testing is so boring We ran 10

www.eurostarconferences.comwww.eurostarconferences.com

This is what we shipped

This is what our customers now needed

Page 13: Continuous Delivery and DevOps - EuroSTAR Conference · Mind the gap. A simple calculation. ... Ineffective I don’t mind helping out but my word, testing is so boring We ran 10

www.eurostarconferences.com

When your customer’s needs move quickly, so too must your release process.

Page 14: Continuous Delivery and DevOps - EuroSTAR Conference · Mind the gap. A simple calculation. ... Ineffective I don’t mind helping out but my word, testing is so boring We ran 10

www.eurostarconferences.com

Page 15: Continuous Delivery and DevOps - EuroSTAR Conference · Mind the gap. A simple calculation. ... Ineffective I don’t mind helping out but my word, testing is so boring We ran 10

www.eurostarconferences.com

The ultimate feedback loop

Page 16: Continuous Delivery and DevOps - EuroSTAR Conference · Mind the gap. A simple calculation. ... Ineffective I don’t mind helping out but my word, testing is so boring We ran 10

www.eurostarconferences.com

How did we make the change?

We created a

vision

Page 17: Continuous Delivery and DevOps - EuroSTAR Conference · Mind the gap. A simple calculation. ... Ineffective I don’t mind helping out but my word, testing is so boring We ran 10

www.eurostarconferences.com

1. Adopt Agile2. Prioritise work3. Bring Dev and Ops together - DevOps4. Everyone tests. Test all the time.5. Become “one” with data

The VisionWeekly Releases

Page 18: Continuous Delivery and DevOps - EuroSTAR Conference · Mind the gap. A simple calculation. ... Ineffective I don’t mind helping out but my word, testing is so boring We ran 10

www.eurostarconferences.com

1. Removed testers from the centre of the universe

Testers are important, but no more than any other member of the team

Instead we put “Testing” at the centre of our universe

Page 19: Continuous Delivery and DevOps - EuroSTAR Conference · Mind the gap. A simple calculation. ... Ineffective I don’t mind helping out but my word, testing is so boring We ran 10

www.eurostarconferences.com

2. Focus on automating checks

• BDD• TDD• CI• UI Testing

Page 20: Continuous Delivery and DevOps - EuroSTAR Conference · Mind the gap. A simple calculation. ... Ineffective I don’t mind helping out but my word, testing is so boring We ran 10

www.eurostarconferences.com

Small features that are built and tested and then shipped

Page 21: Continuous Delivery and DevOps - EuroSTAR Conference · Mind the gap. A simple calculation. ... Ineffective I don’t mind helping out but my word, testing is so boring We ran 10

www.eurostarconferences.com

Page 22: Continuous Delivery and DevOps - EuroSTAR Conference · Mind the gap. A simple calculation. ... Ineffective I don’t mind helping out but my word, testing is so boring We ran 10

www.eurostarconferences.com

3. Ate our own product

Dog-fooding (Pre-Production)

Page 23: Continuous Delivery and DevOps - EuroSTAR Conference · Mind the gap. A simple calculation. ... Ineffective I don’t mind helping out but my word, testing is so boring We ran 10

www.eurostarconferences.com

Event logs, internal customer feedback and regression tests

Page 24: Continuous Delivery and DevOps - EuroSTAR Conference · Mind the gap. A simple calculation. ... Ineffective I don’t mind helping out but my word, testing is so boring We ran 10

www.eurostarconferences.com

4. Tested and monitored after release

• TRUST• Own usage• Monitoring

Page 25: Continuous Delivery and DevOps - EuroSTAR Conference · Mind the gap. A simple calculation. ... Ineffective I don’t mind helping out but my word, testing is so boring We ran 10

www.eurostarconferences.com

Every team supports their work in to production

Page 26: Continuous Delivery and DevOps - EuroSTAR Conference · Mind the gap. A simple calculation. ... Ineffective I don’t mind helping out but my word, testing is so boring We ran 10

www.eurostarconferences.com

Data from production tells us how our product is behaving

This is immensely powerful in guiding your testing

Page 27: Continuous Delivery and DevOps - EuroSTAR Conference · Mind the gap. A simple calculation. ... Ineffective I don’t mind helping out but my word, testing is so boring We ran 10

www.eurostarconferences.com

5. Emphasised discovery over assumptions

• Exploratory Testing• What is the system

telling us?

Page 28: Continuous Delivery and DevOps - EuroSTAR Conference · Mind the gap. A simple calculation. ... Ineffective I don’t mind helping out but my word, testing is so boring We ran 10

www.eurostarconferences.com

Testing that is data informed

Page 29: Continuous Delivery and DevOps - EuroSTAR Conference · Mind the gap. A simple calculation. ... Ineffective I don’t mind helping out but my word, testing is so boring We ran 10

www.eurostarconferences.com

6. Learned.

• 5 Whys on everything• Continuous Improvement• Training and personal development

“It’s like studying for a degree but getting paid for it”

Page 30: Continuous Delivery and DevOps - EuroSTAR Conference · Mind the gap. A simple calculation. ... Ineffective I don’t mind helping out but my word, testing is so boring We ran 10

www.eurostarconferences.com

7. Dealt with fires

• “If it hurts. Keep doing it”

• Political• Squash “Naysaying”

and “Silent Plotting”

Page 31: Continuous Delivery and DevOps - EuroSTAR Conference · Mind the gap. A simple calculation. ... Ineffective I don’t mind helping out but my word, testing is so boring We ran 10

www.eurostarconferences.com

Everyone knows how to test.

But it’s not that sort of testing you need.

You need testing that is relevant.

Page 32: Continuous Delivery and DevOps - EuroSTAR Conference · Mind the gap. A simple calculation. ... Ineffective I don’t mind helping out but my word, testing is so boring We ran 10

www.eurostarconferences.com

Did it work? And is that it now?

• At least one release each week, sometimes more

• We have more to improve though• Feedback from live is guiding our testing• Feedback from our testing is immediate

Page 33: Continuous Delivery and DevOps - EuroSTAR Conference · Mind the gap. A simple calculation. ... Ineffective I don’t mind helping out but my word, testing is so boring We ran 10

www.eurostarconferences.com

Thank you.

Questions.

NVM - Web – www.newvoicemedia.comBlog - www.thesocialtester.co.ukTwitter - @rob_lambert

My book – Remaining Relevant -http://thesocialtester.co.uk/remainingrelevant/