SlideShare a Scribd company logo
1 of 31
Download to read offline
.lusoftware verification & validation
VVS
System Testing of Timing Requirements
based on Use Cases and Timed Automata
ChunhuiWang, Fabrizio Pastore, Lionel Briand
ICST’17, Tokyo, March 14th, 2017
University of Luxembourg,
Luxembourg
{chunhui.wang, fabrizio.pastore, lionel.briand}@uni.lu
Timing Requirements are crucial for
safety-critical systems
2
Timing Requirements: Automotive Domain
Airbag should be fully deployed within 50ms when
a crash event is detected.
3
Timing Requirements: Automotive Domain
Car control system should signal overheating to driver when
temperature exceeds a safety threshold for a given time.
Most of safety critical
components are not reliable
when car is overheated
(e.g. Airbag Control).
4
Timing Requirements: overheating
•A Temperature Error can be qualified (signaled)
if overheating is detected for at least 3100ms
(avoid signal toggling)
•A Temperature Error should be qualified no
later than 4800ms after overheating is
detected
5
Objectives
• Automatically generate test cases to stress timing
requirements with minimal modelling overhead
• Identification of input sequences that increase the
likelihood that the system will break timing constraints
6
Context
• FunctionalRequirementsare captured throughan
analyzableform of use case specifications
• Timing Requirementsare modeled by UML state
charts or Timed Automata
• Functionaltest cases automaticallygeneratedfrom
use case specificationswith UMTG
Wang, C., Pastore, F., Goknil, A., Briand, L. C., & Iqbal, Z. (2015, August). UMTG: a toolsetto automaticallygenerate system testcases
from usecase specifications. In Proceedings of the 2015 10th Joint Meeting on Foundations ofSoftwareEngineering (pp. 942-945). ACM.
BASIC FLOW
1. The system REQUESTS temperature FROM temperature sensor.
2. The system VALIDATE THAT the temperature is valid.
3. The system SEND occupant status TO airbag control unit.
……
ALTERNATIVE FLOW
RFS 2
1. The system set temperature error as detected.
7
THE ACTOR SEND
THE SYSTEM VALI
THE SYSTEM DIS
THE ACTOR SEND
THE ACTOR SEND
THE SYSTEM VALI
THE SYSTEM DIS
THE ACTOR SEND
THE ACTOR SEND
THE SYSTEM VALI
THE SYSTEM DIS
THE ACTOR SEND
Use Cases
Domain Model
Errors.size()== 0
Status != null
t > 0 && t < 50
OCL constraints
Test Cases
Test Scenarios
UMTG [ISSTA’15]
8
Context
• FunctionalRequirementsare captured throughan
analyzableform of use cases specifications
• Timing Requirementsare modeled by UML state
charts or Timed Automata
• Functionaltest cases automaticallygeneratedfrom
use case specificationswith UMTG
Wang, C., Pastore, F., Goknil, A., Briand, L. C., & Iqbal, Z. (2015, August). UMTG: a toolsetto automaticallygenerate system testcases
from usecase specifications. In Proceedings of the 2015 10th Joint Meeting on Foundations ofSoftwareEngineering (pp. 942-945). ACM. 9
Strategy
• Use Timed Automata to model Timing Constraints
• Automata are high-level, missing information about concrete test
inputs that may lead to state transitions
• Rely upon Use Case Scenarios to identify the test inputs that
trigger state transitions
• Rely upon edge coverage criteria to identify test sequences
• Integrate an ad-hoc metaheuristic search approach to build a test
suite that effectively stresses timing requirements by maximizing
test case diversity
10
Test Generation combining Timed
Automata and Use Case
Specifications
(TAUC)
11
Msg1?
Environment Automata
scenario1?
[Error == true]
[Error == false]
scenario2?
TimingReq Automata
ANALYSIS AND DESIGN
1
12
Modelling
• Automatathat capture timing propertiesof the functionality
under test (timing requirement automata)
• E.g. qualificationof temperatureerror (overheating)
• Automatathat model the environment:
• Capture frequencyof arrival of interrupts/ messages / inputs
from sensors
13
Example: TimingReqAutomata
• Automatathat capture timing propertiesof the functionality
under test, e.g. qualificationof of temperatureerror
14
x >= 3100
unDetected?
isDetected = false, x = 0
detected?
isDetected = true, x = 0
isDetected = false, x = 0
isDetected = true, x = 0
x >= 6100
NotDetectedNotQualified DetectedNotQualified
DetectedQualifiedNotDetectedQualified
x <= 4800
x <= 8100
Invariant
Guard
Updates
unDetected?
detected?
isQualified = false
isQualified = trueA Temperature Error can be qualified if overheating is detected for at
least 3100ms.
A Temperature Error should be qualified no later than 4800ms after
overheating is detected
• Automatathat model the environment:
• Capture frequencyof arrival of interrupts/ messages / inputs
from sensors
15
x = 0
x > 41
DMAInterrupt!
x = 0
x >= 50
TimerInterrupt!
x <= 50
x = 0
x > 40
OccupancyInfo!
x > 40
CarInfo!
x > 40
AirbagInfo!
Example: EnvironmentAutomata
Msg1?
Environment Automata
scenario1?
[Error == true]
[Error == false]
scenario2?
TimingReq Automata
scenario1 scenario2 scenario3
ANALYSIS AND DESIGN
1
IDENTIFY FUNCTIONAL SCENARIOS
2
IDENTIFY
DEPENDENCIES
3
Automated by UMTG
• Transitionsare triggeredby scenario outputs
• Scenarios can be executed only in specific states
• Useful to translate abstract test activities into concrete test
inputs
16
17
Coverage-based Test Generation
x >= 3100
unDetected?
isDetected = false, x = 0
detected?
isDetected = true, x = 0
isDetected = false, x = 0
isDetected = true, x = 0
x >= 6100
NotDetectedNotQualified
DetectedNotQualified
DetectedQualifiedNotDetectedQualified
x <= 4800
x <= 8100
unDetected?
detected?
isQualified = false
isQualified = true
18
Coverage-based Test Generation
x >= 3100
unDetected?
isDetected = false, x = 0
detected?
isDetected = true, x = 0
isDetected = false, x = 0
isDetected = true, x = 0
x >= 6100
NotDetectedNotQualified
DetectedNotQualified
DetectedQualifiedNotDetectedQualified
x <= 4800
x <= 8100
unDetected?
detected?
isQualified = false
isQualified = true
Test Case
Detected
Wait 4800ms
unDetected
Wait 8100ms
How to translate
“error detected”
into a concrete test input?
By Reusing Information
Available in
Use Case Specifications
19
How to translate
“error detected”
to a concrete test input?
20
TemperatureSensor.allInstances()->forAll(t | t.temperature > 0 and t.temperature < 45)
UMTG
generates the input
(e.g. temperature = 50)
that leads to the detection of a
temperature error
21
A scenario brings the system into a specific state
(i.e. assigns values to variables)
22
Errors.allInstances()->forAll(e | e.isQualified = false)
Precondition to execute the scenario:
At least one error is in the states with the state variable isQualified = true
23
x >= 3100
unDetected?
detected?
x >= 6100
NotDetectedNotQualified
DetectedNotQualified
x <= 4800
x <= 8100
unDetected?
detected?
isQualified = false
isQualified = true
NotDetectedQualified
DetectedQualified
Scenario
isQualified = true
24
• A scenario bringsthe system into a specific state
(i.e. assign values to variables)
• A scenario can be executed only if the system has reached a
specific state
(i.e. requiresthat state variables have specific values)
Msg1?
Environment Automata
scenario1?
[Error == true]
[Error == false]
scenario2?
TimingReq Automata
scenario1 scenario2 scenario3
ANALYSIS AND DESIGN
1
IDENTIFY FUNCTIONAL SCENARIOS
2
IDENTIFY
DEPENDENCIES
3
25
scenario1?
[Error == true]
[Error == false]
scenario2?
Msg1?
Timeliness Test Model
Environment Automata
C
scenario1!
Error := true
Scenario Automata
TimingReq Automata
4800ms
Scenario1
ScenarioX
8100ms
Message1
…
GENERATE TIMELINESS
TEST MODEL
4 GENERATE
EXECUTION SCENARIOS
5
TAUC
26
4800ms
Scenario1
ScenarioX
8100ms
Message1
…
4800ms
Scenario1
ScenarioY
8100ms
Message2
…
ScenarioX
ScenarioZ
8100ms
Message1
…
Message3
GeneratedTest Suites
…
4800ms
Scenario1
ScenarioX
8100ms
Message1
…
Maximize test case diversity:
• Execute more, diverse paths, including the same relevant edges
• Execute paths with a diversity of input, interrupts, and messages
• Increase the chances of timeliness failure detection
TAUC
27
Case Study
• BodySense,embedded system for detecting occupancy
statusin a car
• Evaluation:
• Effectivenessin terms of fault detection rate
compared to current practice at IEE
28
Effectiveness Evaluation
• Derived 323 faultyversion of BodySenseby means of model
mutation
• Each faultyversion of BodySensemodels was generated by
executing a single mutation operatoron the originalmodel
• Comparethe Fault Detection Rate with the test suites
generated by
• Randomtesting
• Expertise-based manualtesting
29
30
Fault Detection Rate
25 50 75 100 122
TAUC 85% 88% 91% 91% 91%
Random 7% 12% 22% 30% 40%
Manual 60%
31
Evaluation of TAUC Test Suite
scenario1?
[Error == true]
[Error == false]
scenario2?
Original model
Mutate
scenario1?
[Error == true]
[Error == false]
scenario2?
scenario1?
[Error == true]
[Error == false]
scenario2?
…
scenario1?
[Error == true]
[Error == false]
scenario2?
TAUC
scenario1?
[Error == true]
[Error == false]
scenario2?
Msg1?
Environment Automata
C
scenario1!
Error := true
Scenario Automata
TimingReq Automata
4800ms
Scenario1
ScenarioX
8100ms
Message1
…
4800ms
Scenario1
ScenarioY
8100ms
Message2
…
ScenarioX
ScenarioZ
8100ms
Message1
…
Message3
Test Suites
…
GENERATETIMELINESS
TEST MODEL
4
GENERATE
EXECUTION SCENARIOS
5
IDENTIFY
DEPENDENCIES
3
scenario1 scenario2 scenario3
IDENTIFY FUNCTIONAL SCENARIOS
2
Msg1?
Environment Automata
scenario1?
[Error == true]
[Error == false]
scenario2?
TimingReq Automata
ANALYSIS AND DESIGN
1
Timing Requirements are crucial for
safety-critical systems
Fault Detection Rate
25 50 75 100 122
TAUC 85% 88% 91% 91% 91%
Random 7% 12% 22% 30% 40%
Manual 60%

More Related Content

What's hot

Improving Fault Localization for Simulink Models using Search-Based Testing a...
Improving Fault Localization for Simulink Models using Search-Based Testing a...Improving Fault Localization for Simulink Models using Search-Based Testing a...
Improving Fault Localization for Simulink Models using Search-Based Testing a...Lionel Briand
 
Evaluating Model Testing and Model Checking for Finding Requirements Violatio...
Evaluating Model Testing and Model Checking for Finding Requirements Violatio...Evaluating Model Testing and Model Checking for Finding Requirements Violatio...
Evaluating Model Testing and Model Checking for Finding Requirements Violatio...Lionel Briand
 
A Search-based Testing Approach for XML Injection Vulnerabilities in Web Appl...
A Search-based Testing Approach for XML Injection Vulnerabilities in Web Appl...A Search-based Testing Approach for XML Injection Vulnerabilities in Web Appl...
A Search-based Testing Approach for XML Injection Vulnerabilities in Web Appl...Lionel Briand
 
Test Case Prioritization for Acceptance Testing of Cyber Physical Systems
Test Case Prioritization for Acceptance Testing of Cyber Physical SystemsTest Case Prioritization for Acceptance Testing of Cyber Physical Systems
Test Case Prioritization for Acceptance Testing of Cyber Physical SystemsLionel Briand
 
Effective Test Suites for ! Mixed Discrete-Continuous Stateflow Controllers
Effective Test Suites for ! Mixed Discrete-Continuous Stateflow ControllersEffective Test Suites for ! Mixed Discrete-Continuous Stateflow Controllers
Effective Test Suites for ! Mixed Discrete-Continuous Stateflow ControllersLionel Briand
 
OCLR: A More Expressive, Pattern-Based Temporal Extension of OCL
OCLR: A More Expressive, Pattern-Based Temporal Extension of OCLOCLR: A More Expressive, Pattern-Based Temporal Extension of OCL
OCLR: A More Expressive, Pattern-Based Temporal Extension of OCLLionel Briand
 
Automated Vulnerability Testing Using Machine Learning and Metaheuristic Search
Automated Vulnerability Testing Using Machine Learning and Metaheuristic SearchAutomated Vulnerability Testing Using Machine Learning and Metaheuristic Search
Automated Vulnerability Testing Using Machine Learning and Metaheuristic SearchLionel Briand
 
AN EMPIRICAL STUDY ON THE POTENTIAL USEFULNESS OF DOMAIN MODELS FOR COMPLETEN...
AN EMPIRICAL STUDY ON THE POTENTIAL USEFULNESS OF DOMAIN MODELS FOR COMPLETEN...AN EMPIRICAL STUDY ON THE POTENTIAL USEFULNESS OF DOMAIN MODELS FOR COMPLETEN...
AN EMPIRICAL STUDY ON THE POTENTIAL USEFULNESS OF DOMAIN MODELS FOR COMPLETEN...Lionel Briand
 
STAR: Stack Trace based Automatic Crash Reproduction
STAR: Stack Trace based Automatic Crash ReproductionSTAR: Stack Trace based Automatic Crash Reproduction
STAR: Stack Trace based Automatic Crash ReproductionSung Kim
 
SSBSE 2020 keynote
SSBSE 2020 keynoteSSBSE 2020 keynote
SSBSE 2020 keynoteShiva Nejati
 
Scalable and Cost-Effective Model-Based Software Verification and Testing
Scalable and Cost-Effective Model-Based Software Verification and TestingScalable and Cost-Effective Model-Based Software Verification and Testing
Scalable and Cost-Effective Model-Based Software Verification and TestingLionel Briand
 
Log-Based Slicing for System-Level Test Cases
Log-Based Slicing for System-Level Test CasesLog-Based Slicing for System-Level Test Cases
Log-Based Slicing for System-Level Test CasesLionel Briand
 
Automated Testing of Hybrid Simulink/Stateflow Controllers
Automated Testing of Hybrid Simulink/Stateflow ControllersAutomated Testing of Hybrid Simulink/Stateflow Controllers
Automated Testing of Hybrid Simulink/Stateflow ControllersLionel Briand
 
Automated and Scalable Solutions for Software Testing: The Essential Role of ...
Automated and Scalable Solutions for Software Testing: The Essential Role of ...Automated and Scalable Solutions for Software Testing: The Essential Role of ...
Automated and Scalable Solutions for Software Testing: The Essential Role of ...Lionel Briand
 
Mining Assumptions for Software Components using Machine Learning
Mining Assumptions for Software Components using Machine LearningMining Assumptions for Software Components using Machine Learning
Mining Assumptions for Software Components using Machine LearningLionel Briand
 
Known XML Vulnerabilities Are Still a Threat to Popular Parsers ! & Open Sour...
Known XML Vulnerabilities Are Still a Threat to Popular Parsers ! & Open Sour...Known XML Vulnerabilities Are Still a Threat to Popular Parsers ! & Open Sour...
Known XML Vulnerabilities Are Still a Threat to Popular Parsers ! & Open Sour...Lionel Briand
 
A Natural Language Programming Approach for Requirements-based Security Testing
A Natural Language Programming Approach for Requirements-based Security TestingA Natural Language Programming Approach for Requirements-based Security Testing
A Natural Language Programming Approach for Requirements-based Security TestingLionel Briand
 
A Machine-Learning Approach for Demarcating Requirements in Textual Specifica...
A Machine-Learning Approach for Demarcating Requirements in Textual Specifica...A Machine-Learning Approach for Demarcating Requirements in Textual Specifica...
A Machine-Learning Approach for Demarcating Requirements in Textual Specifica...Lionel Briand
 
Software Defect Prediction on Unlabeled Datasets
Software Defect Prediction on Unlabeled DatasetsSoftware Defect Prediction on Unlabeled Datasets
Software Defect Prediction on Unlabeled DatasetsSung Kim
 
Dissertation Defense
Dissertation DefenseDissertation Defense
Dissertation DefenseSung Kim
 

What's hot (20)

Improving Fault Localization for Simulink Models using Search-Based Testing a...
Improving Fault Localization for Simulink Models using Search-Based Testing a...Improving Fault Localization for Simulink Models using Search-Based Testing a...
Improving Fault Localization for Simulink Models using Search-Based Testing a...
 
Evaluating Model Testing and Model Checking for Finding Requirements Violatio...
Evaluating Model Testing and Model Checking for Finding Requirements Violatio...Evaluating Model Testing and Model Checking for Finding Requirements Violatio...
Evaluating Model Testing and Model Checking for Finding Requirements Violatio...
 
A Search-based Testing Approach for XML Injection Vulnerabilities in Web Appl...
A Search-based Testing Approach for XML Injection Vulnerabilities in Web Appl...A Search-based Testing Approach for XML Injection Vulnerabilities in Web Appl...
A Search-based Testing Approach for XML Injection Vulnerabilities in Web Appl...
 
Test Case Prioritization for Acceptance Testing of Cyber Physical Systems
Test Case Prioritization for Acceptance Testing of Cyber Physical SystemsTest Case Prioritization for Acceptance Testing of Cyber Physical Systems
Test Case Prioritization for Acceptance Testing of Cyber Physical Systems
 
Effective Test Suites for ! Mixed Discrete-Continuous Stateflow Controllers
Effective Test Suites for ! Mixed Discrete-Continuous Stateflow ControllersEffective Test Suites for ! Mixed Discrete-Continuous Stateflow Controllers
Effective Test Suites for ! Mixed Discrete-Continuous Stateflow Controllers
 
OCLR: A More Expressive, Pattern-Based Temporal Extension of OCL
OCLR: A More Expressive, Pattern-Based Temporal Extension of OCLOCLR: A More Expressive, Pattern-Based Temporal Extension of OCL
OCLR: A More Expressive, Pattern-Based Temporal Extension of OCL
 
Automated Vulnerability Testing Using Machine Learning and Metaheuristic Search
Automated Vulnerability Testing Using Machine Learning and Metaheuristic SearchAutomated Vulnerability Testing Using Machine Learning and Metaheuristic Search
Automated Vulnerability Testing Using Machine Learning and Metaheuristic Search
 
AN EMPIRICAL STUDY ON THE POTENTIAL USEFULNESS OF DOMAIN MODELS FOR COMPLETEN...
AN EMPIRICAL STUDY ON THE POTENTIAL USEFULNESS OF DOMAIN MODELS FOR COMPLETEN...AN EMPIRICAL STUDY ON THE POTENTIAL USEFULNESS OF DOMAIN MODELS FOR COMPLETEN...
AN EMPIRICAL STUDY ON THE POTENTIAL USEFULNESS OF DOMAIN MODELS FOR COMPLETEN...
 
STAR: Stack Trace based Automatic Crash Reproduction
STAR: Stack Trace based Automatic Crash ReproductionSTAR: Stack Trace based Automatic Crash Reproduction
STAR: Stack Trace based Automatic Crash Reproduction
 
SSBSE 2020 keynote
SSBSE 2020 keynoteSSBSE 2020 keynote
SSBSE 2020 keynote
 
Scalable and Cost-Effective Model-Based Software Verification and Testing
Scalable and Cost-Effective Model-Based Software Verification and TestingScalable and Cost-Effective Model-Based Software Verification and Testing
Scalable and Cost-Effective Model-Based Software Verification and Testing
 
Log-Based Slicing for System-Level Test Cases
Log-Based Slicing for System-Level Test CasesLog-Based Slicing for System-Level Test Cases
Log-Based Slicing for System-Level Test Cases
 
Automated Testing of Hybrid Simulink/Stateflow Controllers
Automated Testing of Hybrid Simulink/Stateflow ControllersAutomated Testing of Hybrid Simulink/Stateflow Controllers
Automated Testing of Hybrid Simulink/Stateflow Controllers
 
Automated and Scalable Solutions for Software Testing: The Essential Role of ...
Automated and Scalable Solutions for Software Testing: The Essential Role of ...Automated and Scalable Solutions for Software Testing: The Essential Role of ...
Automated and Scalable Solutions for Software Testing: The Essential Role of ...
 
Mining Assumptions for Software Components using Machine Learning
Mining Assumptions for Software Components using Machine LearningMining Assumptions for Software Components using Machine Learning
Mining Assumptions for Software Components using Machine Learning
 
Known XML Vulnerabilities Are Still a Threat to Popular Parsers ! & Open Sour...
Known XML Vulnerabilities Are Still a Threat to Popular Parsers ! & Open Sour...Known XML Vulnerabilities Are Still a Threat to Popular Parsers ! & Open Sour...
Known XML Vulnerabilities Are Still a Threat to Popular Parsers ! & Open Sour...
 
A Natural Language Programming Approach for Requirements-based Security Testing
A Natural Language Programming Approach for Requirements-based Security TestingA Natural Language Programming Approach for Requirements-based Security Testing
A Natural Language Programming Approach for Requirements-based Security Testing
 
A Machine-Learning Approach for Demarcating Requirements in Textual Specifica...
A Machine-Learning Approach for Demarcating Requirements in Textual Specifica...A Machine-Learning Approach for Demarcating Requirements in Textual Specifica...
A Machine-Learning Approach for Demarcating Requirements in Textual Specifica...
 
Software Defect Prediction on Unlabeled Datasets
Software Defect Prediction on Unlabeled DatasetsSoftware Defect Prediction on Unlabeled Datasets
Software Defect Prediction on Unlabeled Datasets
 
Dissertation Defense
Dissertation DefenseDissertation Defense
Dissertation Defense
 

Viewers also liked

GST in India - Amendment Scenarios
GST in India - Amendment ScenariosGST in India - Amendment Scenarios
GST in India - Amendment Scenariossahigst
 
Características de la gastronomía del oriente venezolano
Características de la gastronomía del oriente venezolanoCaracterísticas de la gastronomía del oriente venezolano
Características de la gastronomía del oriente venezolanoRene J Durán E
 
Photograph selection for outfit 2
Photograph selection for outfit 2Photograph selection for outfit 2
Photograph selection for outfit 2jp05064325
 
Crecimiento poblacional los ultimos 25 años
Crecimiento poblacional los  ultimos 25 añosCrecimiento poblacional los  ultimos 25 años
Crecimiento poblacional los ultimos 25 añosmarcelabautista04
 
Traceability Beyond Source Code: An Elusive Target?
Traceability Beyond Source Code: An Elusive Target?Traceability Beyond Source Code: An Elusive Target?
Traceability Beyond Source Code: An Elusive Target?Lionel Briand
 
Ch 9 traceability and verification
Ch 9 traceability and verificationCh 9 traceability and verification
Ch 9 traceability and verificationKittitouch Suteeca
 
Line@經營策略
Line@經營策略Line@經營策略
Line@經營策略MR.FESS
 
Exploiting the Testing System
Exploiting the Testing SystemExploiting the Testing System
Exploiting the Testing Systemfrisksoftware
 
Ch 10 cost of software quality
Ch 10 cost of software qualityCh 10 cost of software quality
Ch 10 cost of software qualityKittitouch Suteeca
 
Ch 7 integrating quality activities in the projectlife cycle
Ch 7 integrating quality activities in the projectlife cycleCh 7 integrating quality activities in the projectlife cycle
Ch 7 integrating quality activities in the projectlife cycleKittitouch Suteeca
 
Deterministic Finite Automata (DFA)
Deterministic Finite Automata (DFA)Deterministic Finite Automata (DFA)
Deterministic Finite Automata (DFA)Animesh Chaturvedi
 
Mercado de Opções - BMF
Mercado de Opções - BMFMercado de Opções - BMF
Mercado de Opções - BMFFlavio Barboza
 

Viewers also liked (17)

Ceres wp2015 07-0007
Ceres wp2015 07-0007Ceres wp2015 07-0007
Ceres wp2015 07-0007
 
GST in India - Amendment Scenarios
GST in India - Amendment ScenariosGST in India - Amendment Scenarios
GST in India - Amendment Scenarios
 
Características de la gastronomía del oriente venezolano
Características de la gastronomía del oriente venezolanoCaracterísticas de la gastronomía del oriente venezolano
Características de la gastronomía del oriente venezolano
 
Photograph selection for outfit 2
Photograph selection for outfit 2Photograph selection for outfit 2
Photograph selection for outfit 2
 
Dietary fibre and its effect on weight loss.ppt (1)
Dietary fibre and its effect on weight loss.ppt (1)Dietary fibre and its effect on weight loss.ppt (1)
Dietary fibre and its effect on weight loss.ppt (1)
 
Crecimiento poblacional los ultimos 25 años
Crecimiento poblacional los  ultimos 25 añosCrecimiento poblacional los  ultimos 25 años
Crecimiento poblacional los ultimos 25 años
 
Traceability Beyond Source Code: An Elusive Target?
Traceability Beyond Source Code: An Elusive Target?Traceability Beyond Source Code: An Elusive Target?
Traceability Beyond Source Code: An Elusive Target?
 
Ch 9 traceability and verification
Ch 9 traceability and verificationCh 9 traceability and verification
Ch 9 traceability and verification
 
Cognitive Walkthrough
Cognitive WalkthroughCognitive Walkthrough
Cognitive Walkthrough
 
Line@經營策略
Line@經營策略Line@經營策略
Line@經營策略
 
Exploiting the Testing System
Exploiting the Testing SystemExploiting the Testing System
Exploiting the Testing System
 
Dulces
Dulces Dulces
Dulces
 
Ch 10 cost of software quality
Ch 10 cost of software qualityCh 10 cost of software quality
Ch 10 cost of software quality
 
Ch 7 integrating quality activities in the projectlife cycle
Ch 7 integrating quality activities in the projectlife cycleCh 7 integrating quality activities in the projectlife cycle
Ch 7 integrating quality activities in the projectlife cycle
 
Deterministic Finite Automata (DFA)
Deterministic Finite Automata (DFA)Deterministic Finite Automata (DFA)
Deterministic Finite Automata (DFA)
 
Mercado de Opções - BMF
Mercado de Opções - BMFMercado de Opções - BMF
Mercado de Opções - BMF
 
Eirzo
EirzoEirzo
Eirzo
 

Similar to System Testing of Timing Requirements based on Use Cases and Timed Automata

Testing Dynamic Behavior in Executable Software Models - Making Cyber-physica...
Testing Dynamic Behavior in Executable Software Models - Making Cyber-physica...Testing Dynamic Behavior in Executable Software Models - Making Cyber-physica...
Testing Dynamic Behavior in Executable Software Models - Making Cyber-physica...Lionel Briand
 
Automatic Generation of System Test Cases from Use Case Specifications
Automatic Generation of System Test Cases from Use Case SpecificationsAutomatic Generation of System Test Cases from Use Case Specifications
Automatic Generation of System Test Cases from Use Case SpecificationsLionel Briand
 
How to Make Test Automation for Cloud-based System
How to Make Test Automation for Cloud-based SystemHow to Make Test Automation for Cloud-based System
How to Make Test Automation for Cloud-based SystemNick Babich
 
AdaCore Paris Tech Day 2016: Elie Richa - Integrated Unit Testing for a Trust...
AdaCore Paris Tech Day 2016: Elie Richa - Integrated Unit Testing for a Trust...AdaCore Paris Tech Day 2016: Elie Richa - Integrated Unit Testing for a Trust...
AdaCore Paris Tech Day 2016: Elie Richa - Integrated Unit Testing for a Trust...jamieayre
 
Adaptive fault tolerance in real time cloud_computing
Adaptive fault tolerance in real time cloud_computingAdaptive fault tolerance in real time cloud_computing
Adaptive fault tolerance in real time cloud_computingwww.pixelsolutionbd.com
 
Empirically Detecting False Test Alarms Using Association Rules @ ICSE 2015
Empirically Detecting False Test Alarms Using Association Rules @ ICSE 2015Empirically Detecting False Test Alarms Using Association Rules @ ICSE 2015
Empirically Detecting False Test Alarms Using Association Rules @ ICSE 2015Kim Herzig
 
L1_Introduction.ppt
L1_Introduction.pptL1_Introduction.ppt
L1_Introduction.pptVarsha506533
 
TMPA-2017: Regression Testing with Semiautomatic Test Selection for Auditing ...
TMPA-2017: Regression Testing with Semiautomatic Test Selection for Auditing ...TMPA-2017: Regression Testing with Semiautomatic Test Selection for Auditing ...
TMPA-2017: Regression Testing with Semiautomatic Test Selection for Auditing ...Iosif Itkin
 
Functional safety by FMEA/FTA
Functional safety by FMEA/FTAFunctional safety by FMEA/FTA
Functional safety by FMEA/FTAmehmor
 
Applying Product Line Use Case Modeling ! in an Industrial Automotive Embedde...
Applying Product Line Use Case Modeling ! in an Industrial Automotive Embedde...Applying Product Line Use Case Modeling ! in an Industrial Automotive Embedde...
Applying Product Line Use Case Modeling ! in an Industrial Automotive Embedde...Lionel Briand
 
REAL TIME OPERATING SYSTEM PART 1
REAL TIME OPERATING SYSTEM PART 1REAL TIME OPERATING SYSTEM PART 1
REAL TIME OPERATING SYSTEM PART 1Embeddedcraft Craft
 
Automating System Test Case Classification and Prioritization for Use Case-Dr...
Automating System Test Case Classification and Prioritization for Use Case-Dr...Automating System Test Case Classification and Prioritization for Use Case-Dr...
Automating System Test Case Classification and Prioritization for Use Case-Dr...Lionel Briand
 
Automated Fault Analysis - IVPower for Transmission System Operators and Dist...
Automated Fault Analysis - IVPower for Transmission System Operators and Dist...Automated Fault Analysis - IVPower for Transmission System Operators and Dist...
Automated Fault Analysis - IVPower for Transmission System Operators and Dist...AFAS - Automated Fault Analysis NetCeler
 
Accurate and Reliable What-If Analysis of Business Processes: Is it Achievable?
Accurate and Reliable What-If Analysis of Business Processes: Is it Achievable?Accurate and Reliable What-If Analysis of Business Processes: Is it Achievable?
Accurate and Reliable What-If Analysis of Business Processes: Is it Achievable?Marlon Dumas
 
Model based ttcn-3 testing of a mobile operator charging
Model based ttcn-3 testing of a mobile operator chargingModel based ttcn-3 testing of a mobile operator charging
Model based ttcn-3 testing of a mobile operator chargingELVIOR
 
Model based ttcn-3 testing of a mobile operator charging
Model based ttcn-3 testing of a mobile operator chargingModel based ttcn-3 testing of a mobile operator charging
Model based ttcn-3 testing of a mobile operator chargingELVIOR
 
OPAL-RT HYPERSIM Features applied for Relay Testing
OPAL-RT HYPERSIM Features applied for Relay TestingOPAL-RT HYPERSIM Features applied for Relay Testing
OPAL-RT HYPERSIM Features applied for Relay TestingOPAL-RT TECHNOLOGIES
 

Similar to System Testing of Timing Requirements based on Use Cases and Timed Automata (20)

Testing Dynamic Behavior in Executable Software Models - Making Cyber-physica...
Testing Dynamic Behavior in Executable Software Models - Making Cyber-physica...Testing Dynamic Behavior in Executable Software Models - Making Cyber-physica...
Testing Dynamic Behavior in Executable Software Models - Making Cyber-physica...
 
Automatic Generation of System Test Cases from Use Case Specifications
Automatic Generation of System Test Cases from Use Case SpecificationsAutomatic Generation of System Test Cases from Use Case Specifications
Automatic Generation of System Test Cases from Use Case Specifications
 
How to Make Test Automation for Cloud-based System
How to Make Test Automation for Cloud-based SystemHow to Make Test Automation for Cloud-based System
How to Make Test Automation for Cloud-based System
 
AdaCore Paris Tech Day 2016: Elie Richa - Integrated Unit Testing for a Trust...
AdaCore Paris Tech Day 2016: Elie Richa - Integrated Unit Testing for a Trust...AdaCore Paris Tech Day 2016: Elie Richa - Integrated Unit Testing for a Trust...
AdaCore Paris Tech Day 2016: Elie Richa - Integrated Unit Testing for a Trust...
 
Adaptive fault tolerance in real time cloud_computing
Adaptive fault tolerance in real time cloud_computingAdaptive fault tolerance in real time cloud_computing
Adaptive fault tolerance in real time cloud_computing
 
Empirically Detecting False Test Alarms Using Association Rules @ ICSE 2015
Empirically Detecting False Test Alarms Using Association Rules @ ICSE 2015Empirically Detecting False Test Alarms Using Association Rules @ ICSE 2015
Empirically Detecting False Test Alarms Using Association Rules @ ICSE 2015
 
Fault tolerance
Fault toleranceFault tolerance
Fault tolerance
 
STPA and Software Verification
STPA and Software VerificationSTPA and Software Verification
STPA and Software Verification
 
Automated Test Generation
Automated Test GenerationAutomated Test Generation
Automated Test Generation
 
L1_Introduction.ppt
L1_Introduction.pptL1_Introduction.ppt
L1_Introduction.ppt
 
TMPA-2017: Regression Testing with Semiautomatic Test Selection for Auditing ...
TMPA-2017: Regression Testing with Semiautomatic Test Selection for Auditing ...TMPA-2017: Regression Testing with Semiautomatic Test Selection for Auditing ...
TMPA-2017: Regression Testing with Semiautomatic Test Selection for Auditing ...
 
Functional safety by FMEA/FTA
Functional safety by FMEA/FTAFunctional safety by FMEA/FTA
Functional safety by FMEA/FTA
 
Applying Product Line Use Case Modeling ! in an Industrial Automotive Embedde...
Applying Product Line Use Case Modeling ! in an Industrial Automotive Embedde...Applying Product Line Use Case Modeling ! in an Industrial Automotive Embedde...
Applying Product Line Use Case Modeling ! in an Industrial Automotive Embedde...
 
REAL TIME OPERATING SYSTEM PART 1
REAL TIME OPERATING SYSTEM PART 1REAL TIME OPERATING SYSTEM PART 1
REAL TIME OPERATING SYSTEM PART 1
 
Automating System Test Case Classification and Prioritization for Use Case-Dr...
Automating System Test Case Classification and Prioritization for Use Case-Dr...Automating System Test Case Classification and Prioritization for Use Case-Dr...
Automating System Test Case Classification and Prioritization for Use Case-Dr...
 
Automated Fault Analysis - IVPower for Transmission System Operators and Dist...
Automated Fault Analysis - IVPower for Transmission System Operators and Dist...Automated Fault Analysis - IVPower for Transmission System Operators and Dist...
Automated Fault Analysis - IVPower for Transmission System Operators and Dist...
 
Accurate and Reliable What-If Analysis of Business Processes: Is it Achievable?
Accurate and Reliable What-If Analysis of Business Processes: Is it Achievable?Accurate and Reliable What-If Analysis of Business Processes: Is it Achievable?
Accurate and Reliable What-If Analysis of Business Processes: Is it Achievable?
 
Model based ttcn-3 testing of a mobile operator charging
Model based ttcn-3 testing of a mobile operator chargingModel based ttcn-3 testing of a mobile operator charging
Model based ttcn-3 testing of a mobile operator charging
 
