Welcome! Test Early, Test Often - Lighthouse Technologies

4m ago
6 Views
1 Downloads
1.26 MB
28 Pages
Last View : 3m ago
Last Download : 3m ago
Upload by : Olive Grimm
Transcription

Welcome! Test Early, Test Often Shift Left, Automation, and Other Smart Strategies for Getting Ahead in QA IF YOU SEE THIS, GO TO THE “INSERT” TAB, CLICK “HEADER & FOOTER”, CHECK “FOOTER” AND “SLIDE NUMBER”, AND APPLY TO ALL

A little bit about us Jeff Van Fleet – President and CEO Lighthouse Technologies 30 years software/QA experience Expert in QA processes and systems Tami Lamb – General Manager, Quality Assurance Kroger 20 years business/QA experience Led countless teams through Lean Agile transformation IF YOU SEE THIS, GO TO THE “INSERT” TAB, CLICK “HEADER & FOOTER”, CHECK “FOOTER” AND “SLIDE NUMBER”, AND APPLY TO ALL 2

What we will discuss today The challenges we all face in testing and QA Shift Left/Shift Right Quality At Speed – A Kroger Case Study IF YOU SEE THIS, GO TO THE “INSERT” TAB, CLICK “HEADER & FOOTER”, CHECK “FOOTER” AND “SLIDE NUMBER”, AND APPLY TO ALL 3

A quick note before we get started IF YOU SEE THIS, GO TO THE “INSERT” TAB, CLICK “HEADER & FOOTER”, CHECK “FOOTER” AND “SLIDE NUMBER”, AND APPLY TO ALL 4

Common Challenges in QA IF YOU SEE THIS, GO TO THE “INSERT” TAB, CLICK “HEADER & FOOTER”, CHECK “FOOTER” AND “SLIDE NUMBER”, AND APPLY TO ALL 5

Challenges with Agile Widespread adoption of Agile principles has placed a premium on speed and agility In response, QA teams are having a hard time keeping up 2-week sprints make manual regression testing impossible Moving to automation has its own challenges Poorly-defined user stories can waste entire sprints How do you balance time-to-market, agility, quality, and cost? IF YOU SEE THIS, GO TO THE “INSERT” TAB, CLICK “HEADER & FOOTER”, CHECK “FOOTER” AND “SLIDE NUMBER”, AND APPLY TO ALL 6

Challenges with time-to-market Emphasis on time-to-market requires careful consideration and strategy When dev. teams drive forward, QA can suffer When testers are left out of sprint planning, it can cause roadblocks, bottlenecks Costly rework from late-stage defects Technical debt IF YOU SEE THIS, GO TO THE “INSERT” TAB, CLICK “HEADER & FOOTER”, CHECK “FOOTER” AND “SLIDE NUMBER”, AND APPLY TO ALL 7

We must evolve to stop these issues from derailing our projects IF YOU SEE THIS, GO TO THE “INSERT” TAB, CLICK “HEADER & FOOTER”, CHECK “FOOTER” AND “SLIDE NUMBER”, AND APPLY TO ALL 8

Are you experiencing similar issues? IF YOU SEE THIS, GO TO THE “INSERT” TAB, CLICK “HEADER & FOOTER”, CHECK “FOOTER” AND “SLIDE NUMBER”, AND APPLY TO ALL 9

Shift Left IF YOU SEE THIS, GO TO THE “INSERT” TAB, CLICK “HEADER & FOOTER”, CHECK “FOOTER” AND “SLIDE NUMBER”, AND APPLY TO ALL 10

What is Shift Left? Simply put, it’s “testing” earlier Getting QA/test team involved early in dev. process is fundamental Find defects earlier Identify potential bottlenecks Promotes TDD/BDD IF YOU SEE THIS, GO TO THE “INSERT” TAB, CLICK “HEADER & FOOTER”, CHECK “FOOTER” AND “SLIDE NUMBER”, AND APPLY TO ALL 11

What Shift Left looks like QA/Testing team is involved in project planning and backlog grooming “How will we test this?” What is considered “done done”? User story inspections Code analysis Consistent/better quality code Memory leaks Security risks Cyclomatic Complexity IF YOU SEE THIS, GO TO THE “INSERT” TAB, CLICK “HEADER & FOOTER”, CHECK “FOOTER” AND “SLIDE NUMBER”, AND APPLY TO ALL 12

Defects resolved early IF YOU SEE THIS, GO TO THE “INSERT” TAB, CLICK “HEADER & FOOTER”, CHECK “FOOTER” AND “SLIDE NUMBER”, AND APPLY TO ALL 13

What about Shift Right? CI/CD Testing continues into production Controlled experiments Insights help future tests Fail fast Learn quickly and adjust IF YOU SEE THIS, GO TO THE “INSERT” TAB, CLICK “HEADER & FOOTER”, CHECK “FOOTER” AND “SLIDE NUMBER”, AND APPLY TO ALL 14

Defects delivered to UAT by team maturity 8 7 6 5 4 3 2 1 0 1 Ad-hoc 2 Managed 3 Defined 4 Metrics 5 Optimized Data adapted from Capers Jones, for 1,000 NCSLOCs in C# Estimating Software Costs, 2nd Edition. IF YOU SEE THIS, GO TO THE “INSERT” TAB, CLICK “HEADER & FOOTER”, CHECK “FOOTER” AND “SLIDE NUMBER”, AND APPLY TO ALL 15

8 7 6 5 4 3 2 1 0 1 Ad-hoc 2 Managed Time to 99% defect free: Ad-hoc: 36 months Defined: 6 months 3 Defined 4 Metrics 5 Optimized IF YOU SEE THIS, GO TO THE “INSERT” TAB, CLICK “HEADER & FOOTER”, CHECK “FOOTER” AND “SLIDE NUMBER”, AND APPLY TO ALL 16

Quality At Speed A case study by Kroger Copyright 2017 The Kroger Co., Confidential 17

The Context Copyright 2017 The Kroger Co., Confidential 18

Level 5 – Zero Touch Testing CICD - Security tests automated - End to end test automation - Test Environment provisioning - Test Data provisioning - TDD Level 4 – Automation Optimization - Automation Suite is maintained in accordance with prod usage - Automation run time is optimized - Optimal automation coverage (More unit than functional automation) Test Automation 4 2 3 1 1 Level 3 – Full Regression Test Auto Consistent Unit Test CI. - Tests run daily - Regression fully automated - Unit Test covers critical part of app - More Unit test than GUI tests. 2 Level 2 – Partial Regression Test Automation Unit Test CI. - Smoke test run as part of build deployment process, regression partially automated - Unit test part of definition of done 2 5 2 3 1 1 Digital (90%) 1 1 Retail Merch 1/2 Retail Merch 2/2 Retail Store Systems Retail REE (30%) Retail H&W (30%) Corp Corp Sys Non HR Corp FMJ Copyright 2017 The Kroger Co., Confidential Level 1: All testing is manual but prioritized. - All Testing is Manual, Test suite prioritized -Some automated unit test Level 0 - No functional automation exist - Some manual test cases exist - Ad hoc unit test 19

Learning and Recommendation Not every team has the same destination There are cost implications of speed Drive unit test consistency – Part of definition of done – Needs to be measured – Train team on its value Needs for measuring code health – Validate that Sonar is the adequate tool to do so and provide training to the teams Learnings to be applied to all new solutions Copyright 2017 The Kroger Co., Confidential 20

Copyright 2017 The Kroger Co., Confidential 21

PM: My project just entered integration test and turned red GO FASTER! Leader: Can we overlap integration, end to end and UAT? Developer: I met my code complete date did not have much time for unit test BO: Should I accept this premature release or wait another quarter? Tester: I did my best to cover the high risk areas WHO CARES ABOUT QUALITY? QA: Lots of defects, Lots of charts Copyright 2017 The Kroger Co., Confidential 22

LEADER: I am your servant leader, but GO FASTER! SCRUM MASTER I do not mark a story complete until it has been Unit Tested and passed acceptance criteria. I own Quality I own Quality DEVELOPER / TESTER PAIR: We collaborated on test automation coverage. In reviewing Unit test coverage, we happen to have avoided a defect I own Quality I own Quality OPS: I just got here. What’s going on? I own Quality I want to own Quality too! Copyright 2017 The Kroger Co., Confidential 23

SDET Skills Evolution Test Automation Engineer UI / SOA Developer Copyright 2017 The Kroger Co., Confidential 24

