Study 1 Purpose of the tool. Test architecture.. Testing Target system Test system Testing results results affecting.

Slides:



Advertisements
Similar presentations
Introduction to C++ An object-oriented language Unit - 01.
Advertisements

purpose Search : automation methods for device driver development in IP-based embedded systems in order to achieve high reliability, productivity, reusability.
Test Yaodong Bi.
FIFO Queues CSE 2320 – Algorithms and Data Structures Vassilis Athitsos University of Texas at Arlington 1.
Introduction to Assembly language
Chair of Software Engineering Concurrent Object-Oriented Programming Prof. Dr. Bertrand Meyer Exercise Session 1: Eiffel Introduction.
Multi-Paradigm Models as Source for Automatic Test Construction Victor Kuliamin ISP RAS, Moscow.
An Automata-based Approach to Testing Properties in Event Traces H. Hallal, S. Boroday, A. Ulrich, A. Petrenko Sophia Antipolis, France, May 2003.
Software testing.
Software Engineering and Design Principles Chapter 1.
Chapter 4: Requirements Elicitation 4.5: Managing Requirements Elicitation Supervised by: Dr. Qutaibah Malluhi Software Engineering Done by: Sarah Al-Aqailly.
Describing Syntax and Semantics
Introduction to Data Structure, Fall 2006 Slide- 1 California State University, Fresno Introduction to Data Structure Chapter 8 Ming Li Department of.
Dr. Pedro Mejia Alvarez Software Testing Slide 1 Software Testing: Building Test Cases.
RUP Requirements RUP Artifacts and Deliverables
Project Analysis Course ( ) Week 2 Activities.
Review for Midterm Chapter 1-9 CSc 212 Data Structures.
Database Systems Group Department for Mathematics and Computer Science Lars Hamann, Martin Gogolla, Mirco Kuhlmann OCL-based Runtime Monitoring of JVM.
Implementation Yaodong Bi. Introduction to Implementation Purposes of Implementation – Plan the system integrations required in each iteration – Distribute.
A Simple Method for Extracting Models from Protocol Code David Lie, Andy Chou, Dawson Engler and David Dill Computer Systems Laboratory Stanford University.
Overview of Software Testing 07/12/2013 WISTPC 2013 Peter Clarke.
Automated Generation of Test Suites from Formal Specifications Alexander K.Petrenko Institute for System Programming of Russian Academy of Sciences (ISP.
1 SAM /JUNE/2000 SDL Based Auto Code Generation: A Multi Beneficial Approach Bhaskar Rao.G Software Engineering Group, Motorola India Electronics.
Testing Workflow In the Unified Process and Agile/Scrum processes.
Requirements Artifacts Precursor to A & D. Objectives: Requirements Overview  Understand the basic Requirements concepts and how they affect Analysis.
Tammy Dahlgren with Tom Epperly, Scott Kohn, and Gary Kumfert Center for Applied Scientific Computing Common Component Architecture Working Group October.
Saves memory and reduces swapping No recompilation on changes A DLL can provide after-market support Programs written in different languages can call the.
The Daikon system for dynamic detection of likely invariants MIT Computer Science and Artificial Intelligence Lab. 16 January 2007 Presented by Chervet.
Active-HDL Interfaces Building VHPI Applications C Compilation Course 9.
ObjectStore Database System By C. Lamb, G Landis, J.Orenstein, L. Weinreb Presentation by Meghana Chemburkar December 4, 2002 Instructor: Dr.Vasilis Megalooikonomou.
Code Contracts Parameterized Unit Tests Tao Xie. Example Unit Test Case = ? Outputs Expected Outputs Program + Test inputs Test Oracles 2 void addTest()
Lab 7 Queue ADT. OVERVIEW The queue is one example of a constrained linear data structure. The elements in a queue are ordered from least recently added.
SWE 316: Software Design and Architecture Objectives Lecture # 18 Introduction to Components SWE 316: Software Design and Architecture To learn:  benefits.
INRIA - LaBRICharles Consel Jan-06 1 Domain-Specific Software Engineering Charles Consel Phoenix Research Group LaBRI /INRIA-Futurs January 2006.
ARTIFACT UML Actor A Use Case 1 Use Case 2 Actor B Document FileManager GraphicFile File Repository DocumentList FileList Customer name addr withdraw()
Rational Unified Process Fundamentals Module 3: Disciplines I.
Writing a Run Time DLL The application loads the DLL using LoadLibrary() or LoadLibraryEx(). The standard search sequence is used by the operating system.
Introduction to Classes and Objects. Real Life When a design engineer needs an electrical motor he doesn’t need to worry about –How a foundry will cast.
CPSC 873 John D. McGregor Session 9 Testing Vocabulary.
UniTesK: Model Based Testing in Industrial Practice Victor Kuliamin Alexander Petrenko Alexander Kossatchev Igor Burdonov Institute for System Programming.
ISP RAS Java Specification Extension for Automated Test Development Igor B. Bourdonov, Alexei V. Demakov, Andrei A. Jarov, Alexander S. Kossatchev, Victor.
David Streader Computer Science Victoria University of Wellington Copyright: David Streader, Victoria University of Wellington Debugging COMP T1.
Object Oriented Analysis and Design 1 Chapter 9 From Design to Implementation  Implementation Model  Forward, Reverse, and Round-Trip Engineering  Mapping.
CPSC 871 John D. McGregor Module 8 Session 1 Testing.
Chapter 1 Software Engineering Principles. Problem analysis Requirements elicitation Software specification High- and low-level design Implementation.
310414IMPLEMENTATION1 IMPLEMENTATIONIMPLEMENTATION SOFTWARE ENGINEERING SOFTWARE ENGINEERING.
Documentation Javadocs. Design/Documentation An essential ingredient of good Object Oriented programming is known as design by contract. This means that.
C Programming Chapters 11, . . .
Introduction to Objects and Encapsulation Computer Science 4 Mr. Gerb Reference: Objective: Understand Encapsulation and abstract data types.
1 HPJAVA I.K.UJJWAL 07M11A1217 Dept. of Information Technology B.S.I.T.
Whole Test Suite Generation. Abstract Not all bugs lead to program crashes, and not always is there a formal specification to check the correctness of.
1 Midterm 1 on Friday February 12 Closed book, closed notes No computer can be used 50 minutes 4 questions Write a function Write program fragment Explain.
© Copyright 1992–2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. Linked Lists Outline Introduction Self-Referential Structures.
Study 1 Purpose of the tool. Test architecture.. Testing Target system Test system Testing results results affecting.
GNU Make Computer Organization II 1 © McQuain What is make ? make is a system utility for managing the build process (compilation/linking/etc).
CSC Multiprocessor Programming, Spring, 2012 Chapter 12 – Testing Concurrent Programs Dr. Dale E. Parson, week 12.
Software testing with CTesK Study 5. Test development process 1.Decision on area and depth of testing 2.Development of behavior model to be tested 3.Structuring.
Duke CPS Iterators: Patterns and STL l Access a container without knowing how it’s implemented ä libtapestry: first, isDone, next, current iterators.
CPSC 372 John D. McGregor Module 8 Session 1 Testing.
Testing functionality independent on history of system-environment interactions Study 2.
Passing from design to implementation
CSE 374 Programming Concepts & Tools
Model-based Software Testing and Analysis with C#
CSE 303 Concepts and Tools for Software Development
FIFO Queues CSE 2320 – Algorithms and Data Structures Alexandra Stefan
ISWIM For Testing – A Model Driven Approach
V. Kuliamin, A. Petrenko, N.!Pakoulin, I.!Bourdonov, A.!Kossatchev
The List Container and Iterators
Implementation Plan system integration required for each iteration
Presentation transcript:

Study 1 Purpose of the tool. Test architecture.

Testing Target system Test system Testing results results affecting

Test development process Requirements elicitation Design Implementation Debugging and testing - what should be tested - how it should be tested - test implementation - test debugging

Оракул Mediator Test architecture Target system Test sequence generator Оракул Oracle

Structure of test sequence generator Test sequence generator Test engine Оракул Oracle Test action iterator

Example of test development (queue example) int queue_put (int) //returns 0 if a queue is full int queue_get (int*) //pointer is NULL for empty queue queue_get() queue_put() //observer registration typedef void (*queue_observer_t) (void); void queue_register (queue_observer_t obsvr); observers’ calls

Медиатор Mediator Test architecture (queue example) Target system Test sequence generator Оракул Oracle SeC  >C generation queue_spec.sec queue_spec.c queue.h queue.c queue_media.c queue_media.sec queue_scen.c

Reactions’ catchers Test system Mediators Target system Reaction catchers reactions affecting deferred reactions queue_media.c queue_media.sec SeC  >C generation

Structure of test sequence generator (queue example) Test sequence generator Test engine Оракул Oracle Test action iterator Generation SeC  >C queue_scen.sec queue_scen.c

The function main of test. Compilation, building, running queue.c queue_spec.c queue_media.c queue_scen.c queue_spec.sec queue_media.sec queue_scen.sec queue_main.secqueue_main.c SeC  >C generation Building and running Trace of test execution Report generation Test reports

Mediators State synchronization Mapping into specification model Mapping into implementation Reaction catchers Structure of the course Introduction and the tool overview Specifications Data and invariants Function specifications Precondition Postcondition Coverage criteria Test scenarios Initialization and finalization Test state Scenario functions Reaction specifications Precondition Postcondition The function main of test Test building and debugging, test report generation Functions working with specification state

Testing and requirements Target system Test system Test results results affecting produced by using the tool from meets prove conformance to Requirements

Steps of test development using the tool Development of specifications of target system Mediator development Test scenario development Test building and running Test result analysis Requirements Specifications

Steps of test development using the tool Development of specifications of target system Mediator development Test scenario development Test building and running Test result analysis Specification Implementation interface Mediators

Steps of test development using the tool Development of specifications of target system Mediator development Test scenario development Test building and running Test result analysis Specifications Test scenarios Coverage criteria

Steps of test development using the tool Development of specifications of target system Mediator development Test scenario development Test building and running Test result analysis Specifications Test scenarios Mediators ImplementationTest Generation Test execution and report generation Test report

Steps of test development using the tool Development of specifications of target system Mediator development Test scenario development Test building and running Test result analysis Test reports Test quality estimation Failures

Architecture Test sequence generator Specification Test action generator Test scenario Mediators in SeC Target system Test engine Оракул Oracle Медиатор Mediator Manually developed components Library components Generated components Generation Links by calls