Go beyond Functional Testing:
Certify your application with Model-Based Testing
Michel GUEZMD Smartesting [email protected]: +91 97403 91179
Mumbai, Dec 11, 2010
Manual Design
Computer-aided Design20 years ago…..
And then…….
3
Functional Testing
Automated Test Generation
Business Process Modeling
End-to-End Testing
Manual Testing
Test Automation
RequirementsTraceability
Business Alignment
IT
Agility
Test Design
It’s all about alignment…
Picture credit – Center for Research on Environmental Decisions – http://www.cred.columbia.edu/guide/guide/sec1.html - Ian Webster
4
Business AnalystTester
Are we aligned?‘Align BAs And Quality AssuranceProfessionals To Drive HigherQuality — And Happier Customers’
“by Mary Gerush and Margo Visitacion, Aug 2010”
COMMUNICATION?TRACEABILITY?
CHANGE MANAGEMENT?
BusinessNeeds
Traditional approach
5
FunctionalTests
BusinessAnalyst
Manual Test execution
Automatedtest execution
Manual Test execution
Automatedtest execution
Models for automated test generation
MBT Automated Traceability
production engine
MBT Test Production
Test Repository
Enabling you to produce and maintain a resilient test repository.’ - Bruno Legeard, CTO Smartesting
BusinessNeeds
BusinessAnalyst
Collaboration
Test Repository
REGRE
SSIO
N TES
TING
End-to-end testing,core business processes
Acceptance testingof multi-applications
Functional Testingof single applications
ISqualification
Integrated applications services qualification
Standalone business applicationqualification
ModelBasedTesting
Where does it fit?
Smartesting automatically generates complete test cases (Steps, Data, Expected Results)
for manual or automated execution.
To deliver our promise, the model must handle the 3 dimensions:
Business flow Business rules Data
A TESTING solution
Test Analyst
Requirements & Process Engineering
Test Design and Maintenance
Test Management & Execution
Traceability
9
Generated TestsModels forTest generation
BusinessAnalyst
Short Iterations
Requirements& Business Process
Keywords automation AutomationEngineers
Test Scripts
Manual Tests Testers
A Continuous and Systematic Test Engineering Process
Test Generator
Model-based testing adoption?
10
Testers:
What you do todaywithout any formal language
• Smartesting implements automation for:
‘test repository creation from business requirements elicitation, which include input data and verification points.’
Models for Test Generation
Business Process Model (BPMN)
Business Rules and Behavioral Model (UML)
Models used for Automated Test Generation
Domain & Test Data Model (UML)
12
Separation of concerns: Roles and collaboration
Business Analyst
Tester or Automation Eng.
Test Analyst
BusinessProcess Models
and Business Entities
Action-words based testing
Behavioral model
Models for test generation
Test repository
13
Change Management as a key challenge for test engineering
Change Management
Functional EvolutionsBusiness process or Requirements changes
Test Data Changes
Technical Evolutions
New GUI objects or Interface API
New test data and new cases
14
Change Management as a key Challenge for test engineering
ChangeManagement
Functional EvolutionsBusiness process or Requirements changes
Test Data Changes
Technical Evolutions
New GUI objects or Interface API
New test data and new casesStructured action-words approach accelerates technical layer update
Models for test generation represent expected behavior single point of maintenance
Mapping between logical test data & physical test data (e.g. data table) facilitates test data maintenance
Change Management
with MBT
15
What are the main values of MBT
Managed Test Coverage
Efficient Collaboration (BAs / QA People)
Automated Traceability (Reqs <-> Tests)
Productive Test Generation & Maintenance
Continuous Test Engineering Process
VISIT OUR BOOTH TO KNOW MORE ABOUT THE FUTURE OF YOUR JOB
“Practical Model-based Testing”
Smartesting Case Study