12
Quality Gates while Continues Integration Sriram Angajala

Ci selenium

Embed Size (px)

Citation preview

Page 1: Ci selenium

Quality Gates while Continues Integration

Sriram Angajala

Page 2: Ci selenium

Agenda• What is an environment?• What is a build?• What is Repository?• What is a build management tool about?• How a water fall model builds deployed?• How a agile builds deployed and role of test automation as

Quality gates• Nightly Builds• How a BDD builds Deployed and role of test automation as

quality gates• CI Builds and Developer Environment

Page 3: Ci selenium

Environment

• Environment depends on product– Web

• Web container• Application Layer• Database• Service Layer• UI Layer

– Mobile • IOS app• Android app• Service layer• Database

Page 4: Ci selenium

Environment

– N – tier• Mix of Webservices including rest and soap

– Eg: Payment» Card reader - Primark» Merchant bank - barclays» Payment Provider – visa» Payment Regualtor – world pay» Fraud Detector – RAC» Consumer Bank – Santander» Notification Engine – BT» Email Engine – SMTP

Page 5: Ci selenium

What is a build?

• Build is instance of an application deployed for a set of target audience– Local build

• Developers• Tests(SDET)

– Development Build(Set of developer’s stories)– Feature Branch – Specific Story(Base line of last stable build and current

changes per story)– Test Build (Current Module with mocks)– Integration Build(Integration with all components/no mocks)– UAT(Acceptance / Performance)– Pre prod(Live database copy to emulate live env)– LIVE

Page 6: Ci selenium

Build

• In a typical company builds are deployed in a sequence– LOCAL Development Feature Test

Integration Acceptance/UAT Preprod Prod– LOCAL Test UAT PROD

Page 7: Ci selenium

What is Repository• Repo is a place to store our code and more…

– Git– Git Hub– Bitbucket– CVS– SVN

• Repos have to help CI by– Pull request to test by tester and run selenium tests– Feature branches– Multiple Development branches

• Local• Feature• Development• Integration• Master branch

Page 8: Ci selenium

What is a build management tool• Builds tool automates build Process

– Easy Deployment by• Git Commit• Manual• Schedule• Other dependents

– Notifications– Scripting– Environment down and up– Database Connection– Deploy results– Deploy files– Link depended builds– Automatic Deployment process– Supports Maven, behat etc

Page 9: Ci selenium

What is a build management tool

• Sample tools– Jenkins– Team city– Bamboo

Page 10: Ci selenium

How a water fall model builds deployed

Page 11: Ci selenium

How a agile builds deployed and role of test automation as Quality gates

Page 12: Ci selenium

How a BDD builds Deployed and role of test automation as quality gates