SDET Identifies test automation opportunities to improve efficiency and effectiveness of a feature team: - Checks the code written by developers for testability, readability and scalability - Writes unit / integration / UI automated test at all layers - Develops automated mechanisms to track code coverage - Develops mocks / stubs to facilitate unit / integration testing by developers - Executes tests in an automated fashion through continuous build integration mechanism Developer skills with a passion for QA QA Stays current in technologies Makes Automation Engineers life easier: - Develops framework Develop scripting standards Creates test tools / utilities Research new tools Conduct POC’s and implement new tools Dev Skills QA Skills Test Automation skills SDET Copyright 2017 The Kroger Co., Confidential 25

Roles Evolution QA Lead - QA Coach Manual Tester - Test Automation Eng. Test Automation Eng.- Test Automation SME Test Automation Eng. - SDET Copyright 2017 The Kroger Co., Confidential 26

Key takeaways Testing must evolve along with development The faster we get, we need to think differently Manual testers must evolve Shift Left/Right, Automation, CI/CD, etc. Smart QA strategies keep projects on course Increase Time-To-Market, Agility, Quality, Value Clear goals, exit criteria, and lessons learned Decrease risk More consistency between releases IF YOU SEE THIS, GO TO THE “INSERT” TAB, CLICK “HEADER & FOOTER”, CHECK “FOOTER” AND “SLIDE NUMBER”, AND APPLY TO ALL 27

Thanks for attending! Test Early, Test Often Shift Left, Automation, and Other Smart Strategies for Getting Ahead in QA IF YOU SEE THIS, GO TO THE “INSERT” TAB, CLICK “HEADER & FOOTER”, CHECK “FOOTER” AND “SLIDE NUMBER”, AND APPLY TO ALL

Level 1: All testing is manual but prioritized. - All Testing is Manual, Test suite prioritized-Some automated unit test tion Level 2 -Partial Regression Test Automation Unit Test CI. - Smoke test run as part of build deployment process, regression partially automated - Unit test part of definition of done Level 3 -Full Regression Test .

Related Documents:

The Early Colleges in this study yielded significant and meaningful improvements in almost every student outcome examined. Early College students were benefitting from their Early College experience beyond high school, and we expect these benefits to continue. For example, Early College students may earn more college degrees, may accrue less

Swiss Narcolepsy Scale: Answer using: 1 Never 2 Rarely 3 Sometimes 4 Often 5 Almost always . How often are you unable to fall asleep?_ How often do you feel bad or not well rested in the a.m.?_ How often do you nap during the day?_ How often have you experienced weak knees or bu

Global trends in EY education Country specific age ranges and provision Current research in early childhood development We looked at a range of world-renowned early childhood frameworks, including: England: The Early Years Foundation Stage (EYFS) New Zealand: Te Whàriki Singapore: Nuturing Early Learners Sweden: Läroplan Förskolan 98

Peer relationships in early childhood: Current trends and future directions. Early Education and Development, 10, 233-240. Brownell, C. & Hazen, N. (Eds) (1999). Early Peer Relations, invited special issue of Early Education and Development, 10 (3). NICHD Early Child Care Research Network. (1998). Early child care and self-control, compliance and

T.E.A.C.H. Early Childhoodâ PENNSYLVANIA Certification Only Scholarship What is the Purpose of the T.E.A.C.H. Early Childhood Certification Only Scholarship? The purpose of the T.E.A.C.H. Early Childhood Certification Only Scholarship is to assist early childhood teachers in obtaining their PA Early Childhood Education (PreK-4) teaching certificate.

Early Years Practitioner (Early Years Educator) 3605-03 April 2014 Version 4.0 (June 2016) O OK. 2 City & Guilds Level 3 Diploma for the Early Years Practitioner (Early Years Educator) Qualification at a glance Subject area Childcare City & Guilds number 3605 Age group approved 16

Early Years practitioners to identify the need for additional All Early Years providers are required to have support as early as possible. 2. Special Educational Needs and Disability Code of Practice: 0 - 25 years - 2014 (SEND Code of Practice) Providers of Early Years education, that is all Early Years providers in the maintained, private .

A WIZARD-OF-OZ EXPERIMENT TO DEMONSTRATE WATER REDUCTION AND USER TRAINING WITH AN "AUTONOMOUS" FAUCET William Jou Stanford University Stanford, CA, USA