Model based ttcn-3 testing of a mobile operator charging
Model based ttcn-3 testing of a mobile operator chargingModel based ttcn-3 testing of a mobile operator charging
Model based ttcn-3 testing of a mobile operator charging
 
OPAL-RT HYPERSIM Features applied for Relay Testing
OPAL-RT HYPERSIM Features applied for Relay TestingOPAL-RT HYPERSIM Features applied for Relay Testing
OPAL-RT HYPERSIM Features applied for Relay Testing
 

More from Lionel Briand

Precise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalPrecise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalLionel Briand
 
Large Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and RepairLarge Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and RepairLionel Briand
 
Metamorphic Testing for Web System Security
Metamorphic Testing for Web System SecurityMetamorphic Testing for Web System Security
Metamorphic Testing for Web System SecurityLionel Briand
 
Simulator-based Explanation and Debugging of Hazard-triggering Events in DNN-...
Simulator-based Explanation and Debugging of Hazard-triggering Events in DNN-...Simulator-based Explanation and Debugging of Hazard-triggering Events in DNN-...
Simulator-based Explanation and Debugging of Hazard-triggering Events in DNN-...Lionel Briand
 
Fuzzing for CPS Mutation Testing
Fuzzing for CPS Mutation TestingFuzzing for CPS Mutation Testing
Fuzzing for CPS Mutation TestingLionel Briand
 
Data-driven Mutation Analysis for Cyber-Physical Systems
Data-driven Mutation Analysis for Cyber-Physical SystemsData-driven Mutation Analysis for Cyber-Physical Systems
Data-driven Mutation Analysis for Cyber-Physical SystemsLionel Briand
 
Many-Objective Reinforcement Learning for Online Testing of DNN-Enabled Systems
Many-Objective Reinforcement Learning for Online Testing of DNN-Enabled SystemsMany-Objective Reinforcement Learning for Online Testing of DNN-Enabled Systems
Many-Objective Reinforcement Learning for Online Testing of DNN-Enabled SystemsLionel Briand
 
ATM: Black-box Test Case Minimization based on Test Code Similarity and Evolu...
ATM: Black-box Test Case Minimization based on Test Code Similarity and Evolu...ATM: Black-box Test Case Minimization based on Test Code Similarity and Evolu...
ATM: Black-box Test Case Minimization based on Test Code Similarity and Evolu...Lionel Briand
 
Black-box Safety Analysis and Retraining of DNNs based on Feature Extraction ...
Black-box Safety Analysis and Retraining of DNNs based on Feature Extraction ...Black-box Safety Analysis and Retraining of DNNs based on Feature Extraction ...
Black-box Safety Analysis and Retraining of DNNs based on Feature Extraction ...Lionel Briand
 
PRINS: Scalable Model Inference for Component-based System Logs
PRINS: Scalable Model Inference for Component-based System LogsPRINS: Scalable Model Inference for Component-based System Logs
PRINS: Scalable Model Inference for Component-based System LogsLionel Briand
 
Revisiting the Notion of Diversity in Software Testing
Revisiting the Notion of Diversity in Software TestingRevisiting the Notion of Diversity in Software Testing
Revisiting the Notion of Diversity in Software TestingLionel Briand
 
Applications of Search-based Software Testing to Trustworthy Artificial Intel...
Applications of Search-based Software Testing to Trustworthy Artificial Intel...Applications of Search-based Software Testing to Trustworthy Artificial Intel...
Applications of Search-based Software Testing to Trustworthy Artificial Intel...Lionel Briand
 
Autonomous Systems: How to Address the Dilemma between Autonomy and Safety
Autonomous Systems: How to Address the Dilemma between Autonomy and SafetyAutonomous Systems: How to Address the Dilemma between Autonomy and Safety
Autonomous Systems: How to Address the Dilemma between Autonomy and SafetyLionel Briand
 
Mathematicians, Social Scientists, or Engineers? The Split Minds of Software ...
Mathematicians, Social Scientists, or Engineers? The Split Minds of Software ...Mathematicians, Social Scientists, or Engineers? The Split Minds of Software ...
Mathematicians, Social Scientists, or Engineers? The Split Minds of Software ...Lionel Briand
 
Reinforcement Learning for Test Case Prioritization
Reinforcement Learning for Test Case PrioritizationReinforcement Learning for Test Case Prioritization
Reinforcement Learning for Test Case PrioritizationLionel Briand
 
Mutation Analysis for Cyber-Physical Systems: Scalable Solutions and Results ...
Mutation Analysis for Cyber-Physical Systems: Scalable Solutions and Results ...Mutation Analysis for Cyber-Physical Systems: Scalable Solutions and Results ...
Mutation Analysis for Cyber-Physical Systems: Scalable Solutions and Results ...Lionel Briand
 
On Systematically Building a Controlled Natural Language for Functional Requi...
On Systematically Building a Controlled Natural Language for Functional Requi...On Systematically Building a Controlled Natural Language for Functional Requi...
On Systematically Building a Controlled Natural Language for Functional Requi...Lionel Briand
 
Efficient Online Testing for DNN-Enabled Systems using Surrogate-Assisted and...
Efficient Online Testing for DNN-Enabled Systems using Surrogate-Assisted and...Efficient Online Testing for DNN-Enabled Systems using Surrogate-Assisted and...
Efficient Online Testing for DNN-Enabled Systems using Surrogate-Assisted and...Lionel Briand
 
Guidelines for Assessing the Accuracy of Log Message Template Identification ...
Guidelines for Assessing the Accuracy of Log Message Template Identification ...Guidelines for Assessing the Accuracy of Log Message Template Identification ...
Guidelines for Assessing the Accuracy of Log Message Template Identification ...Lionel Briand
 
A Theoretical Framework for Understanding the Relationship between Log Parsin...
A Theoretical Framework for Understanding the Relationship between Log Parsin...A Theoretical Framework for Understanding the Relationship between Log Parsin...
A Theoretical Framework for Understanding the Relationship between Log Parsin...Lionel Briand
 

More from Lionel Briand (20)

Precise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalPrecise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive Goal
 
Large Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and RepairLarge Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and Repair
 
Metamorphic Testing for Web System Security
Metamorphic Testing for Web System SecurityMetamorphic Testing for Web System Security
Metamorphic Testing for Web System Security
 
Simulator-based Explanation and Debugging of Hazard-triggering Events in DNN-...
Simulator-based Explanation and Debugging of Hazard-triggering Events in DNN-...Simulator-based Explanation and Debugging of Hazard-triggering Events in DNN-...
Simulator-based Explanation and Debugging of Hazard-triggering Events in DNN-...
 
Fuzzing for CPS Mutation Testing
Fuzzing for CPS Mutation TestingFuzzing for CPS Mutation Testing
Fuzzing for CPS Mutation Testing
 
Data-driven Mutation Analysis for Cyber-Physical Systems
Data-driven Mutation Analysis for Cyber-Physical SystemsData-driven Mutation Analysis for Cyber-Physical Systems
Data-driven Mutation Analysis for Cyber-Physical Systems
 
Many-Objective Reinforcement Learning for Online Testing of DNN-Enabled Systems
Many-Objective Reinforcement Learning for Online Testing of DNN-Enabled SystemsMany-Objective Reinforcement Learning for Online Testing of DNN-Enabled Systems
Many-Objective Reinforcement Learning for Online Testing of DNN-Enabled Systems
 
ATM: Black-box Test Case Minimization based on Test Code Similarity and Evolu...
ATM: Black-box Test Case Minimization based on Test Code Similarity and Evolu...ATM: Black-box Test Case Minimization based on Test Code Similarity and Evolu...
ATM: Black-box Test Case Minimization based on Test Code Similarity and Evolu...
 
Black-box Safety Analysis and Retraining of DNNs based on Feature Extraction ...
Black-box Safety Analysis and Retraining of DNNs based on Feature Extraction ...Black-box Safety Analysis and Retraining of DNNs based on Feature Extraction ...
Black-box Safety Analysis and Retraining of DNNs based on Feature Extraction ...
 
PRINS: Scalable Model Inference for Component-based System Logs
PRINS: Scalable Model Inference for Component-based System LogsPRINS: Scalable Model Inference for Component-based System Logs
PRINS: Scalable Model Inference for Component-based System Logs
 
Revisiting the Notion of Diversity in Software Testing
Revisiting the Notion of Diversity in Software TestingRevisiting the Notion of Diversity in Software Testing
Revisiting the Notion of Diversity in Software Testing
 
Applications of Search-based Software Testing to Trustworthy Artificial Intel...
Applications of Search-based Software Testing to Trustworthy Artificial Intel...Applications of Search-based Software Testing to Trustworthy Artificial Intel...
Applications of Search-based Software Testing to Trustworthy Artificial Intel...
 
Autonomous Systems: How to Address the Dilemma between Autonomy and Safety
Autonomous Systems: How to Address the Dilemma between Autonomy and SafetyAutonomous Systems: How to Address the Dilemma between Autonomy and Safety
Autonomous Systems: How to Address the Dilemma between Autonomy and Safety
 
Mathematicians, Social Scientists, or Engineers? The Split Minds of Software ...
Mathematicians, Social Scientists, or Engineers? The Split Minds of Software ...Mathematicians, Social Scientists, or Engineers? The Split Minds of Software ...
Mathematicians, Social Scientists, or Engineers? The Split Minds of Software ...
 
Reinforcement Learning for Test Case Prioritization
Reinforcement Learning for Test Case PrioritizationReinforcement Learning for Test Case Prioritization
Reinforcement Learning for Test Case Prioritization
 
Mutation Analysis for Cyber-Physical Systems: Scalable Solutions and Results ...
Mutation Analysis for Cyber-Physical Systems: Scalable Solutions and Results ...Mutation Analysis for Cyber-Physical Systems: Scalable Solutions and Results ...
Mutation Analysis for Cyber-Physical Systems: Scalable Solutions and Results ...
 
On Systematically Building a Controlled Natural Language for Functional Requi...
On Systematically Building a Controlled Natural Language for Functional Requi...On Systematically Building a Controlled Natural Language for Functional Requi...
On Systematically Building a Controlled Natural Language for Functional Requi...
 
Efficient Online Testing for DNN-Enabled Systems using Surrogate-Assisted and...
Efficient Online Testing for DNN-Enabled Systems using Surrogate-Assisted and...Efficient Online Testing for DNN-Enabled Systems using Surrogate-Assisted and...
Efficient Online Testing for DNN-Enabled Systems using Surrogate-Assisted and...
 
Guidelines for Assessing the Accuracy of Log Message Template Identification ...
Guidelines for Assessing the Accuracy of Log Message Template Identification ...Guidelines for Assessing the Accuracy of Log Message Template Identification ...
Guidelines for Assessing the Accuracy of Log Message Template Identification ...
 
A Theoretical Framework for Understanding the Relationship between Log Parsin...
A Theoretical Framework for Understanding the Relationship between Log Parsin...A Theoretical Framework for Understanding the Relationship between Log Parsin...
A Theoretical Framework for Understanding the Relationship between Log Parsin...
 

Recently uploaded

Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...OnePlan Solutions
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作qr0udbr0
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....kzayra69
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfAlina Yurenko
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfPower Karaoke
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanyChristoph Pohl
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsAhmed Mohamed
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based projectAnoyGreter
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 

Recently uploaded (20)

Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdf
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based project
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 

