SlideShare una empresa de Scribd logo
1 de 48
Descargar para leer sin conexión
.lusoftware verification & validation
VVS
Effective Test Suites for !
Mixed Discrete-Continuous
Stateflow Controllers
Reza Matinnejad
Shiva Nejati
Lionel Briand

SnT Center, University of Luxembourg

Thomas Bruckmann

Delphi Automotive Systems, Luxembourg
Cyber Physical Systems (CPSs)
Combination of computations (algorithms) and physical
dynamics (differential equations)

2
Physical world
 Computation
Testing (Typical) Software
3
X = 10, Y = 30
Z = 20
Algorithms
Fail
Pass
Z = 10
Testing (CPS) Software 
4
Algorithms + 
Differential Equations
Fail
Z = 20
X = 10, Y = 30
S1(t)
S2(t)
S3(t)
Pass
Z = 20
 S3(t)
S1
t
S2
t
S3
t
S3
t
Software Testing Challenges (CPS)
• Mixed discrete-continuous behavior (combination of
algorithms and continuous dynamics) 
• Inputs/outputs are signals (functions over time)
• Simulation is inexpensive but not yet systematically
automated
• Partial test oracles
5
Generating effective test suites
for Software used in !
Cyber-Physical Systems
6
Our Goal
Simulink/Stateflow
• A data flow-driven block diagram language
• Is widely used to develop Cyber Physical Systems
• Is executable
7
Stateflow
• A Statechart dialect integrated into Simulink
• Captures the state-based behavior of CPS software
• Has mixed discrete-continuous behavior
8
Generating effective test suites
for mixed discrete-continuous
Stateflow controllers
9
Our Goal
Discrete Behavior
What we typically think of software models
10
On
Off
On
Off
Speed < 10 Speed > 10
Discrete-Continuous Behavior
What software models are actually being built using Stateflow
11
On
Off
CtrlSig
On
Off
Speed < 10 Speed > 10
t
CtrlSig
t
CtrlSig
Generating effective test suites
for mixed discrete-continuous
Stateflow controllers
12
Our Goal
Test Suite Effectiveness (1)
•  Test suite size should be small because
•  Test oracles cannot be fully automated
•  Output signals need to be inspected by engineers
13
Model
Simulation
Input
Signals
Output
Signal(s)
S3
t
S2
t
S1
t
S3
t
S2
t
S1
t
Test Case 1
Test Case 2
Test Suite Effectiveness (2)
•  Test suites should have a high fault revealing power
•  Small deviations in outputs may not be recognized/important
•  Test inputs that drastically impact the output signal shape are
likely to have a higher fault revealing power 
14
Test Output 1
TimeTime
CtrlSig
Faulty Model Output
Correct Model Output
Test Output 2
Test Generation Algorithms!
!

15
Our Approach
Test Generation Algorithms
•  Input-based Test Generation:
•  Input Diversity Algorithm
•  Coverage-based Test Generation:
•  State Coverage Algorithm
•  Transition Coverage Algorithm
•  Output-based Test Generation:
•  Output Diversity Algorithm
•  Failure-based Algorithm
16
Input Diversity
• Maximizing distances among input signals
17
Test Case 1
Test Case 2
Input Signal 1
 Input Signal 2
S1
t
S1
t
S2
t
S2
t
Distance Between Signals
18
Time
Signal
Test Generation Algorithms
•  Input-based Test Generation:
•  Input Diversity Algorithm
•  Coverage-based Test Generation:
•  State Coverage Algorithm
•  Transition Coverage Algorithm
•  Output-based Test Generation:
•  Output Diversity Algorithm
•  Failure-based Algorithm
19
Structural Coverage
• Maximizing the number of states/transitions covered
20
State Coverage
 Transition Coverage
1
4
2
3
1
4
2
3
Test Generation Algorithms
•  Input-based Test Generation:
•  Input Diversity Algorithm
•  Coverage-based Test Generation:
•  State Coverage Algorithm
•  Transition Coverage Algorithm
•  Output-based Test Generation:
•  Output Diversity Algorithm
•  Failure-based Algorithm
21
Output Diversity
• Maximizing distances among output signals
22
Test Case 1
Test Case 2
Output Signal
S3
t
S3
t
Failure-based Test Generation 
23
Instability
 Discontinuity
0.0 1.0 2.0
-1.0
-0.5
0.0
0.5
1.0
Time
CtrlSigOutput
• Maximizing the likelihood of presence of specific failure
patterns in output signals
0.0 1.0 2.0
Time
0.0
0.25
0.50
0.75
1.0
CtrlSigOutput
We developed our failure-based
test generation algorithm using!
Meta-Heuristic Search 
24
The Alternative Choice
25
Our ApproachExisting WorkTechnique
Model
Checking
- Require precisely defined
oracles (user-specified
assertions)
- Have been largely applied
to time-discrete models
- State-explosion problem!
- No need for automated test
oracles
- Applicable to time-continuous
and non-linear models
- Our algorithms are black-box
randomized search:
- non-memory intensive
- can be parallelized
26
Failure-based Test Generation
using Meta-Heuristic Search
Input Signals
Slightly Modifying
Each Input Signal
Fitness Functions 
Capturing the Likelihood
of Presence of Failure Patterns
in the Output Signals
Repeat
Until maximum resources spent
S Initial Candidate Solution
Search Procedure
R Tweak (S)
if Fitness (R) > Fitness (S)
S R
Return S
Output Stability !
Fitness Function
• Sum of the differences of signal values for consecutive
simulation steps
27
stability(sgo) =
kP
i=1
|sgo(i · t) sgo((i 1) · t)|
0.0 1.0 2.0
-1.0
-0.5
0.0
0.5
1.0
Time
CtrlSigOutput
Output Continuity !
Fitness Function
28
• Maximum of the minimum left or right derivatives for all the
simulation steps 
0.0 1.0 2.0
Time
0.0
0.25
0.50
0.75
1.0
CtrlSigOutput
continuity(sgo) =
K 1
max
i=1
(min(|LeftDer(sgo, i)|, |RightDer(sgo, i)|))
Comparing the!
Test Generation Algorithms!
!

