crisis-proof your software testing...it’s not only about running test cases in production. it’s...

39
Crisis-Proof Your Software Testing Budget: Federico Toledo COO at Abstracta @fltoledo www.abstracta.us Proven Ways to Reduce Costs

Upload: others

Post on 26-Sep-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Crisis-Proof Your Software Testing...It’s not only about running test cases in production. It’s about learning from your users and how they and the infrastructure behave in production

Crisis-Proof Your Software Testing Budget: Federico

Toledo

COO at Abstracta

@fltoledo

www.abstracta.us

Proven Ways to Reduce Costs

Page 2: Crisis-Proof Your Software Testing...It’s not only about running test cases in production. It’s about learning from your users and how they and the infrastructure behave in production
Page 3: Crisis-Proof Your Software Testing...It’s not only about running test cases in production. It’s about learning from your users and how they and the infrastructure behave in production

Optimize Testing Cost1

2

4

Agenda

Optimize Processes

Optimize Infrastructure and Tooling Cost

www.abstracta.us

3 Optimize Training Cost

Page 4: Crisis-Proof Your Software Testing...It’s not only about running test cases in production. It’s about learning from your users and how they and the infrastructure behave in production

Optimize Testing Cost

1

www.abstracta.us

Page 5: Crisis-Proof Your Software Testing...It’s not only about running test cases in production. It’s about learning from your users and how they and the infrastructure behave in production

Involve testing as soon as possible or before

Shift Left Testing

www.abstracta.us

Page 6: Crisis-Proof Your Software Testing...It’s not only about running test cases in production. It’s about learning from your users and how they and the infrastructure behave in production

Advantages of Shift Left Testing

• Prevent errors => reduce re-work

• Testers’ learning curve

Page 7: Crisis-Proof Your Software Testing...It’s not only about running test cases in production. It’s about learning from your users and how they and the infrastructure behave in production

● It’s not only about running test cases in production.

● It’s about learning from your users and how they and the infrastructure

behave in production and improve testing with this information.

Shift Right Testing

www.abstracta.us

Page 8: Crisis-Proof Your Software Testing...It’s not only about running test cases in production. It’s about learning from your users and how they and the infrastructure behave in production

Shift right testing

Page 9: Crisis-Proof Your Software Testing...It’s not only about running test cases in production. It’s about learning from your users and how they and the infrastructure behave in production

● Testing everything shouldn’t be your goal. It is impossible.

● Focus on risk (probability * impact).

● Analyze ROI. Prioritize. “Pareto-ize” it!

Risk-based Testing

www.abstracta.us

Page 10: Crisis-Proof Your Software Testing...It’s not only about running test cases in production. It’s about learning from your users and how they and the infrastructure behave in production

Analyze ROI

GOAL

Failure Costs Testing Costs

Testing effort

Page 11: Crisis-Proof Your Software Testing...It’s not only about running test cases in production. It’s about learning from your users and how they and the infrastructure behave in production

Risk Matrix - MoSCoW

Low Probability

High Impact

Low Probability

High Impact

Low Probability

Low Impact

High Probability

High Impact

High Probability

Low Impact

Page 12: Crisis-Proof Your Software Testing...It’s not only about running test cases in production. It’s about learning from your users and how they and the infrastructure behave in production

Alternatives

Documentation

● Simpler documentation

● Mind maps

Ask the consumers, don’t make assumptions!

www.abstracta.us

Page 13: Crisis-Proof Your Software Testing...It’s not only about running test cases in production. It’s about learning from your users and how they and the infrastructure behave in production

The Scripted/Exploratory Testing Continuum

Pure Scripted

Vague Scripts

Fragmentary Test Cases Charters Roles

Freestyle Exploratory

When I say "exploratory testing" and don't qualify it, I mean anything on the exploratory side of this continuum

Jon Bach

Functional testing

Page 14: Crisis-Proof Your Software Testing...It’s not only about running test cases in production. It’s about learning from your users and how they and the infrastructure behave in production

● More focus on the API layer

● Same with performance

● Run sooner and more frequently

Test automation

www.abstracta.us

Page 15: Crisis-Proof Your Software Testing...It’s not only about running test cases in production. It’s about learning from your users and how they and the infrastructure behave in production

Optimize your testing strategy

Page 16: Crisis-Proof Your Software Testing...It’s not only about running test cases in production. It’s about learning from your users and how they and the infrastructure behave in production

Optimize Infrastructure

and Tooling Costs

2

www.abstracta.us

Page 17: Crisis-Proof Your Software Testing...It’s not only about running test cases in production. It’s about learning from your users and how they and the infrastructure behave in production

● Reduced cost in mid / long - term

● Initial investment

Migrate to open source

www.abstracta.us

Page 18: Crisis-Proof Your Software Testing...It’s not only about running test cases in production. It’s about learning from your users and how they and the infrastructure behave in production

www.abstracta.us

Migrate to open source

Tools to facilitate the migration

● From LoadRunner to JMeter● https://shiftleft.blazemeter.com/

Page 19: Crisis-Proof Your Software Testing...It’s not only about running test cases in production. It’s about learning from your users and how they and the infrastructure behave in production

www.abstracta.us