System Testing of Timing Requirements based on Use Cases and Timed Automata

  • 1. .lusoftware verification & validation VVS System Testing of Timing Requirements based on Use Cases and Timed Automata ChunhuiWang, Fabrizio Pastore, Lionel Briand ICST’17, Tokyo, March 14th, 2017 University of Luxembourg, Luxembourg {chunhui.wang, fabrizio.pastore, lionel.briand}@uni.lu
  • 2. Timing Requirements are crucial for safety-critical systems 2
  • 3. Timing Requirements: Automotive Domain Airbag should be fully deployed within 50ms when a crash event is detected. 3
  • 4. Timing Requirements: Automotive Domain Car control system should signal overheating to driver when temperature exceeds a safety threshold for a given time. Most of safety critical components are not reliable when car is overheated (e.g. Airbag Control). 4
  • 5. Timing Requirements: overheating •A Temperature Error can be qualified (signaled) if overheating is detected for at least 3100ms (avoid signal toggling) •A Temperature Error should be qualified no later than 4800ms after overheating is detected 5
  • 6. Objectives • Automatically generate test cases to stress timing requirements with minimal modelling overhead • Identification of input sequences that increase the likelihood that the system will break timing constraints 6
  • 7. Context • FunctionalRequirementsare captured throughan analyzableform of use case specifications • Timing Requirementsare modeled by UML state charts or Timed Automata • Functionaltest cases automaticallygeneratedfrom use case specificationswith UMTG Wang, C., Pastore, F., Goknil, A., Briand, L. C., & Iqbal, Z. (2015, August). UMTG: a toolsetto automaticallygenerate system testcases from usecase specifications. In Proceedings of the 2015 10th Joint Meeting on Foundations ofSoftwareEngineering (pp. 942-945). ACM. BASIC FLOW 1. The system REQUESTS temperature FROM temperature sensor. 2. The system VALIDATE THAT the temperature is valid. 3. The system SEND occupant status TO airbag control unit. …… ALTERNATIVE FLOW RFS 2 1. The system set temperature error as detected. 7
  • 8. THE ACTOR SEND THE SYSTEM VALI THE SYSTEM DIS THE ACTOR SEND THE ACTOR SEND THE SYSTEM VALI THE SYSTEM DIS THE ACTOR SEND THE ACTOR SEND THE SYSTEM VALI THE SYSTEM DIS THE ACTOR SEND Use Cases Domain Model Errors.size()== 0 Status != null t > 0 && t < 50 OCL constraints Test Cases Test Scenarios UMTG [ISSTA’15] 8
  • 9. Context • FunctionalRequirementsare captured throughan analyzableform of use cases specifications • Timing Requirementsare modeled by UML state charts or Timed Automata • Functionaltest cases automaticallygeneratedfrom use case specificationswith UMTG Wang, C., Pastore, F., Goknil, A., Briand, L. C., & Iqbal, Z. (2015, August). UMTG: a toolsetto automaticallygenerate system testcases from usecase specifications. In Proceedings of the 2015 10th Joint Meeting on Foundations ofSoftwareEngineering (pp. 942-945). ACM. 9
  • 10. Strategy • Use Timed Automata to model Timing Constraints • Automata are high-level, missing information about concrete test inputs that may lead to state transitions • Rely upon Use Case Scenarios to identify the test inputs that trigger state transitions • Rely upon edge coverage criteria to identify test sequences • Integrate an ad-hoc metaheuristic search approach to build a test suite that effectively stresses timing requirements by maximizing test case diversity 10
  • 11. Test Generation combining Timed Automata and Use Case Specifications (TAUC) 11
  • 12. Msg1? Environment Automata scenario1? [Error == true] [Error == false] scenario2? TimingReq Automata ANALYSIS AND DESIGN 1 12
  • 13. Modelling • Automatathat capture timing propertiesof the functionality under test (timing requirement automata) • E.g. qualificationof temperatureerror (overheating) • Automatathat model the environment: • Capture frequencyof arrival of interrupts/ messages / inputs from sensors 13
  • 14. Example: TimingReqAutomata • Automatathat capture timing propertiesof the functionality under test, e.g. qualificationof of temperatureerror 14 x >= 3100 unDetected? isDetected = false, x = 0 detected? isDetected = true, x = 0 isDetected = false, x = 0 isDetected = true, x = 0 x >= 6100 NotDetectedNotQualified DetectedNotQualified DetectedQualifiedNotDetectedQualified x <= 4800 x <= 8100 Invariant Guard Updates unDetected? detected? isQualified = false isQualified = trueA Temperature Error can be qualified if overheating is detected for at least 3100ms. A Temperature Error should be qualified no later than 4800ms after overheating is detected
  • 15. • Automatathat model the environment: • Capture frequencyof arrival of interrupts/ messages / inputs from sensors 15 x = 0 x > 41 DMAInterrupt! x = 0 x >= 50 TimerInterrupt! x <= 50 x = 0 x > 40 OccupancyInfo! x > 40 CarInfo! x > 40 AirbagInfo! Example: EnvironmentAutomata
  • 16. Msg1? Environment Automata scenario1? [Error == true] [Error == false] scenario2? TimingReq Automata scenario1 scenario2 scenario3 ANALYSIS AND DESIGN 1 IDENTIFY FUNCTIONAL SCENARIOS 2 IDENTIFY DEPENDENCIES 3 Automated by UMTG • Transitionsare triggeredby scenario outputs • Scenarios can be executed only in specific states • Useful to translate abstract test activities into concrete test inputs 16
  • 17. 17 Coverage-based Test Generation x >= 3100 unDetected? isDetected = false, x = 0 detected? isDetected = true, x = 0 isDetected = false, x = 0 isDetected = true, x = 0 x >= 6100 NotDetectedNotQualified DetectedNotQualified DetectedQualifiedNotDetectedQualified x <= 4800 x <= 8100 unDetected? detected? isQualified = false isQualified = true
  • 18. 18 Coverage-based Test Generation x >= 3100 unDetected? isDetected = false, x = 0 detected? isDetected = true, x = 0 isDetected = false, x = 0 isDetected = true, x = 0 x >= 6100 NotDetectedNotQualified DetectedNotQualified DetectedQualifiedNotDetectedQualified x <= 4800 x <= 8100 unDetected? detected? isQualified = false isQualified = true Test Case Detected Wait 4800ms unDetected Wait 8100ms
  • 19. How to translate “error detected” into a concrete test input? By Reusing Information Available in Use Case Specifications 19
  • 20. How to translate “error detected” to a concrete test input? 20 TemperatureSensor.allInstances()->forAll(t | t.temperature > 0 and t.temperature < 45) UMTG generates the input (e.g. temperature = 50) that leads to the detection of a temperature error
  • 21. 21 A scenario brings the system into a specific state (i.e. assigns values to variables)
  • 22. 22 Errors.allInstances()->forAll(e | e.isQualified = false) Precondition to execute the scenario: At least one error is in the states with the state variable isQualified = true
  • 23. 23 x >= 3100 unDetected? detected? x >= 6100 NotDetectedNotQualified DetectedNotQualified x <= 4800 x <= 8100 unDetected? detected? isQualified = false isQualified = true NotDetectedQualified DetectedQualified Scenario isQualified = true
  • 24. 24 • A scenario bringsthe system into a specific state (i.e. assign values to variables) • A scenario can be executed only if the system has reached a specific state (i.e. requiresthat state variables have specific values)
  • 25. Msg1? Environment Automata scenario1? [Error == true] [Error == false] scenario2? TimingReq Automata scenario1 scenario2 scenario3 ANALYSIS AND DESIGN 1 IDENTIFY FUNCTIONAL SCENARIOS 2 IDENTIFY DEPENDENCIES 3 25
  • 26. scenario1? [Error == true] [Error == false] scenario2? Msg1? Timeliness Test Model Environment Automata C scenario1! Error := true Scenario Automata TimingReq Automata 4800ms Scenario1 ScenarioX 8100ms Message1 … GENERATE TIMELINESS TEST MODEL 4 GENERATE EXECUTION SCENARIOS 5 TAUC 26
  • 27. 4800ms Scenario1 ScenarioX 8100ms Message1 … 4800ms Scenario1 ScenarioY 8100ms Message2 … ScenarioX ScenarioZ 8100ms Message1 … Message3 GeneratedTest Suites … 4800ms Scenario1 ScenarioX 8100ms Message1 … Maximize test case diversity: • Execute more, diverse paths, including the same relevant edges • Execute paths with a diversity of input, interrupts, and messages • Increase the chances of timeliness failure detection TAUC 27
  • 28. Case Study • BodySense,embedded system for detecting occupancy statusin a car • Evaluation: • Effectivenessin terms of fault detection rate compared to current practice at IEE 28
  • 29. Effectiveness Evaluation • Derived 323 faultyversion of BodySenseby means of model mutation • Each faultyversion of BodySensemodels was generated by executing a single mutation operatoron the originalmodel • Comparethe Fault Detection Rate with the test suites generated by • Randomtesting • Expertise-based manualtesting 29
  • 30. 30 Fault Detection Rate 25 50 75 100 122 TAUC 85% 88% 91% 91% 91% Random 7% 12% 22% 30% 40% Manual 60%
  • 31. 31 Evaluation of TAUC Test Suite scenario1? [Error == true] [Error == false] scenario2? Original model Mutate scenario1? [Error == true] [Error == false] scenario2? scenario1? [Error == true] [Error == false] scenario2? … scenario1? [Error == true] [Error == false] scenario2? TAUC scenario1? [Error == true] [Error == false] scenario2? Msg1? Environment Automata C scenario1! Error := true Scenario Automata TimingReq Automata 4800ms Scenario1 ScenarioX 8100ms Message1 … 4800ms Scenario1 ScenarioY 8100ms Message2 … ScenarioX ScenarioZ 8100ms Message1 … Message3 Test Suites … GENERATETIMELINESS TEST MODEL 4 GENERATE EXECUTION SCENARIOS 5 IDENTIFY DEPENDENCIES 3 scenario1 scenario2 scenario3 IDENTIFY FUNCTIONAL SCENARIOS 2 Msg1? Environment Automata scenario1? [Error == true] [Error == false] scenario2? TimingReq Automata ANALYSIS AND DESIGN 1 Timing Requirements are crucial for safety-critical systems Fault Detection Rate 25 50 75 100 122 TAUC 85% 88% 91% 91% 91% Random 7% 12% 22% 30% 40% Manual 60%