Safety Critical Systems 5 Testing T 79.5303 Safety Critical Systems.

Slides:



Advertisements
Similar presentations
Verification and Validation
Advertisements

Presentation by Prabhjot Singh
Chapter 12 Prototyping and Testing Design of Biomedical Devices and Systems By Paul H. King Richard C. Fries.
Ossi Taipale, Lappeenranta University of Technology
Verification and Validation: A Quick Introduction 1-2 Lectures.
Testing Important to guarantee quality of software
Developing safety critical systems
1 Verification, validation and testing Chapter 12, Storey.
Unit 251 Implementation and Integration Implementation Unit Testing Integration Integration Approaches.
Objectives Understand the basic concepts and definitions relating to testing, like error, fault, failure, test case, test suite, test harness. Understand.
Soft. Eng. II, Spr. 2002Dr Driss Kettani, from I. Sommerville1 CSC-3325: Chapter 9 Title : Reliability Reading: I. Sommerville, Chap. 16, 17 and 18.
Creator: ACSession No: 12 Slide No: 1Reviewer: CSE300Advanced Software EngineeringJanuary 2006 Testing Strategy CSE300 Advanced Software Engineering University.
1 Software Testing and Quality Assurance Lecture 1 Software Verification & Validation.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 22 Slide 1 Verification and Validation.
Chapter 11: Testing The dynamic verification of the behavior of a program on a finite set of test cases, suitable selected from the usually infinite execution.
Introduction to Software Testing
Software Verification and Validation (V&V) By Roger U. Fujii Presented by Donovan Faustino.
Verification and Validation
What Exactly are the Techniques of Software Verification and Validation A Storehouse of Vast Knowledge on Software Testing.
Safety-Critical Systems 6 Quality Management and Certification T
Software Testing Verification and validation planning Software inspections Software Inspection vs. Testing Automated static analysis Cleanroom software.
©Ian Sommerville 1995 Software Engineering, 5th edition. Chapter 22Slide 1 Verification and Validation u Assuring that a software system meets a user's.
©Ian Sommerville 2000Software Engineering, 6th edition. Chapter 19Slide 1 Verification and Validation l Assuring that a software system meets a user's.
Dr. Pedro Mejia Alvarez Software Testing Slide 1 Software Testing: Building Test Cases.
System/Software Testing
CCSB223/SAD/CHAPTER141 Chapter 14 Implementing and Maintaining the System.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 22 Slide 1 Verification and Validation.
Objectives Understand the basic concepts and definitions relating to testing, like error, fault, failure, test case, test suite, test harness. Explore.
CS4311 Spring 2011 Verification & Validation Dr. Guoqiang Hu Department of Computer Science UTEP.
VTT-STUK assessment method for safety evaluation of safety-critical computer based systems - application in BE-SECBS project.
Safety-Critical Systems 6 Certification
Instructor: Peter Clarke
SENG521 (Fall SENG 521 Software Reliability & Testing Software Product & process Improvement using ISO (Part 3d) Department.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 22 Slide 1 Software Verification, Validation and Testing.
Safety-Critical Systems T Ilkka Herttua. Safety Context Diagram HUMANPROCESS SYSTEM - Hardware - Software - Operating Rules.
This chapter is extracted from Sommerville’s slides. Textbook chapter
Safety-Critical Systems 5 Testing and V&V T
Chap. 5 Building Valid, Credible, and Appropriately Detailed Simulation Models.
Anton Krbaťa Ján Budáč  Verification: "Are we building the product right ?„  Validation: "Are we building the right product ?"
Verification and Validation Assuring that a software system meets a user's needs.
Safety-Critical Systems 7 Summary T V - Lifecycle model System Acceptance System Integration & Test Module Integration & Test Requirements Analysis.
Chapter 8 Lecture 1 Software Testing. Program testing Testing is intended to show that a program does what it is intended to do and to discover program.
Software Engineering1  Verification: The software should conform to its specification  Validation: The software should do what the user really requires.
Assoc. Prof. Dr. Ahmet Turan ÖZCERİT.  System and Software  System Engineering  Software Engineering  Software Engineering Standards  Software Development.
Software Testing and Quality Assurance 1. What is the objectives of Software Testing?
 Software Testing Software Testing  Characteristics of Testable Software Characteristics of Testable Software  A Testing Life Cycle A Testing Life.
HNDIT23082 Lecture 09:Software Testing. Validations and Verification Validation and verification ( V & V ) is the name given to the checking and analysis.
This chapter is extracted from Sommerville’s slides. Textbook chapter 22 1 Chapter 8 Validation and Verification 1.
Testing Overview Software Reliability Techniques Testing Concepts CEN 4010 Class 24 – 11/17.
SOFTWARE TESTING SOFTWARE TESTING Presented By, C.Jackulin Sugirtha-10mx15 R.Jeyaramar-10mx17K.Kanagalakshmi-10mx20J.A.Linda-10mx25P.B.Vahedha-10mx53.
Lecturer: Eng. Mohamed Adam Isak PH.D Researcher in CS M.Sc. and B.Sc. of Information Technology Engineering, Lecturer in University of Somalia and Mogadishu.
Verification vs. Validation Verification: "Are we building the product right?" The software should conform to its specification.The software should conform.
Testing Integral part of the software development process.
 System Requirement Specification and System Planning.
©Ian Sommerville 2000Software Engineering, 6th edition. Chapter 19Slide 1 Verification and Validation l Assuring that a software system meets a user's.
Laurea Triennale in Informatica – Corso di Ingegneria del Software I – A.A. 2006/2007 Andrea Polini XVII. Verification and Validation.
Verification and Validation. Topics covered l Verification and validation planning l Program Testing l Software inspections.
SOFTWARE TESTING Date: 29-Dec-2016 By: Ram Karthick.
PREPARED BY G.VIJAYA KUMAR ASST.PROFESSOR
Testing Tutorial 7.
CSC 480 Software Engineering
Authors: Maria de Fatima Mattiello-Francisco Ana Maria Ambrosio
Verification & Validation
Lecture 09:Software Testing
Verification and Validation Unit Testing
Software Verification and Validation
Software Verification and Validation
Software Verification and Validation
PSS verification and validation
Machine Protection PLC Based System Verification and Validation Plan
Presentation transcript:

Safety Critical Systems 5 Testing T Safety Critical Systems

Verification and validation Verification is the process of determining that a system or module meets its specification. Validation is the process of determining that a system is appropriate for its purpose. Testing is a process used to verify or validate system or its components.

Testing in different stages of V Testing is performed during various stage of system development. - Module testing – evaluation of a small function of the hardware/software. - System integration testing – investigates correct interaction of modules. - System validation testing – a complete system satisfies its requirements.

V - Lifecycle model System Acceptance System Integration & Test Module Integration & Test Requirements Analysis Requirements Model Test Scenarios Software Implementation & Unit Test Software Design Requirements Document Systems Analysis & Design Functional / Architechural - Model Specification Document Knowledge Base * * Configuration controlled Knowledge that is increasing in Understanding until Completion of the System: Requirements Documentation Requirements Traceability Model Data/Parameters Test Definition/Vectors

Forms of Testing Dynamic testing - execution of the system or component in the natural/simulated environment. - Functional – test all functions - Structural – test signal/test cases (glass-box) - Random – n-dimensional input space Static testing - reviews, inspections and walkthroughs. Static code analysis for software. Modelling - mathematical representation of the behaviour of a system or its environment.

Testing Methods Black-box testing – requirements-based, no information of the system, what is inside. White-box testing – more information about the system design to guide testing. Open view glass box. Gray-box testing – open the internal structure, but not detailed information

Dynamic testing techniques Dynamic testing standards IEC1508, BCS (British Computer Society), Def STAN and DO-178B. - Process simulation - Error seeding/guessing - Timing and memory tests - Performance/stress testing - Probabilistic testing – values for failure rates

Test planning Lifecycle PhaseActivitySafety case RequirementsHazard identificationAnalysis results Test planningIdentify tests integrityStrategy for V/V Req/Design/TestTrace hazards to specs.Risk reduction Req/DesignDefine specs Design analysis Safety Functional Requirements are the actual safety- related functions which the system, sub-system or item of equipments required to carry out. (CENELEC)

Simulator testing Safety critical standards e.g. Def STAN recommend that if a simulator is used to validate a safety-critical system then the simulator should be properly validated. In industry, simulators are validated using ad hoc techniques and no guidelines on simulator validation are available.

Simulator testing Modified lifecycle model which illustrates the importance of environment simulation and helps to define the techniques which should be adopted. This model expands the conventional ‘V’ model to form a ‘W’ model, where the left hand side represents the development of the product and the right hand side the development of the simulator used to test it. The ‘W’ lifecycle model defines a similar set of phases for the development of the environment simulator to those used in the development of the product itself. This does not necessarily imply that the amount of effort required in the former is equal to that in the latter.

The ‘W’ Model of the Software Development Lifecycle

Statistical software testing A type of random testing – input=>output Provides quantifiable metric of software integrity = probability of failure and reliability figures A proper environment simulation is needed Statistical method(s) is needed to produce an estimate of probability of failure and a measure of the confidence in that estimate

Safety Case / Lifecycle 1

Safety Case / Lifecycle 2

Test plan /activities

Definitions of Testability The degree to which a system or component facilitates the establishment of test criteria and the performance of tests to determine whether those criteria have been met. The effort required to apply a given testing strategy to a system. The ease with which faults in a system can be made to reveal themselves during testing.

Enough Testing “How much testing do I need to do to prove that my system is safe?”. An industrial project developed results which included the situation where failures were observed during testing. For example, a 99% confidence that the probability of failure on test demand is smaller than 0,001 requires about 5000 demands all of which are successful. Safety critical system testing starts, when normal industrial testing procedures has passed without a single failure.

Testing Home assignment: Describe the characteristics of the three major categories of dynamic testing and give examples of techniques that fall within each group. State whether each group corresponds to a black-box or a white-box approach. Please to by 26 of April 2007 References: KnowGravity, I-Logix, Contesse project