29
Evaluation
Research Questions
•  RQ1 (Fault Revealing Ability)
•  RQ2 (Fault Revealing Subsumption)
•  RQ3 (Test Suite Size)
30
Experiment Setup
• Three Stateflow models: two industrial and one publicly
available case study
31
75 (faulty models) * 100 (algorithm runs)
*6 (generation algorithms) * 5 (different test suite sizes) =
225,000 test suites (in total)
Test Suite
(size=3,5,
10,25,50)
{
1.Fault
Seeding
2.Generation
Algorithm
SF
Faulty
SF
{75 75
Research Question 1!
Fault Revealing Ability
How does the fault revealing ability of
our proposed test generation algorithms
compare with one another?
32
1.0
0.0
0.5
Input
Diversity
Output
Diversity
Fault
Revealing
Rate
RQ1: Fault Revealing Ability
33
1.  Output-based and coverage-based algorithms outperformed
the input diversity algorithm
2.  Output-based algorithms outperformed the coverage-based
algorithms
3.  Overall, output stability algorithm performed the best
Research Question 2!
Fault Revealing Subsumption
Is any of our generation algorithms
subsumed by other algorithms? 
34
RQ2: Fault Revealing Subsumption
35
•  For each of the 75 faulty models, we identified the best generation
algorithm(s) for different test suite sizes (5, 10, 25, and 50)
Fault 1
State Coverage
Transition Coverage
Output Diversity
Output Stability
Output Continuity
Fault 2 Fault 3 Fault 4
RQ2: Fault Revealing Subsumption (2)
36
1.  The coverage-based algorithms found the least
number of faults
2.  Coverage-based algorithms are subsumed by
output diversity algorithm when the test suite size
increases (size = 25 , 50)
Research Question 3!
Test Suite Size
What is the impact of the size of test suites
generated by our generation algorithms on
their fault revealing ability? 
37
RQ3: Test Suite Size
38
1.  The fault revealing rates for output stability/continuity is very
high for small test suites(size = 3,5) for Instability/Discontinuity
failures
2.  For Other failures, the ability of output diversity in revealing
failures rapidly increases as the test suite size increases
DiscontinuityInstability Others
0.0
0.5
1.0
3 5 10 25 50
Test Suite Size
FaultRevealingRateMean
3 5 10 25 50 3 5 10 25 50
Output Stability
Ouput Continuity State Coverage
Transition CoverageOutput Diversity
Lessons Learned
39
Lesson 1!
Coverage-based algorithms are less
effective than output-based algorithms
•  The test cases resulting from state/transition coverage
algorithms cover the faulty parts of the models
•  97% state coverage and 81% transition coverage
•  Cover faulty parts for 73 (out of 75) fault-seeded models
• However, they fail to generate output signals that are
sufficiently distinct from the oracle signal, hence yielding a
low fault revealing rate 
40
Lesson 2!
Combining Output-based Algorithms
41
•  We suggest to divide the test suite size budget between
output-based algorithms:
Output Continuity
 Output Stability
 Output Diversity
CoCoTest
42
.lusoftware verification & validation
VVS
Effective Test Suites for !
Mixed Discrete-Continuous
Stateflow Controllers
Reza Matinnejad (reza.matinnejad@uni.lu)
Shiva Nejati
Lionel Briand

SnT Center, University of Luxembourg

Thomas Bruckmann

Delphi Automotive Systems, Luxembourg
Lesson 1!
Combing Output-based Algorithms
•  We suggest to divide the test suite size budget between
output stability, output continuity, and output diversity:
1.  Allocate a small part of the test budget to output
continuity 
2.  Share the rest of the budget between output stability
and output diversity, by giving output diversity a higher
share
44
Input / Output Vectors
45
0 5 10
50
150
250
FuelLevelSensor
FuelLevel
0 5 10
100.0
91.43
84.43
75.62
70.01
66.19
61.21
56.66
54.32
52.81
50
100
Time (s) Time (s)
Study subjects
46
Publicly
Available
Name
No. of
Inputs
Hierarchical
States
Parallelism
No. of
States
SCPC
ASS
No
No
23
42
13
16
2 No
1 No
GCS Yes 8 10 0 Yes
No. of
Transitions
25
53
27
• SCPC: Supercharger Clutch Position Controller
• ASS: Auto Start Stop Control
• GCS: Guidance Control System
Fault Revealing Rate (FRR)
47
FRR(SF, TS) =
(
1 91iq
ˆdist(sgi, gi) > THR
0 81iq
ˆdist(sgi, gi) <= THR
•  FRR based on gi, output of the fault-free model, sgi, output of the fault-
seeded model, and a threshold THR:
1.  For continuous dynamic systems, the system output is acceptable
when the deviation is small and not necessarily zero 
2.  It is more likely that manual testers recognize a faulty output signal
when the signal shape drastically differs from the oracle.
RQ3: Test Suite Size
48
1.  The fault revealing rates for output stability/continuity is
very high for small test suites for Instability/Discontinuity
2.  For “Other” failures, the ability of OD in revealing failures
rapidly increases as the test suite size increases
Discontinuity
SC
TC
OD
OS
OC
* *
+ +
--
Instability Others
0.0
0.5
1.0
3 5 10 25 50
*
*
* *
+
+
+
-
-
Test Suite Size
FRRMean
+
-
-
3 5 10 25 50 3 5 10 25 50
* * *
-
-
-
+
+
+
-
- -
*
*
*
+
+
+
+
+
*
*
*-
-
-

Más contenido relacionado

La actualidad más candente

Testing the Untestable: Model Testing of Complex Software-Intensive Systems
Testing the Untestable: Model Testing of Complex Software-Intensive SystemsTesting the Untestable: Model Testing of Complex Software-Intensive Systems
Testing the Untestable: Model Testing of Complex Software-Intensive SystemsLionel Briand
 
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
 
Documented Requirements are not Useless After All!
Documented Requirements are not Useless After All!Documented Requirements are not Useless After All!
Documented Requirements are not Useless After All!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
 
PUMConf: A Tool to Configure Product Specific Use Case and Domain Models in a...
PUMConf: A Tool to Configure Product Specific Use Case and Domain Models in a...PUMConf: A Tool to Configure Product Specific Use Case and Domain Models in a...
PUMConf: A Tool to Configure Product Specific Use Case and Domain Models in a...Lionel Briand
 
Automated Change Impact Analysis between SysML Models of Requirements and Design
Automated Change Impact Analysis between SysML Models of Requirements and DesignAutomated Change Impact Analysis between SysML Models of Requirements and Design
Automated Change Impact Analysis between SysML Models of Requirements and DesignLionel Briand
 
Extracting Domain Models from Natural-Language Requirements: Approach and Ind...
Extracting Domain Models from Natural-Language Requirements: Approach and Ind...Extracting Domain Models from Natural-Language Requirements: Approach and Ind...
Extracting Domain Models from Natural-Language Requirements: Approach and Ind...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
 
Requirements in Cyber-Physical Systems: Specifications and Applications
Requirements in Cyber-Physical Systems: Specifications and ApplicationsRequirements in Cyber-Physical Systems: Specifications and Applications
Requirements in Cyber-Physical Systems: Specifications and ApplicationsLionel Briand
 
System Testing of Timing Requirements based on Use Cases and Timed Automata
System Testing of Timing Requirements based on Use Cases and Timed AutomataSystem Testing of Timing Requirements based on Use Cases and Timed Automata
System Testing of Timing Requirements based on Use Cases and Timed AutomataLionel Briand
 
HITECS: A UML Profile and Analysis Framework for Hardware-in-the-Loop Testing...
HITECS: A UML Profile and Analysis Framework for Hardware-in-the-Loop Testing...HITECS: A UML Profile and Analysis Framework for Hardware-in-the-Loop Testing...
HITECS: A UML Profile and Analysis Framework for Hardware-in-the-Loop Testing...Lionel Briand
 
Automated Testing of Autonomous Driving Assistance Systems
Automated Testing of Autonomous Driving Assistance SystemsAutomated Testing of Autonomous Driving Assistance Systems
Automated Testing of Autonomous Driving Assistance SystemsLionel Briand
 
Metamorphic Security Testing for Web Systems
Metamorphic Security Testing for Web SystemsMetamorphic Security Testing for Web Systems
Metamorphic Security Testing for Web SystemsLionel Briand
 
Analyzing Natural-Language Requirements: The Not-too-sexy and Yet Curiously D...
Analyzing Natural-Language Requirements: The Not-too-sexy and Yet Curiously D...Analyzing Natural-Language Requirements: The Not-too-sexy and Yet Curiously D...
Analyzing Natural-Language Requirements: The Not-too-sexy and Yet Curiously D...Lionel Briand
 
Automated Testing of Autonomous Driving Assistance Systems
Automated Testing of Autonomous Driving Assistance SystemsAutomated Testing of Autonomous Driving Assistance Systems
Automated Testing of Autonomous Driving Assistance SystemsLionel Briand
 
Applications of Machine Learning and Metaheuristic Search to Security Testing
Applications of Machine Learning and Metaheuristic Search to Security TestingApplications of Machine Learning and Metaheuristic Search to Security Testing
Applications of Machine Learning and Metaheuristic Search to Security TestingLionel Briand
 
Approximation-Refinement Testing of Compute-Intensive Cyber-Physical Models: ...
Approximation-Refinement Testing of Compute-Intensive Cyber-Physical Models: ...Approximation-Refinement Testing of Compute-Intensive Cyber-Physical Models: ...
Approximation-Refinement Testing of Compute-Intensive Cyber-Physical Models: ...Lionel 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
 
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
 
Model-driven trace diagnostics for pattern-based temporal specifications
Model-driven trace diagnostics for pattern-based temporal specificationsModel-driven trace diagnostics for pattern-based temporal specifications
Model-driven trace diagnostics for pattern-based temporal specificationsLionel Briand
 

La actualidad más candente (20)

Testing the Untestable: Model Testing of Complex Software-Intensive Systems
Testing the Untestable: Model Testing of Complex Software-Intensive SystemsTesting the Untestable: Model Testing of Complex Software-Intensive Systems
Testing the Untestable: Model Testing of Complex Software-Intensive Systems
 
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...
 
Documented Requirements are not Useless After All!
Documented Requirements are not Useless After All!Documented Requirements are not Useless After All!
Documented Requirements are not Useless After All!
 
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...
 
PUMConf: A Tool to Configure Product Specific Use Case and Domain Models in a...
PUMConf: A Tool to Configure Product Specific Use Case and Domain Models in a...PUMConf: A Tool to Configure Product Specific Use Case and Domain Models in a...
PUMConf: A Tool to Configure Product Specific Use Case and Domain Models in a...
 
Automated Change Impact Analysis between SysML Models of Requirements and Design
Automated Change Impact Analysis between SysML Models of Requirements and DesignAutomated Change Impact Analysis between SysML Models of Requirements and Design
Automated Change Impact Analysis between SysML Models of Requirements and Design
 
Extracting Domain Models from Natural-Language Requirements: Approach and Ind...
Extracting Domain Models from Natural-Language Requirements: Approach and Ind...Extracting Domain Models from Natural-Language Requirements: Approach and Ind...
Extracting Domain Models from Natural-Language Requirements: Approach and Ind...
 
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
 
Requirements in Cyber-Physical Systems: Specifications and Applications
Requirements in Cyber-Physical Systems: Specifications and ApplicationsRequirements in Cyber-Physical Systems: Specifications and Applications
Requirements in Cyber-Physical Systems: Specifications and Applications
 
System Testing of Timing Requirements based on Use Cases and Timed Automata
System Testing of Timing Requirements based on Use Cases and Timed AutomataSystem Testing of Timing Requirements based on Use Cases and Timed Automata
System Testing of Timing Requirements based on Use Cases and Timed Automata
 
HITECS: A UML Profile and Analysis Framework for Hardware-in-the-Loop Testing...
HITECS: A UML Profile and Analysis Framework for Hardware-in-the-Loop Testing...HITECS: A UML Profile and Analysis Framework for Hardware-in-the-Loop Testing...
HITECS: A UML Profile and Analysis Framework for Hardware-in-the-Loop Testing...
 
Automated Testing of Autonomous Driving Assistance Systems
Automated Testing of Autonomous Driving Assistance SystemsAutomated Testing of Autonomous Driving Assistance Systems
Automated Testing of Autonomous Driving Assistance Systems
 
Metamorphic Security Testing for Web Systems
Metamorphic Security Testing for Web SystemsMetamorphic Security Testing for Web Systems
Metamorphic Security Testing for Web Systems
 
Analyzing Natural-Language Requirements: The Not-too-sexy and Yet Curiously D...
Analyzing Natural-Language Requirements: The Not-too-sexy and Yet Curiously D...Analyzing Natural-Language Requirements: The Not-too-sexy and Yet Curiously D...
Analyzing Natural-Language Requirements: The Not-too-sexy and Yet Curiously D...
 
Automated Testing of Autonomous Driving Assistance Systems
Automated Testing of Autonomous Driving Assistance SystemsAutomated Testing of Autonomous Driving Assistance Systems
Automated Testing of Autonomous Driving Assistance Systems
 
Applications of Machine Learning and Metaheuristic Search to Security Testing
Applications of Machine Learning and Metaheuristic Search to Security TestingApplications of Machine Learning and Metaheuristic Search to Security Testing
Applications of Machine Learning and Metaheuristic Search to Security Testing
 
Approximation-Refinement Testing of Compute-Intensive Cyber-Physical Models: ...
Approximation-Refinement Testing of Compute-Intensive Cyber-Physical Models: ...Approximation-Refinement Testing of Compute-Intensive Cyber-Physical Models: ...
Approximation-Refinement Testing of Compute-Intensive Cyber-Physical Models: ...
 
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...
 
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
 
Model-driven trace diagnostics for pattern-based temporal specifications
Model-driven trace diagnostics for pattern-based temporal specificationsModel-driven trace diagnostics for pattern-based temporal specifications
Model-driven trace diagnostics for pattern-based temporal specifications
 

Destacado

Week 10 part2 pe 6282
Week 10 part2 pe 6282Week 10 part2 pe 6282
Week 10 part2 pe 6282Charlton Inao
 
Programming logic controllers (plc) seminar
Programming  logic controllers (plc) seminarProgramming  logic controllers (plc) seminar
Programming logic controllers (plc) seminarmanish gharte
 
Lecture 07 mechatronic design concepts
Lecture 07 mechatronic design conceptsLecture 07 mechatronic design concepts
Lecture 07 mechatronic design conceptsDrSKazi
 
Design+of+mechatronics+system+&+control+of+sb w+system
Design+of+mechatronics+system+&+control+of+sb w+systemDesign+of+mechatronics+system+&+control+of+sb w+system
Design+of+mechatronics+system+&+control+of+sb w+systemMahesh Todkar
 
Programmable Logic Controller and ladder logic programming
Programmable Logic Controller and ladder logic programmingProgrammable Logic Controller and ladder logic programming
Programmable Logic Controller and ladder logic programmingseema Vishwakarma
 
218001 control system technology lecture 1
218001 control system technology   lecture 1218001 control system technology   lecture 1
218001 control system technology lecture 1Toàn Hữu
 
Case studies powerpoint
Case studies powerpointCase studies powerpoint
Case studies powerpointpaul.sanders7
 
Pick and place Line following robot report
Pick and place Line following robot reportPick and place Line following robot report
Pick and place Line following robot reportPradeep Yadav
 
Programmable logic controller - Siemens S7-1200
Programmable logic controller - Siemens S7-1200Programmable logic controller - Siemens S7-1200
Programmable logic controller - Siemens S7-1200Ahmed Elsayed
 
Sensors & Actuators
Sensors & Actuators Sensors & Actuators
Sensors & Actuators Abdul Abbasi
 
pick-and-place-robot
pick-and-place-robotpick-and-place-robot
pick-and-place-robotSuchit Moon
 
introduction to mechatronics
introduction to mechatronicsintroduction to mechatronics
introduction to mechatronicsBilal_11kb
 
Sensors and actuators
Sensors and actuatorsSensors and actuators
Sensors and actuatorsnazibhmd
 
Controller ppt
Controller pptController ppt
Controller pptgourav0077
 
Industrial robotics pick & place
Industrial robotics pick & placeIndustrial robotics pick & place
Industrial robotics pick & placeRobotics Solutions
 
Wireless Pick and Place Surveillance Robot
Wireless Pick and Place Surveillance RobotWireless Pick and Place Surveillance Robot
Wireless Pick and Place Surveillance RobotZeenat Saba Khan
 
Case Studies Power Point
Case Studies Power PointCase Studies Power Point
Case Studies Power Pointguest3762ea6
 

Destacado (20)

Week 10 part2 pe 6282
Week 10 part2 pe 6282Week 10 part2 pe 6282
Week 10 part2 pe 6282
 
Programming logic controllers (plc) seminar
Programming  logic controllers (plc) seminarProgramming  logic controllers (plc) seminar
Programming logic controllers (plc) seminar
 
Lecture 07 mechatronic design concepts
Lecture 07 mechatronic design conceptsLecture 07 mechatronic design concepts
Lecture 07 mechatronic design concepts
 
Design+of+mechatronics+system+&+control+of+sb w+system
Design+of+mechatronics+system+&+control+of+sb w+systemDesign+of+mechatronics+system+&+control+of+sb w+system
Design+of+mechatronics+system+&+control+of+sb w+system
 
Programmable Logic Controller and ladder logic programming
Programmable Logic Controller and ladder logic programmingProgrammable Logic Controller and ladder logic programming
Programmable Logic Controller and ladder logic programming
 
218001 control system technology lecture 1
218001 control system technology   lecture 1218001 control system technology   lecture 1
218001 control system technology lecture 1
 
Case studies powerpoint
Case studies powerpointCase studies powerpoint
Case studies powerpoint
 
Pick and place Line following robot report
Pick and place Line following robot reportPick and place Line following robot report
Pick and place Line following robot report
 
Programmable logic controller - Siemens S7-1200
Programmable logic controller - Siemens S7-1200Programmable logic controller - Siemens S7-1200
Programmable logic controller - Siemens S7-1200
 
Sensors & Actuators
Sensors & Actuators Sensors & Actuators
Sensors & Actuators
 
Actuators
ActuatorsActuators
Actuators
 
pick-and-place-robot
pick-and-place-robotpick-and-place-robot
pick-and-place-robot
 
introduction to mechatronics
introduction to mechatronicsintroduction to mechatronics
introduction to mechatronics
 
Sensors and actuators
Sensors and actuatorsSensors and actuators
Sensors and actuators
 
Actuators
ActuatorsActuators
Actuators
 
Actuators.ppt
Actuators.pptActuators.ppt
Actuators.ppt
 
Controller ppt
Controller pptController ppt
Controller ppt
 
Industrial robotics pick & place
Industrial robotics pick & placeIndustrial robotics pick & place
Industrial robotics pick & place
 
Wireless Pick and Place Surveillance Robot
Wireless Pick and Place Surveillance RobotWireless Pick and Place Surveillance Robot
Wireless Pick and Place Surveillance Robot
 
Case Studies Power Point
Case Studies Power PointCase Studies Power Point
Case Studies Power Point
 

Similar a Effective Test Suites for ! Mixed Discrete-Continuous Stateflow Controllers

Test pattern Generation for 4:1 MUX
Test pattern Generation for 4:1 MUXTest pattern Generation for 4:1 MUX
Test pattern Generation for 4:1 MUXUrmilasSrinivasan
 
L1_Introduction.ppt
L1_Introduction.pptL1_Introduction.ppt
L1_Introduction.pptVarsha506533
 
Dealing with the Three Horrible Problems in Verification
Dealing with the Three Horrible Problems in VerificationDealing with the Three Horrible Problems in Verification
Dealing with the Three Horrible Problems in VerificationDVClub
 
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
 
Unit 2 Unit level testing.ppt
Unit 2 Unit level testing.pptUnit 2 Unit level testing.ppt
Unit 2 Unit level testing.pptPerfectMe2
 
Design for testability and automatic test pattern generation
Design for testability and automatic test pattern generationDesign for testability and automatic test pattern generation
Design for testability and automatic test pattern generationDilip Mathuria
 
Software Engineering (Testing techniques)
Software Engineering (Testing techniques)Software Engineering (Testing techniques)
Software Engineering (Testing techniques)ShudipPal
 
Software Engineering (Testing techniques)
Software Engineering (Testing techniques)Software Engineering (Testing techniques)
Software Engineering (Testing techniques)ShudipPal
 
9-High-Level-Fault-Grading.ppt
9-High-Level-Fault-Grading.ppt9-High-Level-Fault-Grading.ppt
9-High-Level-Fault-Grading.pptZeroOne70
 
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
 
Testability: Factors and Strategy
Testability: Factors and StrategyTestability: Factors and Strategy
Testability: Factors and StrategyBob Binder
 
Chapter 14 software testing techniques
Chapter 14 software testing techniquesChapter 14 software testing techniques
Chapter 14 software testing techniquesSHREEHARI WADAWADAGI
 
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
 
New software testing-techniques
New software testing-techniquesNew software testing-techniques
New software testing-techniquesFincy V.J
 
680report final
680report final680report final
680report finalRajesh M
 
Seii unit6 software-testing-techniques
Seii unit6 software-testing-techniquesSeii unit6 software-testing-techniques
Seii unit6 software-testing-techniquesAhmad sohail Kakar
 

Similar a Effective Test Suites for ! Mixed Discrete-Continuous Stateflow Controllers (20)

Test pattern Generation for 4:1 MUX
Test pattern Generation for 4:1 MUXTest pattern Generation for 4:1 MUX
Test pattern Generation for 4:1 MUX
 
L1_Introduction.ppt
L1_Introduction.pptL1_Introduction.ppt
L1_Introduction.ppt
 
11 whiteboxtesting
11 whiteboxtesting11 whiteboxtesting
11 whiteboxtesting
 
Dealing with the Three Horrible Problems in Verification
Dealing with the Three Horrible Problems in VerificationDealing with the Three Horrible Problems in Verification
Dealing with the Three Horrible Problems in Verification
 
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 ...
 
ATE-info
ATE-infoATE-info
ATE-info
 
Unit 2 Unit level testing.ppt
Unit 2 Unit level testing.pptUnit 2 Unit level testing.ppt
Unit 2 Unit level testing.ppt
 
Design for testability and automatic test pattern generation
Design for testability and automatic test pattern generationDesign for testability and automatic test pattern generation
Design for testability and automatic test pattern generation
 
Software Engineering (Testing techniques)
Software Engineering (Testing techniques)Software Engineering (Testing techniques)
Software Engineering (Testing techniques)
 
Software Engineering (Testing techniques)
Software Engineering (Testing techniques)Software Engineering (Testing techniques)
Software Engineering (Testing techniques)
 
9-High-Level-Fault-Grading.ppt
9-High-Level-Fault-Grading.ppt9-High-Level-Fault-Grading.ppt
9-High-Level-Fault-Grading.ppt
 
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
 
Testability: Factors and Strategy
Testability: Factors and StrategyTestability: Factors and Strategy
Testability: Factors and Strategy
 
Chapter 14 software testing techniques
Chapter 14 software testing techniquesChapter 14 software testing techniques
Chapter 14 software testing techniques
 
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
 
6TL NIdays 2010
6TL NIdays 2010 6TL NIdays 2010
6TL NIdays 2010
 
Se unit 4
Se unit 4Se unit 4
Se unit 4
 
New software testing-techniques
New software testing-techniquesNew software testing-techniques
New software testing-techniques
 
680report final
680report final680report final
680report final
 
Seii unit6 software-testing-techniques
Seii unit6 software-testing-techniquesSeii unit6 software-testing-techniques
Seii unit6 software-testing-techniques
 

Más de 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
 

Más de 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...
 

Último

Best Web Development Agency- Idiosys USA.pdf
Best Web Development Agency- Idiosys USA.pdfBest Web Development Agency- Idiosys USA.pdf
Best Web Development Agency- Idiosys USA.pdfIdiosysTechnologies1
 
Odoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 EnterpriseOdoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 Enterprisepreethippts
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtimeandrehoraa
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...confluent
 
Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfFerryKemperman
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationBradBedford3
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Matt Ray
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作qr0udbr0
 
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
 
Buds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in NoidaBuds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in Noidabntitsolutionsrishis
 
Xen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfXen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfStefano Stabellini
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024StefanoLambiase
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based projectAnoyGreter
 

Último (20)

Best Web Development Agency- Idiosys USA.pdf
Best Web Development Agency- Idiosys USA.pdfBest Web Development Agency- Idiosys USA.pdf
Best Web Development Agency- Idiosys USA.pdf
 
Odoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 EnterpriseOdoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 Enterprise
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtime
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
 
Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdf
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion Application
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
 
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort ServiceHot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作
 
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
 
Buds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in NoidaBuds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in Noida
 
Xen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfXen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdf
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based project
 

Effective Test Suites for ! Mixed Discrete-Continuous Stateflow Controllers

  • 1. .lusoftware verification & validation VVS Effective Test Suites for ! Mixed Discrete-Continuous Stateflow Controllers Reza Matinnejad Shiva Nejati Lionel Briand SnT Center, University of Luxembourg Thomas Bruckmann Delphi Automotive Systems, Luxembourg
  • 2. Cyber Physical Systems (CPSs) Combination of computations (algorithms) and physical dynamics (differential equations) 2 Physical world Computation
  • 3. Testing (Typical) Software 3 X = 10, Y = 30 Z = 20 Algorithms Fail Pass Z = 10
  • 4. Testing (CPS) Software 4 Algorithms + Differential Equations Fail Z = 20 X = 10, Y = 30 S1(t) S2(t) S3(t) Pass Z = 20 S3(t) S1 t S2 t S3 t S3 t
  • 5. Software Testing Challenges (CPS) • Mixed discrete-continuous behavior (combination of algorithms and continuous dynamics) • Inputs/outputs are signals (functions over time) • Simulation is inexpensive but not yet systematically automated • Partial test oracles 5
  • 6. Generating effective test suites for Software used in ! Cyber-Physical Systems 6 Our Goal
  • 7. Simulink/Stateflow • A data flow-driven block diagram language • Is widely used to develop Cyber Physical Systems • Is executable 7
  • 8. Stateflow • A Statechart dialect integrated into Simulink • Captures the state-based behavior of CPS software • Has mixed discrete-continuous behavior 8
  • 9. Generating effective test suites for mixed discrete-continuous Stateflow controllers 9 Our Goal
  • 10. Discrete Behavior What we typically think of software models 10 On Off On Off Speed < 10 Speed > 10
  • 11. Discrete-Continuous Behavior What software models are actually being built using Stateflow 11 On Off CtrlSig On Off Speed < 10 Speed > 10 t CtrlSig t CtrlSig
  • 12. Generating effective test suites for mixed discrete-continuous Stateflow controllers 12 Our Goal
  • 13. Test Suite Effectiveness (1) •  Test suite size should be small because •  Test oracles cannot be fully automated •  Output signals need to be inspected by engineers 13 Model Simulation Input Signals Output Signal(s) S3 t S2 t S1 t S3 t S2 t S1 t Test Case 1 Test Case 2
  • 14. Test Suite Effectiveness (2) •  Test suites should have a high fault revealing power •  Small deviations in outputs may not be recognized/important •  Test inputs that drastically impact the output signal shape are likely to have a higher fault revealing power 14 Test Output 1 TimeTime CtrlSig Faulty Model Output Correct Model Output Test Output 2
  • 16. Test Generation Algorithms •  Input-based Test Generation: •  Input Diversity Algorithm •  Coverage-based Test Generation: •  State Coverage Algorithm •  Transition Coverage Algorithm •  Output-based Test Generation: •  Output Diversity Algorithm •  Failure-based Algorithm 16
  • 17. Input Diversity • Maximizing distances among input signals 17 Test Case 1 Test Case 2 Input Signal 1 Input Signal 2 S1 t S1 t S2 t S2 t
  • 19. Test Generation Algorithms •  Input-based Test Generation: •  Input Diversity Algorithm •  Coverage-based Test Generation: •  State Coverage Algorithm •  Transition Coverage Algorithm •  Output-based Test Generation: •  Output Diversity Algorithm •  Failure-based Algorithm 19
  • 20. Structural Coverage • Maximizing the number of states/transitions covered 20 State Coverage Transition Coverage 1 4 2 3 1 4 2 3
  • 21. Test Generation Algorithms •  Input-based Test Generation: •  Input Diversity Algorithm •  Coverage-based Test Generation: •  State Coverage Algorithm •  Transition Coverage Algorithm •  Output-based Test Generation: •  Output Diversity Algorithm •  Failure-based Algorithm 21
  • 22. Output Diversity • Maximizing distances among output signals 22 Test Case 1 Test Case 2 Output Signal S3 t S3 t
  • 23. Failure-based Test Generation 23 Instability Discontinuity 0.0 1.0 2.0 -1.0 -0.5 0.0 0.5 1.0 Time CtrlSigOutput • Maximizing the likelihood of presence of specific failure patterns in output signals 0.0 1.0 2.0 Time 0.0 0.25 0.50 0.75 1.0 CtrlSigOutput
  • 24. We developed our failure-based test generation algorithm using! Meta-Heuristic Search 24
  • 25. The Alternative Choice 25 Our ApproachExisting WorkTechnique Model Checking - Require precisely defined oracles (user-specified assertions) - Have been largely applied to time-discrete models - State-explosion problem! - No need for automated test oracles - Applicable to time-continuous and non-linear models - Our algorithms are black-box randomized search: - non-memory intensive - can be parallelized
  • 26. 26 Failure-based Test Generation using Meta-Heuristic Search Input Signals Slightly Modifying Each Input Signal Fitness Functions Capturing the Likelihood of Presence of Failure Patterns in the Output Signals Repeat Until maximum resources spent S Initial Candidate Solution Search Procedure R Tweak (S) if Fitness (R) > Fitness (S) S R Return S
  • 27. Output Stability ! Fitness Function • Sum of the differences of signal values for consecutive simulation steps 27 stability(sgo) = kP i=1 |sgo(i · t) sgo((i 1) · t)| 0.0 1.0 2.0 -1.0 -0.5 0.0 0.5 1.0 Time CtrlSigOutput
  • 28. Output Continuity ! Fitness Function 28 • Maximum of the minimum left or right derivatives for all the simulation steps 0.0 1.0 2.0 Time 0.0 0.25 0.50 0.75 1.0 CtrlSigOutput continuity(sgo) = K 1 max i=1 (min(|LeftDer(sgo, i)|, |RightDer(sgo, i)|))
  • 29. Comparing the! Test Generation Algorithms! ! 29 Evaluation
  • 30. Research Questions •  RQ1 (Fault Revealing Ability) •  RQ2 (Fault Revealing Subsumption) •  RQ3 (Test Suite Size) 30
  • 31. Experiment Setup • Three Stateflow models: two industrial and one publicly available case study 31 75 (faulty models) * 100 (algorithm runs) *6 (generation algorithms) * 5 (different test suite sizes) = 225,000 test suites (in total) Test Suite (size=3,5, 10,25,50) { 1.Fault Seeding 2.Generation Algorithm SF Faulty SF {75 75
  • 32. Research Question 1! Fault Revealing Ability How does the fault revealing ability of our proposed test generation algorithms compare with one another? 32
  • 33. 1.0 0.0 0.5 Input Diversity Output Diversity Fault Revealing Rate RQ1: Fault Revealing Ability 33 1.  Output-based and coverage-based algorithms outperformed the input diversity algorithm 2.  Output-based algorithms outperformed the coverage-based algorithms 3.  Overall, output stability algorithm performed the best
  • 34. Research Question 2! Fault Revealing Subsumption Is any of our generation algorithms subsumed by other algorithms? 34
  • 35. RQ2: Fault Revealing Subsumption 35 •  For each of the 75 faulty models, we identified the best generation algorithm(s) for different test suite sizes (5, 10, 25, and 50) Fault 1 State Coverage Transition Coverage Output Diversity Output Stability Output Continuity Fault 2 Fault 3 Fault 4
  • 36. RQ2: Fault Revealing Subsumption (2) 36 1.  The coverage-based algorithms found the least number of faults 2.  Coverage-based algorithms are subsumed by output diversity algorithm when the test suite size increases (size = 25 , 50)
  • 37. Research Question 3! Test Suite Size What is the impact of the size of test suites generated by our generation algorithms on their fault revealing ability? 37
  • 38. RQ3: Test Suite Size 38 1.  The fault revealing rates for output stability/continuity is very high for small test suites(size = 3,5) for Instability/Discontinuity failures 2.  For Other failures, the ability of output diversity in revealing failures rapidly increases as the test suite size increases DiscontinuityInstability Others 0.0 0.5 1.0 3 5 10 25 50 Test Suite Size FaultRevealingRateMean 3 5 10 25 50 3 5 10 25 50 Output Stability Ouput Continuity State Coverage Transition CoverageOutput Diversity
  • 40. Lesson 1! Coverage-based algorithms are less effective than output-based algorithms •  The test cases resulting from state/transition coverage algorithms cover the faulty parts of the models •  97% state coverage and 81% transition coverage •  Cover faulty parts for 73 (out of 75) fault-seeded models • However, they fail to generate output signals that are sufficiently distinct from the oracle signal, hence yielding a low fault revealing rate 40
  • 41. Lesson 2! Combining Output-based Algorithms 41 •  We suggest to divide the test suite size budget between output-based algorithms: Output Continuity Output Stability Output Diversity
  • 43. .lusoftware verification & validation VVS Effective Test Suites for ! Mixed Discrete-Continuous Stateflow Controllers Reza Matinnejad (reza.matinnejad@uni.lu) Shiva Nejati Lionel Briand SnT Center, University of Luxembourg Thomas Bruckmann Delphi Automotive Systems, Luxembourg
  • 44. Lesson 1! Combing Output-based Algorithms •  We suggest to divide the test suite size budget between output stability, output continuity, and output diversity: 1.  Allocate a small part of the test budget to output continuity 2.  Share the rest of the budget between output stability and output diversity, by giving output diversity a higher share 44
  • 45. Input / Output Vectors 45 0 5 10 50 150 250 FuelLevelSensor FuelLevel 0 5 10 100.0 91.43 84.43 75.62 70.01 66.19 61.21 56.66 54.32 52.81 50 100 Time (s) Time (s)
  • 46. Study subjects 46 Publicly Available Name No. of Inputs Hierarchical States Parallelism No. of States SCPC ASS No No 23 42 13 16 2 No 1 No GCS Yes 8 10 0 Yes No. of Transitions 25 53 27 • SCPC: Supercharger Clutch Position Controller • ASS: Auto Start Stop Control • GCS: Guidance Control System
  • 47. Fault Revealing Rate (FRR) 47 FRR(SF, TS) = ( 1 91iq ˆdist(sgi, gi) > THR 0 81iq ˆdist(sgi, gi) <= THR •  FRR based on gi, output of the fault-free model, sgi, output of the fault- seeded model, and a threshold THR: 1.  For continuous dynamic systems, the system output is acceptable when the deviation is small and not necessarily zero 2.  It is more likely that manual testers recognize a faulty output signal when the signal shape drastically differs from the oracle.
  • 48. RQ3: Test Suite Size 48 1.  The fault revealing rates for output stability/continuity is very high for small test suites for Instability/Discontinuity 2.  For “Other” failures, the ability of OD in revealing failures rapidly increases as the test suite size increases Discontinuity SC TC OD OS OC * * + + -- Instability Others 0.0 0.5 1.0 3 5 10 25 50 * * * * + + + - - Test Suite Size FRRMean + - - 3 5 10 25 50 3 5 10 25 50 * * * - - - + + + - - - * * * + + + + + * * *- - -