anti patterns of testing for continuous delivery adoption

24
Anti Patterns of Testing for Continuous Delivery Adoption Prepared By Anish Cheriyan, Director, Huawei Technologies

Upload: anish-cheriyan

Post on 12-Aug-2015

135 views

Category:

Technology


0 download

TRANSCRIPT

Anti Patterns of Testing for Continuous Delivery AdoptionPrepared By Anish Cheriyan, Director, Huawei Technologies

Topics

• Code and Test Code • TIER• Anti Patterns

Photo by Mr.Thomas - Creative Commons Attribution-ShareAlike License https://www.flickr.com/photos/17813892@N00 Created with Haiku Deck

Photo by Naomi King - Creative Commons Attribution License https://www.flickr.com/photos/22141297@N06 Created with Haiku Deck

Continuous IntegrationContinuous DeliveryContinuous DeploymentDevOps

Anti Patterns

Test Practices Mapped

Read at : http://www.thinkinginagile.com/2015/07/agile-testing-practices-mapped-to.html

Photo by fr1zz - Creative Commons Attribution-NonCommercial-ShareAlike License https://www.flickr.com/photos/39143000@N00 Created with Haiku Deck

• Test Code to Code Ratio is 1:1 or may be more• Test to Developer Ratio is 1:3 or may be lesser• Test Should be Everybody’s Responsibility

TIER

Photo by Paul Stevenson - Creative Commons Attribution License https://www.flickr.com/photos/53496815@N00 Created with Haiku Deck

Photo by Mark Fischer - Creative Commons Attribution-ShareAlike License https://www.flickr.com/photos/80854685@N08 Created with Haiku Deck

INVERTED TEST PYRAMID

Picture Courtesy: blogs.agilefaqs.com

Photo by Stéfan - Creative Commons Attribution-NonCommercial-ShareAlike License https://www.flickr.com/photos/49462908@N00 Created with Haiku Deck

Photo by Enzymlogic - Creative Commons Attribution-ShareAlike License https://www.flickr.com/photos/101755654@N08 Created with Haiku Deck

Comm

it

UT &

Inspection

Functional Buil

d

UAT …

DEPLOYMENT PIPELINE ORCHESTRATION NOT WELL THOUGHT OF..

Photo by tunnelarmr - Creative Commons Attribution-NonCommercial-ShareAlike License https://www.flickr.com/photos/27311060@N00 Created with Haiku Deck

FOCUS ONLY ON TOOLS/FRAMEWORKS NOT ON AUTOMATION ARCHITECTURE

Test Automation Strategy

Picture Courtesy: Agile Testing-Lisa Crispin, Janet Gregory

Photo by nick farnhill - Creative Commons Attribution-ShareAlike License https://www.flickr.com/photos/57749032@N00 Created with Haiku Deck

INFRASTRUCTURE CODE NOT TESTED

NO FOCUS ON HARDENING

Conclusion

• Continuous DXXX…= QUALITY OF TEST CODE• Test Code will live as long as product live• Invest on Test Code. Consider it as Safety Net.• If (1:1 & 1:3) then 1:3• Remember TIER

Photo by matt hutchinson - Creative Commons Attribution License https://www.flickr.com/photos/17524395@N00 Created with Haiku Deck

References

• Agile Testing- Lisa Crispin• Pragmatic Software Testing- Rex Black• www.thinkinginagile.com • www. Countinuousdelivery.com• Countinous Delivery- Jez Humble• The Art of Agile Development-James Shore

Thank You“If (1:1 & 1:3) then 1:3”

Speaker Name: Anish Cheriyan

Email ID: [email protected],

“If Test Code to Code Ratio is 1:1 and Tester to Coder ratio is 1:3 then Test Responsibility should be 1:3 for Tester to Coder”