● BlazeMeter - reduce infrastructure cost

● Testim - reduce maintenance cost

● Apptim, Up9, etc.

Adopt New Tools

Page 20: Crisis-Proof Your Software Testing...It’s not only about running test cases in production. It’s about learning from your users and how they and the infrastructure behave in production

Can you reduce the number of instances required to

provide a quality service to your users?

Improve resource consumption

www.abstracta.us

Page 21: Crisis-Proof Your Software Testing...It’s not only about running test cases in production. It’s about learning from your users and how they and the infrastructure behave in production

Do some performance engineering

Improve resource consumption

www.abstracta.us

Use Application Management Tools (APM)

CPUOptimize top SQLs

Analyze most common and heavy objects

Optimize images sizes or any other transferred data

Memory

Network and disk

Optimize use of caché (also Content Delivery Network)

Page 22: Crisis-Proof Your Software Testing...It’s not only about running test cases in production. It’s about learning from your users and how they and the infrastructure behave in production

Testing environments

Improve resource consumption

www.abstracta.us

• Use test doubles (Wiremock, Mountebank, Wiresham)

• Do we need to run all the tests in all the browsers?

Page 23: Crisis-Proof Your Software Testing...It’s not only about running test cases in production. It’s about learning from your users and how they and the infrastructure behave in production

Optimize Training Costs

3

www.abstracta.us

Page 24: Crisis-Proof Your Software Testing...It’s not only about running test cases in production. It’s about learning from your users and how they and the infrastructure behave in production

● Internal webinars and workshops

● Share experiences and best practices (and also failures)

Encourage sharing

www.abstracta.us

Page 25: Crisis-Proof Your Software Testing...It’s not only about running test cases in production. It’s about learning from your users and how they and the infrastructure behave in production

Internal remote workshops

Page 26: Crisis-Proof Your Software Testing...It’s not only about running test cases in production. It’s about learning from your users and how they and the infrastructure behave in production

Online platforms

www.abstracta.us

Page 27: Crisis-Proof Your Software Testing...It’s not only about running test cases in production. It’s about learning from your users and how they and the infrastructure behave in production

● Webinars (past and future)

● Online conferences

● Check our Youtube Channel

● Podcasts

Webinars and Online Confs

www.abstracta.us

Page 28: Crisis-Proof Your Software Testing...It’s not only about running test cases in production. It’s about learning from your users and how they and the infrastructure behave in production

Optimize Processes

4

www.abstracta.us

Page 29: Crisis-Proof Your Software Testing...It’s not only about running test cases in production. It’s about learning from your users and how they and the infrastructure behave in production

Lean - Continuous Delivery

Lead Time

New Requirement Start development Deploy to prod

Cycle Time

Feedback

www.abstracta.us

Page 30: Crisis-Proof Your Software Testing...It’s not only about running test cases in production. It’s about learning from your users and how they and the infrastructure behave in production

Áreas de interés

Page 31: Crisis-Proof Your Software Testing...It’s not only about running test cases in production. It’s about learning from your users and how they and the infrastructure behave in production

● Bottlenecks, Waits

● Extra stock

● Extra processing

● Errors => Rework

Look for wastes

www.abstracta.us

Page 32: Crisis-Proof Your Software Testing...It’s not only about running test cases in production. It’s about learning from your users and how they and the infrastructure behave in production

Test Strategy Retrospective

https://www.federico-toledo.com/retrospectiva-de-la-estrategia-de-pruebas/

Page 33: Crisis-Proof Your Software Testing...It’s not only about running test cases in production. It’s about learning from your users and how they and the infrastructure behave in production

Requirement Journey Map

https://www.federico-toledo.com/dinamica-requirement-journey-map/

Page 34: Crisis-Proof Your Software Testing...It’s not only about running test cases in production. It’s about learning from your users and how they and the infrastructure behave in production

● In house testing team

● Outsourcing

● Crowdsourcing

Engagement models

www.abstracta.us

Page 35: Crisis-Proof Your Software Testing...It’s not only about running test cases in production. It’s about learning from your users and how they and the infrastructure behave in production

Summary

www.abstracta.us

Page 36: Crisis-Proof Your Software Testing...It’s not only about running test cases in production. It’s about learning from your users and how they and the infrastructure behave in production

Summary...

Do more with what you have.

Identify and reduce waste.

Take advantage of free stuff.

1

2

3

www.abstracta.us

Page 37: Crisis-Proof Your Software Testing...It’s not only about running test cases in production. It’s about learning from your users and how they and the infrastructure behave in production

www.abstracta.us

More resources...

Blogs:

www.abstracta.us/blog

www.federico-toledo.com (Spanish)

Quality Sense Podcast

https://soundcloud.com/qualitysensepodcast

Page 38: Crisis-Proof Your Software Testing...It’s not only about running test cases in production. It’s about learning from your users and how they and the infrastructure behave in production

www.abstracta.us

A smooth sea never made a skillful sailor

Page 39: Crisis-Proof Your Software Testing...It’s not only about running test cases in production. It’s about learning from your users and how they and the infrastructure behave in production

¡Gracias!Thank you!

Federico Toledo

COO at Abstracta

@fltoledo

www.abstracta.us