A Scenario-Based Approach to Validating and Testing Software Systems Using Statecharts
|
|
|
- Trevor Hill
- 10 years ago
- Views:
Transcription
1 A Scenario-Based Approach to Validating and Testing Software Systems Using Statecharts Johannes RyserÊÊÊÊÊÊÊÊÊÊÊÊÊÊMartin Glinz Department of Computer Science University of Zurich Winterthurerstrasse 190 CH-8057 Zurich, Switzerland +41-(0) / +41-(0) Fax: +41-(0) [email protected] / [email protected] ABSTRACT Scenarios (Use cases) are used to describe the functionality and behavior of a (software) system in a user-centered perspective. As scenarios form a kind of abstract level test cases for the system under development, the idea to use them to derive test cases for system test is quite intriguing. Yet in practice scenarios from the analysis phase are seldom used to create concrete system test cases. In this paper we present a procedure to create scenarios in the analysis phase and use those scenarios in system test to systematically determine test cases. This is done by formalization of scenarios into statecharts, annotation of statecharts with helpful information for test case creation/generation and by path traversal in the statecharts to determine concrete test cases. KEYWORDS Scenario, use case, testing, scenario-based testing, statechart annotation Presented at the 12 th International Conference on Software and Systems Engineering and their Applications ICSSEA'99. Proceedings: CNAM, Paris, France.
2 1 INTRODUCTION Validation and verification are generally recognized as two vital activities in developing a (software) system. Testing plays an important role in validating and verifying systems. Yet nowadays testing is often done in an ad hoc manner, and test cases are quite often developed in an unstructured, non-systematic way. A proposed (and valuable) approach to solve the problem lies in automating testing and Ð often a prerequisite to automation Ð in specialized test languages and formal specifications. But up to date, only very limited tool support exists, and formal specifications/special test languages are expensive to apply. It is not possible to automate the whole testing process and achieve acceptable test coverage in given time for projects relying on natural language specifications [11, 15]. In this paper we propose the use of scenarios, not solely for requirements elicitation and specification, but specifically for system testing. We do so by capturing natural language scenarios, converting them into formal scenarios using statecharts, and deriving test cases from statecharts in a systematic manner. The presented method is easy to apply, integrates nicely with existing software development methods and does not impose an inappropriate overhead. Systematic test case development is supported and testing is taken up early in the development process. Furthermore, we utilize synergies between the phases of system analysis & specification and system test by reuse of scenarios. The rest of the paper is organized as follows: Section 2 serves as an introductory chapter to present the main concepts of scenarios and define some of the terms used in this article. Our approach Ð the SCENT-Method Ð is shortly delineated. In section 3 we present the basic concepts and principles of the SCENT-Method, and describe the procedures of scenario creation, formalization and test case generation in more detail. Finally in section 4 we present some conclusions. 2 OVERVIEW OF THE SCENT-METHOD In this section we shortly introduce some key concepts of scenarios and then present an overview of the SCENT- Approach. 2.1 Scenarios The notion of scenarios is central to our approach: Scenarios are any form of description or capture of usersystem interaction sequences. We define the terms scenario, use case and actor as follows: Scenario - Use case [8] - Actor - An ordered set of interactions between partners, usually between a system and a set of actors external to the system. May comprise a concrete sequence of interaction steps (instance scenario) or a set of possible interaction steps (type scenario). A sequence of interactions between an actor (or actors) and a system triggered by a specific actor, which produces a result for an actor. A type scenario in our terminology. A role played by a user or an external system interacting with the system to be specified 2.2 The SCENT-Approach Motivated by the need for testing methods that are apt for practice and that are integrated with existing development methods, we propose a scenario-based approach to support systematic test case development. We aim at improving and economizing test case development: by (re)using and utilizing artifacts from earlier phases of the development process, specifically of the analysis phase, in testing again, thus taking profit of synergies between the closely related phases of system analysis and test, by integrating the development of test cases in early phases of the development process; that is, by interweaving testing activities with the activities of the early analysis and design phases of the software engineering process, and by defining a method how to develop test cases systematically. We call our approach the SCENT-Method Ð A Method for SCENario-Based Validation and Test of Software. The key ideas in our approach are: 1. Use scenarios not only to elicit and document requirements, to describe the functionality and specify the behavior of a system, but also to validate the system under development while it is being developed, 2. Uncover ambiguities, contradictions, omissions, impreciseness and vagueness in natural language descriptions (as scenarios in SCENT are at first) by formalizing narrative scenarios with statecharts [5], 3. Annotate the statecharts Ð where needed and helpful Ð with pre- and post-conditions, data ranges and data values, and performance requirements, to supply all the information needed for testing and to make the 2
3 statecharts suitable for the derivation of actual, concrete test cases, 4. Systematically derive test cases for system test by traversing paths in the statecharts, choosing a testing strategy as appropriate and documenting the test cases. These key concepts need to be supported by and integrated with the development method used to develop the application or the system, respectively. Most object-oriented methods support use cases and statecharts or a comparable state-transition formalism. Thus, the integration of the proposed method in any one of those methodologies is quite simple and straightforward. 3 BASIC PRINCIPLES OF THE SCENT-METHOD The idea of using scenarios/use cases in testing is not new: Jacobson writes in his book and articles that use cases are well suited to be used as test cases for integration testing, but does not define a procedure [8, 9]. Others have taken up, formalized and extended the notion of using scenarios to test a system (e.g. [6] using regular grammars and deterministic finite-state machines, or [2] defining scenario lifecycle diagrams). Yet despite the ubiquity of scenario approaches, a practical method supporting testers in developing test cases from scenarios has not emerged yet. The method presented here comprises three main parts: Scenario creation, scenario formalization and test case derivation. All three are described in more detail in the following sections. 3.1 Scenario Creation Most scenario processes used today are lacking a step procedure for the creation and use of scenarios. For this reason we define a procedure to elicit requirements and document them in scenarios (see Table 1). We use a scenario description template to document and format narrative scenarios. Thus we enforce adherence to a common layout and structure. Table 1: The scenario creation procedure # Step Description 1 Find all actors (roles played by persons/external systems) interacting with the system 2 Find all (relevant system external) events 3 Determine inputs, results and output of the system 4 Determine system boundaries 5 Create coarse overview scenarios (instance or type scenarios on business process or task level) 6 Prioritize scenarios according to importance, assure that the scenarios cover system functionality 7 Create a step-by-step description of events and actions for each scenario (task level) 8 Create an overview diagram and a dependency chart (see section 3.3) 9 Have users review and comment on the scenarios and diagrams 10 Extend scenarios by refining the scenario description, break down tasks to single working steps 11 Model alternative flows of actions, specify exceptions and how to react to exceptions 12 Factor out abstract scenarios (sequences of interactions appearing in more than one scenario) 13 Include non-functional (performance) requirements and qualities in scenarios 14 Revise the overview diagram and dependency chart 15 Have users check and validate the scenarios (Formal reviews) Actors, in- and outputs and events (as determined in steps 1-3) are uniquely named. A glossary of terms including a description of all actors, in- and outputs and all events is created. The coarse scenarios created in step 5 are short natural language descriptions of the interaction and do not feature a step-by-step description yet. In step 6, instance scenarios are transformed into type scenarios and scenarios are prioritized, thus allowing for release planning. Validation activities are interspersed throughout the development process (see step 9 and 15). A full description of the scenario creation method can be found in [12]. The scenario creation procedure is not a linear process as it might appear from Table 1. The steps are highly intertwined and activities are performed in parallel and iteratively. 3
4 During the process of scenario creation and refinement the developer notes relevant information for testing; these remarks may be abstract test cases, reminders what not to forget and what specifically to test for, and so on. These notes are used during testing to enhance the test cases that are derived from statecharts by path traversal. Non-functional requirements and qualities are documented in natural language or with other appropriate means (formulas, timing constraints, pictures, graphics, screenshots, sketches,...). What about the cost of the approach? Scenario definition has to be done in any approach employing scenarios. No additional expense is imposed by the step procedure defined in the SCENT-Method. The level of detail in scenarios may be limited or extended to any desired depth, but restricting the details bounds the use of the scenarios for system design and for test case generation. On the other hand, there are some advantages to scenario specifications: scenario creation helps to get the user involved in the specification process and increases the domain and system understanding of the developers, thus enabling more accurate system modeling as well as better design and implementation. Scenarios facilitate better understanding and communication between developers and users/customers. 3.2 Scenario Formalization and Annotation Validation of narrative scenarios by users is accompanied by verification steps by the developer. Verification is supported in the SCENT-Method by formalization: By converting natural language scenarios into statecharts, many omissions, ambiguities and inconsistencies can be found The Formalization Step The formalization step is the transformation of structured natural language scenarios into a statechart representation. Contrary to other approaches ([3], [14]) we do not restrict and formalize natural language to capture requirements. Instead we rely on the developer to synthesize statecharts, supporting him/her with heuristics. The heuristics are: - Create a statechart for each natural language scenario. The normal flow, all exceptional flows and all alternatives of a given scenario are captured in one statechart. - Statecharts are developed and refined along with the scenarios, thus providing for continual validation. As coarse overview scenarios are refined to reflect interactions on task level, new states are introduced in the statecharts, states are expanded to comprise substates, and parallelism may be caught in parallel states, as appropriate. - A single step in a narrative scenario usually translates into a state or a transition in a statechart. As the steps are mapped to either states or transitions, missing states and transitions will emerge and need to be added. - Model the normal flow first. Integrate the alternative flows later on. Check if alternatives are missing. - Represent abstract scenarios as hierarchical statecharts. - Check the statecharts for internal completeness and consistency. Are all the necessary states specified? Are all the states in a statechart connected? Are states and events named expressively and consistently, following some scheme? - Check the event list created for scenario elicitation to see if all relevant events are handled. - Cross-check statecharts. Do states, transitions and events appearing in more than one scenario have the same names? Creation of narrative scenarios and of statecharts is an iterative process. Statecharts have to be validated with users either by inspection or review, or by paraphrasing sequences of actions in the statecharts in a narrational style. All (important) paths are traversed; the developer guides the customer through the flows. This validation activity works hand in hand with the phase of test case derivation: The paths traversed with the customer to validate the statecharts are test cases that need to be tested in system test. Representing scenarios with statecharts requires some work to be done that otherwise wouldnõt. But the extra work put in scenario formalization pays back in many ways: 1. As mentioned before, the transformation of structured-text scenarios into a semiformal statechart representation helps in verifying and validating narrative scenarios. Omissions, inconsistencies and ambiguities are found. The specification is thus improved. 2. Developers gain a deeper understanding of the domain and the system to be built because they have to understand the details to formalize the scenarios. 3. The statecharts created in the transformation may well be used and reused in design and implementation. 4. The formalized scenarios are (re)used in testing. Test case preparation and expenses are moved from the testing phase late in the development process to earlier activities, thus alleviating the problem of testing poorly done under time pressure. By using a systematical way to develop test cases, test coverage is improved. The cost of developing the statecharts is justified by the benefits of an improved specification and enhanced testing. 4
5 3.2.2 Statechart Annotation The main problem in using narrative scenarios and derived statecharts as test cases is that they usually are on a level of abstraction that does not allow derivation of concrete test data Ð that is of input values and expected output Ð directly. For this reason we extend the statechart concept to include information important for testing and test case derivation. In particular, the additional testing information included in every statechart should comprise the following: - Preconditions - Data: Input, Output, Ranges and - Nonfunctional requirements The information is captured in annotations. In Figure 2 the annotation with preconditions, data items and performance requirements is illustrated An Example As an example of the formalization process, we choose a scenario of the familiar automated teller machine (ATM). Because of space limitations, we only describe the abstract scenario ÒAuthenticationÓ here: A user of the ATM identifying him/herself to the system. For a short specification of the ATM as well as for a more complete example turn to either [12] or [13]. The ÒAuthenticationÓ scenario reads: 1. The customer inserts the card 2. The system checks the card s validity 3. The system displays the Enter PIN Dialog 4. The customer enters his PIN 5. The system checks the PIN 6. The system displays the main menu To keep the description of the ÒAuthenticationÓ scenario short, we model neither alternatives nor exceptions. Apply for card UC 002: Authentication v0.1 inserts card System checks PIN PIN valid Display main menu Card entered PIN entered 0..3 in five years Application refused Issue card System checks validity of card Card valid Display 'Enter PIN' Dialog enters PIN Figure 1: A statechart representing the Authentication scenario Withdraw cash Inquire balance Precondition: ATM is operational, card is being inserted Card ejected Reset Card taken Display msg UC 002: Authentication v0.4 Card can't fully be inserted Display. error message inserts card Retain Card Third invalid PIN System [<0.05s] checks PIN PIN valid Display main menu Eject card Card can't be read Display error msg Card inserted Card valid Display 'Enter Invalid PIN PIN' Dialog Display retry msg PIN entered Card invalid Display error msg enters PIN {PIN [0..9] 6 } 4 Timeout Display Welcome screen System checks the card's validity [<2s] Service ATM Reload bills Annotations PIN consists of more than 3 and less than 7 numerals The color red to be used for error messges only Figure 3: A Dependency Chart for the ATM example Figure 2: Authentication -Statechart with alternative flows and annotations Based on the natural language scenario a statechart is developed. At first the normal flow of actions as depicted above is modeled (see Figure 1). Then the alternative flows are modeled (see Figure 2). Once a scenario is modeled in a statechart, the statechart is annotated as needed. Preconditions and data are specified. In the example, valid and invalid PINs are distinguished by state transitions, but no indication as to what an invalid PIN is, is made. So a data annotation may specify the range and the form of a PIN (see Figure 2). 5
6 3.3 Test Case Derivation Test cases in the SCENT-Method are developed in a three-step procedure: 1. Test case derivation from statecharts 2. Test case derivation from dependency charts 3. Additional tests (e.g. testing for specified qualities) as suggested by the notes and remarks written down during the analysis phase, during scenario creation and scenario refinement (see section 3.1.1). Additionally, a fourth step might be performed: The statecharts are integrated and additional test cases are derived from the integrated system statechart. In this paper we describe the first two steps of this procedure only, because of space limitations. A more indepth description of the method can be found in [12, 13] Test Case Derivation from Statecharts After narrative scenarios have been transformed into statecharts, test cases for system test are generated by path traversal in the statecharts. Any method to traverse all paths in finite state machines according to a given criterion can be used to derive test cases. The method of our choice is simply to cover all links thus reaching a coverage for the state graph comparable to branch coverage C2 in structural testing. A more elaborate coverage could be chosen as desired (e.g. switch or n-switch coverage [1, 4, 10] or comparable methods that consider more than one link at a time). Data annotations enable the tester to easily develop domain tests (boundary analysis, exception testing), performance and timing constraints allow for performance testing. Preconditions specified in the statecharts define test preparation that has to be done before test cases derived from the statechart can be executed Ð the testing setup is determined by the preconditions. Path traversal in statecharts will only generate tests for valid sequences of events. For this reason it is important to also include sequences in the test that are not admissible. All events that possibly could occur while in a given state should be tested for Test Case Derivation in the Example To illustrate test case derivation from statecharts, we present in Table 2 some test cases as created by path traversal of the statechart depicted in Figure 2. The first test case follows the normal flow of actions: The card can be inserted and the card as well as the PIN are valid. The next test case considers the exception of an incorrect PIN entered. Next an invalid PIN is entered (PIN too short; this test case takes into account the data annotations specified in the statechart). Finally, a third invalid PIN is entered to provoke another validation failure and traverse the Third invalid PIN link. Table 2: Test Cases Test preparation: ATM operational, card and PIN (1234) have been issued, card is being inserted ID State Input/User actions/ Conditions Expected output 1.1 Card sensed Card can be read, card valid, valid PIN (1234) entered in time Main menu displayed 1.2 Card sensed Card can be read, card valid, invalid PIN (1245) entered in time (first try) Retry message displayed 1.3 Retry msg Invalid PIN (123) entered in time, second try Retry message 1.4 Retry msg Invalid PIN ( ) entered in time, third try Card retained, user informed É É É É Test Case Generation from Dependency Charts To capture logical and timing dependencies between scenarios, we introduce a new diagram type called dependency charts. In dependency charts, scenarios are shown as rectangles with rounded corners and circular connectors. Scenarios without any connecting lines (dependency lines) may be executed in free order, even in parallel if appropriate. Scenarios that have to be preceded by a certain scenario, scenarios that have to start/end before/after an other scenario, sequences of scenarios, alternatives and iterations 1 are shown on dependency charts by dependency lines. A small example is given above to illustrate the representation of scenarios and their relations and dependencies in a dependency chart (Figure 3). A further discussion of dependency charts may be found in [12]. For all the dependencies in a dependency chart, test cases have to be specified. That means, if a scenario has to be preceded by another scenario, try to execute the scenario with and without executing the preceding scenario first. Other dependencies are handled likewise, thus deriving test cases to test the dependencies and interrelations between scenarios. 1 Alternatives and iterations are seldom used on an inter-scenario level: For this reason the example has been expanded and the scenario ÒApply for Card has been subdivided to show an alternative and an iteration. 6
7 4 CONCLUSIONS In this paper we have presented the SCENT-Method, a scenario-based approach to support the tester of a software system in systematically developing test cases. This is done by first eliciting and documenting requirements in natural language scenarios, using a template to structure the scenarios. The narrative scenarios then are formalized using statecharts as a notation. The statecharts are annotated with information important for testing. Finally, test cases are derived by path traversal of statecharts. The method presented in this paper is novel with respect to the synthesis of the aforementioned factors into one single process. We thus supply a method that supports the tester in systematic test case derivation, that uses artifacts of the early phases of the development process in testing again and that handily integrates with existing development methods. The SCENT-Method has been applied in practice to two projects at ABB in Baden/Switzerland. First experiences are quite promising as the main goal of the method, namely to supply test developers with a practical and systematical way to derive test cases, has been reached. The projects in which the method was applied were applications to remote monitoring of embedded systems [7]. The use of scenarios was perceived by the developers as helpful and valuable in modeling user interaction with the system. On the other hand, scenario management was a major problem throughout the development process. The formalization process also posed some problems, as the mapping of actions in natural language scenarios to states or transitions is not definite and clear-cut. A narrative scenario transformed into a statechart by one developer may differ significantly from a statechart developed from the same scenario by another developer. Test case creation was unproblematic as the chosen link coverage in statecharts is simple, yet powerful. Acknowledgments The work presented in this paper has been supported by the Swiss Commission for Technology and Innovation of the Swiss Federal Economics Department and by ABB Corporate Research Ltd Baden-Daettwil. REFERENCES [1] T. S. Chow: Testing Software Design Modeled by Finite-State Machines; IEEE Transactions on Software Engineering, vol. 4, n 3, pp , 1978 [2] D. C. Firesmith: Modeling the Dynamic Behavior of Systems, Mechanisms and Classes with Scenarios; Report on Object Analysis and Design, vol. 1, n 2, pp ,47, 1994 [3] N. E. Fuchs, U. Schwertel, R. Schwitter: Attempto Controlled English - Not Just Another Logic Specification Language; Logic-Based Program Synthesis and Transformation, Eighth International Workshop LOPSTR'98, Manchester, UK, 1999 [4] G. Gonenc: A Method for the Design of Fault-detection Experiments; IEEE Transactions on Computers, vol. C-19, pp , 1970 [5] D. Harel: Statecharts: A Visual Formalism for Complex Systems; Science of Computer Programming, vol. 8, pp , 1987 [6] P. Hsia, J. Samuel, J. Gao, D. Kung, Y. Toyoshima, C. Chen: Formal Approach to Scenario Analysis; IEEE Software, vol. 11, n 2, pp , 1994 [7] R. Itschner, C. Pommerell, M. Rutishauser: GLASS: Remote Monitoring of Embedded Systems in Power Engineering; IEEE Internet Computing, vol. 2, n 3, 1998 [8] I. Jacobson, M. Christerson, P. Jonsson, G. vergaard: Object Oriented Software Engineering: A Use Case Driven Approach. Amsterdam: Addison-Wesley, 1992 [9] I. Jacobson: Basic Use Case Modeling; Report on Object Analysis and Design, vol. 1, n 2, pp , 1994 [10] S. Pimont, J.C. Rault: A Software Reliability Assessment Based on a Structural Behavioral Analysis of Programs; Proceedings 2nd International Conference on Software Engineering, San Francisco, CA, 1976 [11] J. Ryser, S. Berner, M. Glinz: On the State of the Art in Requirements-based Validation and Test of Software; University of Zurich, Institut fÿr Informatik, ZŸrich, Berichte des Instituts fÿr Informatik 98.12, Nov 1998 [12] J. Ryser, M. Glinz: SCENT: A Method Employing Scenarios to Systematically Derive Test Cases for System Test; to appear as a technical report at University of Zurich, Institut fÿr Informatik, ZŸrich, [13] J. Ryser, M. Glinz: A Practical Approach to Validating and Testing Software Systems Using Scenarios; Quality Week Europe '99, Brussels, 1999 [14] S. SomŽ, R. Dssouli, J. Vaucher: Toward an Automation of Requirements Engineering using Scenarios; Journal of Computing and Information, Special issue: ICCI'96, 8th International Conference of Computing and Information, pp , 1996 [15] I. Spence, C. Meudec: Generation of Software Tests from Specifications; SQM'94 Second Conference on Software Quality Management, Edinburgh, Scotland, UK,
Improving the Quality of Requirements with Scenarios
Improving the Quality of Requirements with Scenarios Martin Glinz Summary The classical notion of requirements quality is problematic in practice. Hence the importance of some qualities, in particular
Evaluation of a Use-Case-Driven Requirements Analysis Tool Employing Web UI Prototype Generation
Evaluation of a Use-Case-Driven Requirements Analysis Tool Employing Web UI Prototype Generation SHINPEI OGATA Course of Functional Control Systems, Graduate School of Engineering Shibaura Institute of
Writing Use Case Scenarios for Model Driven Development
Writing Use Case Scenarios for Model Driven Development This guide outlines how to use Enterprise Architect to rapidly build Use Cases and increase your productivity through Model Driven Development. Use
Requirements engineering
Learning Unit 2 Requirements engineering Contents Introduction............................................... 21 2.1 Important concepts........................................ 21 2.1.1 Stakeholders and
UML TUTORIALS THE USE CASE MODEL
UML TUTORIALS THE USE CASE MODEL www.sparxsystems.com.au Sparx Systems 2004 Page 1/5 describes the proposed functionality of the new system. A Use Case represents a discrete unit of interaction between
DEVELOPING REQUIREMENTS FOR DATA WAREHOUSE SYSTEMS WITH USE CASES
DEVELOPING REQUIREMENTS FOR DATA WAREHOUSE SYSTEMS WITH USE CASES Robert M. Bruckner Vienna University of Technology [email protected] Beate List Vienna University of Technology [email protected]
Contents. Introduction and System Engineering 1. Introduction 2. Software Process and Methodology 16. System Engineering 53
Preface xvi Part I Introduction and System Engineering 1 Chapter 1 Introduction 2 1.1 What Is Software Engineering? 2 1.2 Why Software Engineering? 3 1.3 Software Life-Cycle Activities 4 1.3.1 Software
Use-Case Analysis. ! What is it? ! From where did it come? ! Now part of UML
Use-Case Analysis Use-Case Analysis! What is it?! An informal, user-friendly, technique useful for functional requirements analysis and specification! From where did it come?! Ivar Jacobson, a Swedish
Requirements engineering and quality attributes
Open Learning Universiteit Unit 2 Learning Unit 2 Requirements engineering and quality attributes Contents Introduction............................................... 21 2.1 Important concepts........................................
Development models. 1 Introduction. 2 Analyzing development models. R. Kuiper and E.J. Luit
Development models R. Kuiper and E.J. Luit 1 Introduction We reconsider the classical development models: the Waterfall Model [Bo76], the V-Model [Ro86], the Spiral Model [Bo88], together with the further
Sofware Requirements Engineeing
Sofware Requirements Engineeing Three main tasks in RE: 1 Elicit find out what the customers really want. Identify stakeholders, their goals and viewpoints. 2 Document write it down (). Understandable
Interactive system specification. Interactive system definition. Issues to be taken into account for interactive systems
Interactive system specification From Requirements Engineering Processes and Techniques by G. Kotonya and I. Sommerville 1998 Slide 1 Interactive system definition Interactive systems can be defined as
Towards Collaborative Requirements Engineering Tool for ERP product customization
Towards Collaborative Requirements Engineering Tool for ERP product customization Boban Celebic, Ruth Breu, Michael Felderer, Florian Häser Institute of Computer Science, University of Innsbruck 6020 Innsbruck,
Scenario-based Requirements Engineering and User-Interface Design
Scenario-based Requirements Engineering and User-Interface Institut für Computertechnik ICT Institute of Computer Technology Hermann Kaindl Vienna University of Technology, ICT Austria [email protected]
Towards an Integration of Business Process Modeling and Object-Oriented Software Development
Towards an Integration of Business Process Modeling and Object-Oriented Software Development Peter Loos, Peter Fettke Chemnitz Univeristy of Technology, Chemnitz, Germany {loos peter.fettke}@isym.tu-chemnitz.de
CREDENTIALS & CERTIFICATIONS 2015
THE COMMUNITY FOR TECHNOLOGY LEADERS www.computer.org CREDENTIALS & CERTIFICATIONS 2015 KEYS TO PROFESSIONAL SUCCESS CONTENTS SWEBOK KNOWLEDGE AREA CERTIFICATES Software Requirements 3 Software Design
How To Develop Software
Software Engineering Prof. N.L. Sarda Computer Science & Engineering Indian Institute of Technology, Bombay Lecture-4 Overview of Phases (Part - II) We studied the problem definition phase, with which
JOURNAL OF OBJECT TECHNOLOGY
JOURNAL OF OBJECT TECHNOLOGY Online at www.jot.fm. Published by ETH Zurich, Chair of Software Engineering JOT, 2006 Vol. 5. No. 8, November-December 2006 Requirements Engineering Tasks Donald Firesmith,
Use Cases. Reference: Craig Larman, Applying UML and Patterns, Ch. 6
Use Cases Reference: Craig Larman, Applying UML and Patterns, Ch. 6 Use Case What it is: Text story Widely used to discover and record (mostly functional) requirements What is it about: Some actor(s) using
Software Testing Strategies and Techniques
Software Testing Strategies and Techniques Sheetal Thakare 1, Savita Chavan 2, Prof. P. M. Chawan 3 1,2 MTech, Computer Engineering VJTI, Mumbai 3 Associate Professor, Computer Technology Department, VJTI,
Example Use Case Specification:
Example Use Case Specification: Level 1 Identified Use Case Name: Actor(s): Other Stakeholders: Summary Description: Priority: Risk Level: Status: Withdraw Cash Any Bank Customer (primary) Banking System
Modeling the User Interface of Web Applications with UML
Modeling the User Interface of Web Applications with UML Rolf Hennicker,Nora Koch,2 Institute of Computer Science Ludwig-Maximilians-University Munich Oettingenstr. 67 80538 München, Germany {kochn,hennicke}@informatik.uni-muenchen.de
Requirements Definition and Management Processes
Software Engineering G22.2440-001 Session 1 Sub-Topic 1 Requirements Definition & Management Processes and Tools Dr. Jean-Claude Franchitti New York University Computer Science Department Courant Institute
Modeling Systems - External and Internal Behavior Models
Systematically Combining Specifications of Internal and External System Behavior Using Statecharts Martin Glinz Department of Informatics, University of Zurich Winterthurerstrasse 190 CH-8057 Zurich, Switzerland
Do you know? "7 Practices" for a Reliable Requirements Management. by Software Process Engineering Inc. translated by Sparx Systems Japan Co., Ltd.
Do you know? "7 Practices" for a Reliable Requirements Management by Software Process Engineering Inc. translated by Sparx Systems Japan Co., Ltd. In this white paper, we focus on the "Requirements Management,"
ATM Case Study Part 1
ATM Case Study Part 1 A requirements document specifies the purpose of the ATM system and what it must do. Requirements Document A local bank intends to install a new automated teller machine (ATM) to
EMBEDDED SOFTWARE DEVELOPMENT: COMPONENTS AND CONTRACTS
EMBEDDED SOFTWARE DEVELOPMENT: COMPONENTS AND CONTRACTS David URTING, Stefan VAN BAELEN, Tom HOLVOET and Yolande BERBERS {David.Urting, Stefan.VanBaelen, Tom.Holvoet, Yolande.Berbers}@cs.kuleuven.ac.be
Using UML Part Two Behavioral Modeling Diagrams
UML Tutorials Using UML Part Two Behavioral Modeling Diagrams by Sparx Systems All material Sparx Systems 2007 Sparx Systems 2007 Page 1 Trademarks Object Management Group, OMG, Unified Modeling Language,
The SPES Methodology Modeling- and Analysis Techniques
The SPES Methodology Modeling- and Analysis Techniques Dr. Wolfgang Böhm Technische Universität München [email protected] Agenda SPES_XT Project Overview Some Basic Notions The SPES Methodology SPES_XT
CHAPTER 11 REQUIREMENTS
Lecture Software Engineering CHAPTER 11 REQUIREMENTS Lecture Software Engineering Topics Determining What the Client Needs Overview of the Requirements Workflow Understanding the Domain The Business Model
Designing Real-Time and Embedded Systems with the COMET/UML method
By Hassan Gomaa, Department of Information and Software Engineering, George Mason University. Designing Real-Time and Embedded Systems with the COMET/UML method Most object-oriented analysis and design
Chapter 4 Software Lifecycle and Performance Analysis
Chapter 4 Software Lifecycle and Performance Analysis This chapter is aimed at illustrating performance modeling and analysis issues within the software lifecycle. After having introduced software and
Using Use Cases for requirements capture. Pete McBreen. 1998 McBreen.Consulting
Using Use Cases for requirements capture Pete McBreen 1998 McBreen.Consulting [email protected] All rights reserved. You have permission to copy and distribute the document as long as you make no changes
Functional Requirements Document -Use Cases-
EUROPEAN COMMISSION DIRECTORATE GENERAL JRC JOINT RESEARCH CENTRE Cyber-security & New Technologies for Combating Fraud (CSCF) Institute for the Protection and Security of the Citizen (IPSC) EYE IN THE
Software Engineering. Session 3 Main Theme Requirements Definition & Management Processes and Tools Dr. Jean-Claude Franchitti
Software Engineering Session 3 Main Theme Requirements Definition & Management Processes and Tools Dr. Jean-Claude Franchitti New York University Computer Science Department Courant Institute of Mathematical
Software Requirements
Software Engineering Software Requirements Based on Software Engineering, 7 th Edition by Ian Sommerville Objectives To introduce the concepts of user and system requirements To describe functional and
Systematization of Requirements Definition for Software Development Processes with a Business Modeling Architecture
Systematization of Requirements Definition for Software Development Processes with a Business Modeling Architecture Delmir de Azevedo Junior 1 and Renato de Campos 2 1 Petrobras University, Republican
Service Level Agreements based on Business Process Modeling
Service Level Agreements based on Business Process Modeling Holger Schmidt Munich Network Management Team University of Munich, Dept. of CS Oettingenstr. 67, 80538 Munich, Germany Email: [email protected]
Different Approaches to White Box Testing Technique for Finding Errors
Different Approaches to White Box Testing Technique for Finding Errors Mohd. Ehmer Khan Department of Information Technology Al Musanna College of Technology, Sultanate of Oman [email protected] Abstract
Clarifying a vision on certification of MDA tools
SCIENTIFIC PAPERS, UNIVERSITY OF LATVIA, 2010. Vol. 757 COMPUTER SCIENCE AND INFORMATION TECHNOLOGIES 23 29 P. Clarifying a vision on certification of MDA tools Antons Cernickins Riga Technical University,
Test Case Design Using Classification Trees and the Classification-Tree Editor CTE
Quality Week 1995 Test Case Design Using Classification Trees and the Classification-Tree Editor CTE Matthias Grochtmann Joachim Wegener Klaus Grimm Daimler-Benz AG Research and Technology Alt-Moabit 96a
Survey of Web Testing Techniques
Survey of Web Testing Techniques Sonal Anand M.Tech (Computer Science) USIT, GGSIPU New Delhi, India Anju Saha Assistant Professor USIT, GGSIPU New Delhi, India ABSTRACT This paper presents a survey of
Use Case Modeling. Software Development Life Cycle Training. Use Case Modeling. Set A: Requirements Analysis Part 3: Use Case Modeling
Software Development Life Cycle Training Set A: Requirements Analysis Part 3: Use Case Modeling Use Case Modeling There are several ways to capture and organize software system requirements. The first
Roadmap. Software Engineering. Software Engineering. Project Life Cycle. Database. Project Lifecycle
Database Project Lifecycle Philippe Bonnet, 2006 2 Software Engineering The implementation of a database application is a significant engineering endeavor The project must complete On time On budget The
Case studies: Outline. Requirement Engineering. Case Study: Automated Banking System. UML and Case Studies ITNP090 - Object Oriented Software Design
I. Automated Banking System Case studies: Outline Requirements Engineering: OO and incremental software development 1. case study: withdraw money a. use cases b. identifying class/object (class diagram)
Introduction. Introduction. Software Engineering. Software Engineering. Software Process. Department of Computer Science 1
COMP209 Object Oriented Programming System Design Mark Hall Introduction So far we ve looked at techniques that aid in designing quality classes To implement a software system successfully requires planning,
Kirsten Sinclair SyntheSys Systems Engineers
Kirsten Sinclair SyntheSys Systems Engineers Kirsten Sinclair SyntheSys Systems Engineers Spicing-up IBM s Enterprise Architecture tools with Petri Nets On Today s Menu Appetiser: Background Starter: Use
Karunya University Dept. of Information Technology
PART A Questions 1. Mention any two software process models. 2. Define risk management. 3. What is a module? 4. What do you mean by requirement process? 5. Define integration testing. 6. State the main
Story Card Based Agile Software Development
Story Card Based Agile Software Development Chetankumar Patel, and Muthu Ramachandran Leeds Metropolitan University, UK [email protected] Abstract The use of story cards for user stories in many Extreme
Die Mobiliar Insurance Company AG, Switzerland Adaptability and Agile Business Practices
Die Mobiliar Insurance Company AG, Switzerland Adaptability and Agile Business Practices Nominated by ISIS Papyrus Software 1. EXECUTIVE SUMMARY / ABSTRACT The Swiss insurance company Die Mobiliar is the
Using TechExcel s DevSuite to Achieve FDA Software Validation Compliance For Medical Software Device Development
Using TechExcel s DevSuite to Achieve FDA Software Validation Compliance For Medical Software Device Development The FDA requires medical software development teams to comply with its standards for software
Industrial Adoption of Automatically Extracted GUI Models for Testing
Industrial Adoption of Automatically Extracted GUI Models for Testing Pekka Aho 1,2 [email protected], Matias Suarez 3 [email protected], Teemu Kanstrén 1,4 [email protected], and Atif M. Memon
Effective Business Requirements (Virtual Classroom Edition)
Developing & Confirming Effective Business Requirements (Virtual Classroom Edition) Eliminate Costly Changes and Save Time by Nailing Down the Project Requirements the First Time! Pre-Workshop Preparation
Software Engineering Reference Framework
Software Engineering Reference Framework Michel Chaudron, Jan Friso Groote, Kees van Hee, Kees Hemerik, Lou Somers, Tom Verhoeff. Department of Mathematics and Computer Science Eindhoven University of
A Variability Viewpoint for Enterprise Software Systems
2012 Joint Working Conference on Software Architecture & 6th European Conference on Software Architecture A Variability Viewpoint for Enterprise Software Systems Matthias Galster University of Groningen,
Umbrella: A New Component-Based Software Development Model
2009 International Conference on Computer Engineering and Applications IPCSIT vol.2 (2011) (2011) IACSIT Press, Singapore Umbrella: A New Component-Based Software Development Model Anurag Dixit and P.C.
Keywords Aspect-Oriented Modeling, Rule-based graph transformations, Aspect, pointcuts, crosscutting concerns.
Volume 4, Issue 5, May 2014 ISSN: 2277 128X International Journal of Advanced Research in Computer Science and Software Engineering Research Paper Available online at: www.ijarcsse.com Functional and Non-Functional
Listening to the Customer s Voice 1
Listening to the Customer s Voice 1 Karl E. Wiegers Process Impact 716-377-5110 www.processimpact.com Perhaps the greatest challenge facing the software developer is sharing the vision of the final product
Requirements Analysis that Works!
Requirements that Works! Robert Halligan, FIE Aust Managing Director, Project Performance International Email: rhalligan@ppi- int.com Introduction: Innumerable studies have concluded that requirements
Section C. Requirements Elicitation
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike License. Your use of this material constitutes acceptance of that license and the conditions of use of materials on this
Component visualization methods for large legacy software in C/C++
Annales Mathematicae et Informaticae 44 (2015) pp. 23 33 http://ami.ektf.hu Component visualization methods for large legacy software in C/C++ Máté Cserép a, Dániel Krupp b a Eötvös Loránd University [email protected]
10.1 Determining What the Client Needs. Determining What the Client Needs (contd) Determining What the Client Needs (contd)
Slide 10..1 CHAPTER 10 Slide 10..2 Object-Oriented and Classical Software Engineering REQUIREMENTS Seventh Edition, WCB/McGraw-Hill, 2007 Stephen R. Schach [email protected] Overview Slide 10..3
Business Process Modeling with Structured Scenarios
Business Process Modeling with Structured Scenarios Doug Rosenberg ICONIX Software Engineering, Inc. In 2008, based on our experience with a number of business process engineering projects over the last
Bidirectional Tracing of Requirements in Embedded Software Development
Bidirectional Tracing of Requirements in Embedded Software Development Barbara Draxler Fachbereich Informatik Universität Salzburg Abstract Nowadays, the increased complexity of embedded systems applications
Task-Model Driven Design of Adaptable Educational Hypermedia
Task-Model Driven Design of Adaptable Educational Hypermedia Huberta Kritzenberger, Michael Herczeg Institute for Multimedia and Interactive Systems University of Luebeck Seelandstr. 1a, D-23569 Luebeck,
Design Report: Resource Management Software CS400 Senior Design I
Design Report: Resource Management Software CS400 Senior Design I Mark Briggs Paul Knell John Schluechtermann Jeremy Vechinski Electrical Engineering and Computer Science Department Milwaukee School of
TECH. Requirements. Why are requirements important? The Requirements Process REQUIREMENTS ELICITATION AND ANALYSIS. Requirements vs.
CH04 Capturing the Requirements Understanding what the customers and users expect the system to do * The Requirements Process * Types of Requirements * Characteristics of Requirements * How to Express
Announcements. SE 1: Software Requirements Specification and Analysis. Review: Use Case Descriptions
Announcements SE 1: Software Requirements Specification and Analysis Lecture 4: Basic Notations Nancy Day, Davor Svetinović http://www.student.cs.uwaterloo.ca/ cs445/winter2006 uw.cs.cs445 Send your group
Use Cases. Massimo Felici. Massimo Felici Use Cases c 2004 2011
Use Cases Massimo Felici Use Cases 1 Support requirements engineering activities and the requirement process Capture what a system is supposed to do, i.e., systems functional requirements Describe sequences
UML-based Test Generation and Execution
UML-based Test Generation and Execution Jean Hartmann, Marlon Vieira, Herb Foster, Axel Ruder Siemens Corporate Research, Inc. 755 College Road East Princeton NJ 08540, USA [email protected] ABSTRACT
Goals and Scenarios to Software Product Lines: the GS2SPL Approach
Goals and Scenarios to Software Product Lines: the GS2SPL Approach Gabriela Guedes, Carla Silva, Jaelson Castro Centro de Informática Universidade Federal de Pernambuco (UFPE) CEP 50740-540, Recife/ PE
Architecture Centric Development in Software Product Lines
Architecture Centric Development in Software Product Lines Aurangzeb Khan DCE, College of E & ME National University of Science and Technology (NUST), Pakistan Farooque Azam DCE, College of E & ME National
A PRACTICAL APPROACH TO INCLUDE SECURITY IN SOFTWARE DEVELOPMENT
A PRACTICAL APPROACH TO INCLUDE SECURITY IN SOFTWARE DEVELOPMENT Chandramohan Muniraman, University of Houston-Victoria, [email protected] Meledath Damodaran, University of Houston-Victoria, [email protected]
Standard for Software Component Testing
Standard for Software Component Testing Working Draft 3.4 Date: 27 April 2001 produced by the British Computer Society Specialist Interest Group in Software Testing (BCS SIGIST) Copyright Notice This document
Software Engineering/Courses Description Introduction to Software Engineering Credit Hours: 3 Prerequisite: 0306211(Computer Programming 2).
0305203 0305280 0305301 0305302 Software Engineering/Courses Description Introduction to Software Engineering Prerequisite: 0306211(Computer Programming 2). This course introduces students to the problems
Menouer Boubekeur, Gregory Provan
Software Requirements Menouer Boubekeur, Gregory Provan Lectures Introduction to UML Introduction to Requirements Analysis Advanced techniques for Requirement Analysis M. Boubekeur, CSL, University College
In this Lecture you will Learn: Systems Development Methodologies. Why Methodology? Why Methodology?
In this Lecture you will Learn: Systems Development Methodologies What a systems development methodology is Why methodologies are used The need for different methodologies The main features of one methodology
Candle Plant process automation based on ABB 800xA Distributed Control Systems
Candle Plant process automation based on ABB 800xA Distributed Control Systems Yousef Iskandarani and Karina Nohammer Department of Engineering University of Agder Jon Lilletuns vei 9, 4879 Grimstad Norway
Software Requirements. Objectives
Software Requirements cmsc435-1 Objectives To introduce the concepts of user and system requirements To describe functional and non-functional requirements To explain how software requirements may be organized
Knowledge-based Approach in Information Systems Life Cycle and Information Systems Architecture
5 th Slovakian-Hungarian Joint Symposium on Applied Machine Intelligence and Informatics January 25-26, 2007 Poprad, Slovakia Knowledge-based Approach in Information Systems Life Cycle and Information
What is a requirement? Software Requirements. Descriptions and specifications of a system
What is a requirement? Software Requirements Descriptions and specifications of a system May range from a high-level abstract statement of a service or a statement of a system constraint to a detailed
Tool Support for Software Variability Management and Product Derivation in Software Product Lines
Tool Support for Software Variability Management and Product Derivation in Software s Hassan Gomaa 1, Michael E. Shin 2 1 Dept. of Information and Software Engineering, George Mason University, Fairfax,
Investigation of Adherence Degree of Agile Requirements Engineering Practices in Non-Agile Software Development Organizations
Investigation of Adherence Degree of Agile Requirements Engineering Practices in Non-Agile Software Development Organizations Mennatallah H. Ibrahim Department of Computers and Information Sciences Institute
Case Study: ATM machine I. Amalia Foka CEID - University of Patras Object Oriented Programming II (C++) Fall 2010-2011
Case Study: ATM machine I Amalia Foka CEID - University of Patras Object Oriented Programming II (C++) Fall 2010-2011 Requirements Document An ATM allows users to perform basic financial transactions view
UML SUPPORTED SOFTWARE DESIGN
UML SUPPORTED SOFTWARE DESIGN Darko Gvozdanović, Saša Dešić, Darko Huljenić Ericsson Nikola Tesla d.d., Krapinska 45, HR-0000 Zagreb, Croatia, tel.: +385 365 3889, faks: +385 365 3548, e-mail: [email protected]
Object-Oriented Systems Analysis and Design
Object-Oriented Systems Analysis and Design Noushin Ashrafi Professor of Information System University of Massachusetts-Boston Hessam Ashrafi Software Architect Pearson Education International CONTENTS
(BA122) Software Engineer s Workshop (SEW)
Training for the Business Analyst (BA122) Software Engineer s Workshop (SEW) Duration: 4 days CDUs (Continuing Development Units): 28 Description: A practical workshop covering the role of the Business-Systems
Swirl. Multiplayer Gaming Simplified. CS4512 Systems Analysis and Design. Assignment 1 2010. Marque Browne 0814547. Manuel Honegger - 0837997
1 Swirl Multiplayer Gaming Simplified CS4512 Systems Analysis and Design Assignment 1 2010 Marque Browne 0814547 Manuel Honegger - 0837997 Kieran O' Brien 0866946 2 BLANK MARKING SCHEME 3 TABLE OF CONTENTS
Using Use Cases on Agile Projects
Using Use Cases on Agile Projects Ivar Jacobson with Ian Spence Agenda What are agile teams looking for? Cards, conversations, and confirmations Knowing what to do and when it s done Being agile with use
Integrity 10. Curriculum Guide
Integrity 10 Curriculum Guide Live Classroom Curriculum Guide Integrity 10 Workflows and Documents Administration Training Integrity 10 SCM Administration Training Integrity 10 SCM Basic User Training
Classnotes 5: 1. Design and Information Flow A data flow diagram (DFD) is a graphical technique that is used to depict information flow, i.e.
Classnotes 5: 1. Design and Information Flow A data flow diagram (DFD) is a graphical technique that is used to depict information flow, i.e., a representation of information as a continuous flow that
The Unified Software Development Process
The Unified Software Development Process Technieche Universal Darmstadt FACHBEREICH IN-FORMAHK BLIOTHEK Ivar Jacobson Grady Booch James Rumbaugh Rational Software Corporation tnventar-nsr.: Sachgebiete:
