330 likes | 351 Views
MaTeLo, a model-based testing solution by ALL4TEC, improves test efficiency by automating test case generation based on formal models. Boost your testing process with MaTeLo's integrated tools for design, execution, and reporting.
E N D
Model-Based Black Box Testingand its Standardization Layers MaTeLo THE SOLUTION TO BOOST YOUR TEST EFFICIENCY
ALL4TEC Since 1998 French: 45 experts Turnover 2010: 4 M€ Expertise offer: • PROCESS IMPROVEMENT • SAFETY ENGINEERING • SYSTEM ENGINEERING • OPTIMIZED TESTING • SOFTWARE RELIABILITY EMBEDDED SYSTEMS
OUR COMPETENCES OFFER MaTeLo EXAM M Elopée Safety Architect
AGENDA • THE TEST PROBLEM • THE EXPECTED SOLUTION • THE MODEL-BASED TESTING SOLUTION • A PRAGMATIC INDUSTRIAL USE-CASE • A MORE STANDARDIZED TOOLS INTEGRATION
THE TESTING PROBLEM • Test Resources Lack • Test Focus Deviation Testing Effort Test Needs System Complexity Test Availability Time Usage Intensity Reliability Market Expectation Reality Product Life Customer Validation Normal Usage Development Phase
MODEL-DRIVEN ENGINEERING Functional Requirements DESIGN TEST Implement Scenarize Design Model Usage Model MaTeLo Generate Generate Model Based Testing Code Test Cases Compile Derive Test Environment Test Scripts EXE
More Productive Coverage WHAT IS MaTeLo? Formal Test Specification Product Usage Point of View MaTeLo Fully Measured Process Markov Test Logic Test Execution Compatibility Bidirectional Requirements Traceability Systematic Engineering Productivity
INTEGRATED TEST WORKFLOW PLAN MaTeLo Usage Model Editor Test Design into Usage Models ACT MaTeLo Testor Automatic Test Cases Generation MaTeLo Test Campaign Analysis Confidence And Coverage Reporting EXAM Test Automation CHECK DO
MATELO USAGE MODELS • Probability on every Alternatives • Association of Requirements • Configuration of Test Operations • Setup Transition as Test Step BEGINNING TRANSITION MACRO CHAIN STATE END
MODEL TRANSITION = TEST STEP Select_Gear(5) Accelerate(100%) Check_Speed(185) Requirements Test Operations Stimulations Inputs Stimulation Equivalence Classes Timing • Test Oracle • Outputs = f(Inputs) • Verifications • Expected Outputs • Timing
MATELO PROFILE • Profiles can be embedded to qualify the usage model • Operational profiles • Test profiles 87 (+/- 25) Data distribution Usage path probability 347 0-100-150-200-500
REQUIREMENTS MANAGEMENT IBM Rational Doors MaTeLo Requirements Library MaTeLo Usage Model Import Association (N,M) Requirement Update New Baseline Quick Model Update Update Requirements Change Analysis Available for other ReqMgt tools with import of XML or CSV files Model Impact Highlighting
Usage approach Most probable approach Risk based approach Arcs coverage approach Start Start Start Start Custom Test profile Usage Test profile Close Close Close Close FREQUENCY FOCUS CRITICALITY, COMPLEXITY UPDATE FOCUS REQUIREMENTS COVERAGE OPERATIONAL COVERAGE MaTeLo TEST STRATEGY • DEFINE THE TEST STRATEGY, BY CHOOSING • Test Algorithm • Test Profile • Part of model to test Generate
Requirement Test Function Input State ExpectedResult Verdict MaTeLo TESTOR: HTML TEST PLAN
Example: MaTeLo FOR EXAM • Test Repository • SUT Interface • Test Operations • Stimulation • Measurement • Administration • Sub Test Sequences • Requirements • Name • UUID • Description Association • Automatic Test Cases • Automatic call of Test Operation • Automatic parameterisation • Requirements association • Test Case description generation • Usage model respect Association Generate
Metrics Quality/Version New Test Cases Generation New Package Bugs New version TEST CAMPAIGN PROCESS • Target Quality Criteria • Coverage • Reliability • Confidence Indicators • Operational Confidence • Needs Coverage • Functional Coverage
THEORETICAL MBT WORKFLOW Automation Test Framework Atomic Test Action Confidence & Coverage Reports Test Scheduler Test Scripts Usage Model Test Cases Test Cases Verdicts Simulator Test Execution Log Functional Requirements System Under Test
A 1ST INDUSTRIAL TOOLS INTEGRATION EXAM Automation Test Framework Atomic Test Action Confidence & Coverage Reports Test Scheduler UML Test Scripts Python Usage Model Test Cases Test Cases Verdicts MaTeLo dSpace MicroNova Simulator Carts Test Execution Log Functional Requirements Doors Vision CAN System Under Test IOs
A 2nd INDUSTRIAL TOOLS INTEGRATION EXAM TestStand Automation Test Framework Atomic Test Action Confidence & Coverage Reports Test Scheduler UML Test Scripts Python Usage Model Test Cases Test Cases Verdicts Proprietary MaTeLo dSpace NI Opal-RT MicroNova Simulator Clemessy Carts Test Execution Log Functional Requirements Doors Reqtify Vision CAN System Under Test Diagnostic Calibration MS Excel IOs Radio
VARIOUS TOOLS INTEGRATION EXAM TestStand Automation Test Framework Atomic Test Action Confidence & Coverage Reports CANoe EXACT PROVEtech Proprietary Test Scheduler UML TTCN-3 Test Scripts Python VB Usage Model Test Cases Test Cases Verdicts CSV C, C# Proprietary Java MaTeLo dSpace NI Opal-RT MicroNova Simulator Clemessy Carts Test Execution Log Simulink CANoe Functional Requirements Doors Reqtify Vision CAN System Under Test HP QC CSV Diagnostic Calibration MS Excel XML Flexray IOs Radio Temperature
VARIOUS TOOLS INTEGRATION EXAM TestStand Automation Test Framework Atomic Test Action Confidence & Coverage Reports CANoe EXACT PROVEtech Proprietary Test Scheduler UML TTCN-3 Test Scripts Python VB Usage Model Test Cases Test Cases Verdicts CSV C, C# Proprietary Java MaTeLo dSpace NI Opal-RT MicroNova Simulator Clemessy Carts Test Execution Log Simulink CANoe Functional Requirements Doors Reqtify Vision CAN System Under Test HP QC CSV Diagnostic Calibration MS Excel XML Flexray IOs Radio Temperature
MBT AND ITS STANDARDS EXAM TestStand Automation Test Framework Atomic Test Action Confidence & Coverage Reports CANoe EXACT PROVEtech Proprietary Test Scheduler ATX UML TTCN-3 ATX Test Scripts Python VB Usage Model Test Cases Test Cases Verdicts ATX ATX CSV C, C# Proprietary Java OTX HIL API MaTeLo dSpace NI Opal-RT MicroNova Simulator RIF ODS Clemessy Carts Test Execution Log Simulink CANoe Functional Requirements FIBEX XCP Doors Reqtify Vision CAN System Under Test HP QC CSV ODX GDI Diagnostic Calibration MS Excel XML Flexray IOs Radio Temperature
QUESTION ? www.all4tec.net Sales contact anthony.faucogney@all4tec.net +33 6 80 88 40 59 Wiki & Forum & Documentation www.all4tec.net
ABSTRACTION LAYERS Usage Scenario Description Markov-Chain Usage Model MaTeLo ATX << derive >> Test Case Specification UML Sequence Diagram << generate >> HIL API Test Flow Control Device Driver Python Precompiled Application ODX, FIBEX, XCP… << control >> System Under Test Hardware In the Loop Test Bench Third Party Equipment
EXAM ABSTRACTION MANAGEMENT Possible Usage Scenarios Strategic Test Cases ATX Test Case 2 Test Case 1 Test Case n Available Test Configurations HILPlateform Network Functions Test Tools Env. Model HIL API ODX, FIBEX, XCP… HIL API Manual Gear Gasoline dSpace CANoe CAN_1 Auto Gear NovaSim CANape CAN_2 Diesel Hand Free Turbo LIN_X Carts INCA ASAMHIL API FlexRay_1 MS Excel Hybrid ACC Proprietary FlexRay_2 StartStop Diag Tool Electric … … … … …