Issue# UMLTP21-3 Related issues

Slides:



Advertisements
Similar presentations
Test Yaodong Bi.
Advertisements

Composition CMSC 202. Code Reuse Effective software development relies on reusing existing code. Code reuse must be more than just copying code and changing.
Automated Test Design ™ © 2011 Conformiq, Inc. CONFORMIQ DESIGNER On ES v1.2.1 Stephan Schulz MBT Working Meeting/MTS#56, Göttingen.
Unit Training Management (UTM)
UML CASE Tool. ABSTRACT Domain analysis enables identifying families of applications and capturing their terminology in order to assist and guide system.
Geography 465 Overview Geoprocessing in ArcGIS. MODELING Geoprocessing as modeling.
UML Sequence Diagrams Eileen Kraemer CSE 335 Michigan State University.
Programming Paradigms Imperative programming Functional programming Logic programming Event-driven programming Object-oriented programming A programming.
Proposal for a new UNECE regulation on recyclability of motor vehicles Informal Document GRPE Reply to the Comments of the Russian Federation Informal.
11 CORE Architecture Mauro Bruno, Monica Scannapieco, Carlo Vaccari, Giulia Vaste Antonino Virgillito, Diego Zardetto (Istat)
BPA M&V Protocols Overview of BPA M&V Protocols and Relationship to RTF Guidelines for Savings and Standard Savings Estimation Protocols.
Requirements as Usecases Capturing the REQUIREMENT ANALYSIS DESIGN IMPLEMENTATION TEST.
Software Construction Lecture 18 Software Testing.
A Use Case Primer 1. The Benefits of Use Cases  Compared to traditional methods, use cases are easy to write and to read.  Use cases force the developers.
Object Oriented Software Development
11 CORE Architecture Mauro Bruno, Monica Scannapieco, Carlo Vaccari, Giulia Vaste Antonino Virgillito, Diego Zardetto (Istat)
Chair of Software Engineering Exercise Session 6: V & V Software Engineering Prof. Dr. Bertrand Meyer March–June 2007.
13-1 Sequential File Processing Chapter Chapter Contents Overview of Sequential File Processing Sequential File Updating - Creating a New Master.
1 1 ECHO Extended Services February 15, Agenda Review of Extended Services Policy and Governance ECHO’s Service Domain Model How to…
13- 1 Chapter 13.  Overview of Sequential File Processing  Sequential File Updating - Creating a New Master File  Validity Checking in Update Procedures.
ASP.NET User Controls. User Controls In addition to using Web server controls in your ASP.NET Web pages, you can create your own custom, reusable controls.
From C++ to C# Part 5. Enums Similar to C++ Similar to C++ Read up section 1.10 of Spec. Read up section 1.10 of Spec.
1. 2 Purpose of This Presentation ◆ To explain how spacecraft can be virtualized by using a standard modeling method; ◆ To introduce the basic concept.
Submission doc.: IEEE /0052r1 March 2016 Sho Furuichi, SonySlide 1 Supplemental document for text proposal on amendment to entity operations Date:
Adding Concurrency to a Programming Language Peter A. Buhr and Glen Ditchfield USENIX C++ Technical Conference, Portland, Oregon, U. S. A., August 1992.
1 Team Skill 3 Defining the System Part 1: Use Case Modeling Noureddine Abbadeni Al-Ain University of Science and Technology College of Engineering and.
Cliquez pour modifier le style du titre Cliquez pour modifier les styles du texte du masque Deuxième niveau Troisième niveau Quatrième niveau Cinquième.
How to integrate portals with EGI accounting system R.Graciani EGI TF 2012.
SOFTWARE TESTING TRAINING TOOLS SUPPORT FOR SOFTWARE TESTING Chapter 6 immaculateres 1.
Inheritance Modern object-oriented (OO) programming languages provide 3 capabilities: encapsulation inheritance polymorphism which can improve the design,
Databases: What they are and how they work
Systems Analysis and Design in a Changing World, Fourth Edition
Welcome to M301 P2 Software Systems & their Development
Section 13 - Integrating with Third Party Tools
Sourcing Event Tool Kit Multiline Sourcing, Market Baskets and Bundles
Inheritance Allows extension and reuse of existing code
Oracle Subledger Accounting
SysML v2 Formalism: Requirements & Benefits
As the last CC-list represents Maximum Compatible Classes we conclude:
Java Servlets.
Web Service Modeling Ontology (WSMO)
Recall The Team Skills Analyzing the Problem
Software Testing With Testopia
Review of the 1958 Agreement
Business Process Measures
Service Specification Framework
ServiceNow User Group Swiss Romande Shiva Thomas, Nov. 30th 2017
Exception Handling Chapter 9.
A test technique is a recipe these tasks that will reveal something
Fundamental Test Process
OCT based 6 GHz AP Operation Discussion
VHDL Discussion Subprograms
TestLog.verdict should be extracted into a dedicated ArbitrationResult concept Issue# UMLTP2-22 Related issues # UMLTP2-24 „Explicit arbitration specification.
Use Case Model Use case diagram – Part 2.
ETSI TC MTS TDL SC meeting Reports
VHDL Discussion Subprograms
Interaction Modeling Extracted from textbook:
Overview of the ETSI Test Description Language
ETSI TC MTS TDL SC meeting Reports
Use Case Modeling Part of the unified modeling language (U M L)
Classes, Objects and Methods
Measurement reporting in TGh
Object-Oriented PHP (1)
Proposed JSDL Extension: Parameter Sweeps
Aug Project: IEEE P Working Group for Wireless Personal Area Networks (WPANs) Submission Title: [Explanation and Revision of Previous Time.
Abstract TestDesignDirective concepts into abstract TestDirective
Comparing UML 2.0 Interactions and MSC-2000
Entity vs Datatype.
Explicit arbitration specification binding does not scale
Aug Project: IEEE P Working Group for Wireless Personal Area Networks (WPANs) Submission Title: [Explanation and Revision of Previous Time.
Presentation transcript:

Issue# UMLTP21-3 Related issues UTP test log facility ought to enable logging on procedural element level Issue# UMLTP21-3 Related issues

Purpose of a test log Calculate coverage and determine progress Analysis of test results (as part of test evaluation activities) Basis for confirmation test (running the very same test with the exact same values again) Comparison of subsequent test runs of the very same test case Post-execution comparison Post-execution comparison calculates the verdict after test execution Requires detailed test logs; arbitration can be done much later Trend analysis COP for test design - web site, forum, group, learning structure, topics project, career Doc#:

RPF (excerpt) ISTQB/ISO 24765: „A chronological record of relevant details about the execution of tests” IS 29119 (Test Execution Log): document that records details of the execution of one or more test procedures Execution of (at least) the test actions is (IMHO) a relevant detail about the execution of tests, first an foremost, CreateStimulusAction and ExpectResponseAction COP for test design - web site, forum, group, learning structure, topics project, career Doc#:

No mechanism to log the execution details of a ProceduralElement Current situation COP for test design - web site, forum, group, learning structure, topics project, career No mechanism to log the execution details of a ProceduralElement Doc#:

This is possible… Doc#: COP for test design - web site, forum, group, learning structure, topics project, career Doc#:

This is not possible (but ought to be, though) COP for test design - web site, forum, group, learning structure, topics project, career Execution of CreateStimulusAction Execution of ExpectResponseAction Doc#:

Proposal Create a minimal test log model that is capable of recording the execution details of the following procedural elements CreateStimulusAction ExpectResponseAction CheckPropertyAction LogAction SuggestVerdictAction ProcedureInvocation (including actual parameter) Mainly for logging the invocation of parameterized test cases from test execution logs Logging other procedural elements (such as loops, parallels, alternatives etc.) are of lesser interest for the time being Minimal log model must be easily extandable with further log entries COP for test design - web site, forum, group, learning structure, topics project, career Doc#:

Proposal TestLogEntries shall be based on InstanceSpecifications (and Classes for additional details), since there is no such thing as an instance of an Event, MessageOccurrenceSpecification or Action in UML A set of standardised information shall be associated with every TestLogEntry (similar to TestLog) Timestamp Duration Executing entity User-specific extension of that standard information must be possible to enable customization Possible through Classes of «TestLogEntry» InstanceSpecification that add additional information as Properties and values as Slots COP for test design - web site, forum, group, learning structure, topics project, career Doc#:

Proposal The proposal introduces the minimal test log model in the following order: Extending test log with test log entries Basic Test Log Entries Refinement of Test Log Entries for Test Actions Declaration of Event structures COP for test design - web site, forum, group, learning structure, topics project, career Doc#:

1. Extending UTP test log with test log entries COP for test design - web site, forum, group, learning structure, topics project, career Doc#:

1. Extending UTP test log with test log entries COP for test design - web site, forum, group, learning structure, topics project, career Doc#:

1. Extending UTP test log with test log entries TestLogEntry is a TestLog (of a ProceduralElement execution) Has a starting point in time A duration And an (optional) executing entity TestLogEntry may add additional (non-standardised) structural information by using TestLogEntryStructure TestLogEntry is an InstanceSpecification that can be classified by a «TestLogEntryStructure» Class Used to define formal and actual parameter for invocation events later on TestCaseLog and TestSetLog have and ordered set of TestLogEntries Ordered by timestamp Represents the sequential execution of events during test case execution COP for test design - web site, forum, group, learning structure, topics project, career Doc#:

1. Extending UTP test log with test log entries Examples COP for test design - web site, forum, group, learning structure, topics project, career Doc#:

2. Basic Test Log Entries Doc#: COP for test design - web site, forum, group, learning structure, topics project, career Doc#:

2. Basic Test Log Entries Doc#: COP for test design - web site, forum, group, learning structure, topics project, career Doc#:

2. Basic Test Log Entries Doc#: COP for test design - web site, forum, group, learning structure, topics project, career Doc#:

3. Refinement of Test Log Entries for Test Actions COP for test design - web site, forum, group, learning structure, topics project, career Doc#:

3. Refinement of Test Log Entries for Test Actions Derived from corresponding InvocationActionLogEntry COP for test design - web site, forum, group, learning structure, topics project, career Derived from corresponding InvocationActionLogEntry Doc#:

4. Declaration of event structures Log entries for InvocationEvents usually require additional information Invoked Operation/Method (BehavioralFeature/Behavior in UML) Values that were passed into or received from the callee (i.e., actual parameter values) ProceduralElements that invoke something ProcedureInvocationAction CreateStimulusAction ExpectResponseAction Respective TestLogEntries already exist! Event-specific structural information (i.e. parameters) of the invocation added through specific TestLogEntryStructures COP for test design - web site, forum, group, learning structure, topics project, career Doc#:

4. Declaration of event structures 3 possible invocation events that can be recorded during test execution All declare formal parameters 2 posses only input parameter 3 TestLogEntryStructures shall be defined an reused (instantiated) for a concrete test log COP for test design - web site, forum, group, learning structure, topics project, career Doc#:

4. Declaration of event structures Derived from underlying Slot.value Order determined by order of Parameter of ‚parameterizedInvocation‘ Derived from underlying Slot.definingFeature COP for test design - web site, forum, group, learning structure, topics project, career Parameter direction kind derived from ‚formalParameter‘ directionKind Doc#:

A real example COP for test design - web site, forum, group, learning structure, topics project, career Doc#:

Example (UTEST) COP for test design - web site, forum, group, learning structure, topics project, career Doc#:

Example (UTEST) COP for test design - web site, forum, group, learning structure, topics project, career Doc#:

Example (UTEST) COP for test design - web site, forum, group, learning structure, topics project, career Doc#:

Example (UTEST) derived automatically derived automatically COP for test design - web site, forum, group, learning structure, topics project, career derived automatically Doc#:

Example (UTEST) Instance of Represents execution of Instance of Only «ActualParameterValue»s that correspond to in-Kind-Parameter are allowed for CreateStimulusLogEntry Instance of COP for test design - web site, forum, group, learning structure, topics project, career Represents execution of Instance of Only «ActualParameterValue»s that correspond to out-Kind-Parameter are allowed for ActualResponseLogEntry Represents execution of Doc#:

Example (UTEST) - Tooling COP for test design - web site, forum, group, learning structure, topics project, career Doc#:

Summary UTP 2 shall support test logs an procedural element level (according to RFP) Test logging on procedural element level unifies the evaluation of test logs and adheres by the ideo of comprehensive test specifications Test runs from multiple test execution tools can be uniquely accessed and evaluated Post-execution comparison is possible Trend analysis based on UTP 2 Test log entries can be easily extended with user-specific information using UML‘s InstanceSpecification framework The most important procedural elements are supported for the time being; further procedural elements can be incorporated in the exact same way in a later RTF COP for test design - web site, forum, group, learning structure, topics project, career Doc#: