Testing Methodologies in Microservice Architecture
Microservices
Agenda
Purpose of the Microservices Testing?
MS1
MS2
MS3
Qualification for Engineering Quality
Qualification for Customer Quality
Goal = 0 Defects on engineering quality
SDET
Tester
Understanding the Architectural objectives for Testing
Devising the Strategy
E.g. Test Pyramid < E2E Tests, Integration Tests, Unit Tests>
Enrollment Qualification /Alpha Qualification
Integrated Qualification /Beta Qualfication
Test Acceptance
Microsservice Test Adaptation
Test Vector for Msrv < 100, 100, 20>
Devising Strategy - Microservice enrollment qualification
<Modularity,Testability, Suitability,Deployability,Scalability, Resilience>
C
Contract
P
Consumer
Provider
C
Contract
Mock
Devising Strategy - Microservice enrollment qualification Contd
Enrollment Process: Alpha Qualification:
Devising Strategy - Microservice enrollment qualification Contd
Enrollment Process: Beta Qualification:
Devising Strategy - Beta Qualification Contd
Enrollment Process: Beta Qualification/Integration Qualification:
Process :
P
C
Contract
Mock Service for EcoSystem
P
Keep adding the providers
Contract
Continue the process until all the micro services are integrated
After the Beta Qualification, Beta Suite is the CI Suite
Quality Engineering Methodology
Vector | Target | Actual | Variance | RCA | Enforcement |
Modularity | Regression Defects = 0 | 2 | 2 | | E.g. Review Checklist, |
Testability | Branch Coverage 100% | 80% | 20% | | E.g. Sonar Check-In process |
Suitability | Dev/QA Leakage = 0 | 5% | 5% | | E.g. Test Data partitioning |
Deployability | Release Frequency = 2 releases/week | 4 releases/week | 2 | | E.g. Remove External Dependencies |
Thank You !