Model-Driven Testing: Using the UML Testing Profile / Edition 1

Hardcover (Print)
Buy New
Buy New from BN.com
$58.60
Used and New from Other Sellers
Used and New from Other Sellers
from $44.87
Usually ships in 1-2 business days
(Save 35%)
Other sellers (Hardcover)
  • All (7) from $44.87   
  • New (5) from $44.87   
  • Used (2) from $91.55   

Overview

Model-driven development has become the most important new paradigm in software development and has already demonstrated considerable impact in reducing time to market and improving product quality. However, the development of high-quality systems not only requires systematic development processes but also systematic test processes. This book is about systematic, model-driven test processes in the context of UML. As UML provides only limited means for the design and development of test artifacts, a consortium was formed by the Object Management Group (OMG) to develop a UML profile for model-driven testing - the UML Testing Profile (UTP), an official OMG standard since 2005.

Written by the original members of this standardization group, this book shows you how to use UML to test complex software systems. The authors introduce UTP step-by-step, using a case study that illustrates how UTP can be used for test modeling and test specification. You'll learn how UTP concepts can be used for functional and non-functional testing, with example applications and best practices for user-interfaces and service oriented architectures. In addition, the authors demonstrate how to apply UTP using frameworks like TTCN-3 and the JUnit test framework for Java. This book is the definitive reference for the only UML-based test specification language, written by the creators of that language. It is supported by an Internet site that provides information on the latest tools and uses of the profile.

Features & Benefits: Learn from its creators how to apply the UML Testing Profile for test modeling and test specification, See how model-driven testing works with UML, Experience best practices in the use ofUML for different aspects of testing, Understand the automated execution of UML-based tests with existing test frameworks like JUnit and TTCN-3, Find additional online material at http://utp.omg.org/.

About the Author:
Paul Baker is Corporate Portfolio Manager for Testing Technologies of Motorola's European System and Software Engineering Research Laboratory

About the Author:
Zhen Ru Dai is Senior Researcher at the Fraunhofer Institute for Open Communication Systems (FOKUS)

About the Author:
Jens Grabowski is Professor for Applied Computer Science in Gottingen

About the Author:
Oystein Haugen is a Senior Researcher at SINTEF and Associate Professor at University of Oslo

About the Author:
Ina Schieferdecker is Professor at the TU Berlin and also heads the research group on modeling and testing at the Fraunhofer Institute for Open Communication Systems (FOKUS)

About the Author:
Clay Williams is the Manager of the Software Quality and Testing Research Group at the IBM T.J. Watson Research Center

Read More Show Less

Editorial Reviews

From the Publisher
"Little has been written on how testing should be handled in model-driven software development. This book provides an excellent overview of how UML can be used for test specification and testing. It provides practical examples of applying the UML testing profile for different applications of testing throughout the development process." - Thomas Weigert, Motorola, Schaumburg, IL , USA

"This book does an admirable job of integrating the concepts of modeling and testing, and leverages the latest standards and technologies to help you make your software testing regime and process better, faster, and cheaper." - from the Foreword by Richard Mark Soley, Chairman and CEO, OMG, Needham, MA, USA

Read More Show Less

Product Details

  • ISBN-13: 9783540725626
  • Publisher: Springer Berlin Heidelberg
  • Publication date: 11/8/2007
  • Edition description: 2008
  • Edition number: 1
  • Pages: 184
  • Product dimensions: 6.10 (w) x 9.30 (h) x 0.60 (d)

Meet the Author

Paul Baker is Corporate Portfolio Manager for Testing Technologies of Motorola’s
European System and Software Engineering Research Laboratory.

Zhen Ru Dai is Senior Researcher at the Fraunhofer Institute for Open Communication Systems (FOKUS) with special research interests on system modeling and testing.

Jens Grabowski is Professor for Applied Computer Science in Göttingen, where he heads a research group on Software Engineering for Distributed Systems.

Øystein Haugen has been involved in standardizing specification and design languages since 1989. He is a Senior Researcher at Sintef and Associate Professor at University of Oslo

Ina Schieferdecker is Professor at the TU Berlin and also heads the research group on modeling and testing at the Fraunhofer Institute for Open Communication Systems (FOKUS).

Clay Williams is the Manager of the Software Quality and Testing Research Group at the IBM T.J. Watson Research Center.

Read More Show Less

Table of Contents


Introduction     1
Foundations
Model-Based Testing     7
The Software Development Process     7
UML and UTP in System Development     9
Model-Based Test Development     11
Black-Box Testing Approaches     11
White-Box Testing Approaches     12
Automatic Test Generation     12
Basics     15
UML Overview     15
Introduction to Class Models     15
Introduction to Use Cases     18
Introduction to Sequence Diagrams     20
Introduction to State Machines     25
Introduction to Activities     27
UTP Overview     29
Library Example Introduction     35
What Is a Library?     35
What Is Inside a Library?     44
Testing a Library     45
Functional Testing
Overview     49
Unit Level Testing     51
UTP and Unit Level Testing     51
State Machines     55
Interactions     55
Activity Diagrams     59
Chapter Summary     60
Component and Integration Level Testing     63
Integration Strategies and Integration Level Testing     64
Test Configuration, Test Components, and Emulators     65
UTP and Integration Level Testing     66
Chapter Summary     69
System and Acceptance Level Testing     71
UTP and System Level Testing     72
Use Cases     73
Chapter Summary     81
Advanced Testing Concerns
Overview     85
Data-Driven Testing     87
UTP and Data-Driven Testing     87
Value Specification     87
Parameterization of Tests and Data Pools     91
Encoding and Decoding of Data     95
Chapter Summary     95
Real-Time and Performance Testing     97
Real-Time Testing Concerns     98
UTP and Real-Time Testing     99
Hard Real-Time Concerns     99
Soft Real-Time Concerns     103
Performance Testing Concerns     106
UTP and Performance Testing     109
Summary     110
Applications of UTP
Overview     115
User-Interface Testing     117
Issues in User-Interface Testing     117
Planning UI Test Activities     118
User Interface Context     119
Logical Aspects     119
Physical Aspects     119
Localization Aspects     119
UTP and User-Interface Testing     120
Test Context and Configuration     120
Using Interaction Diagrams     123
Usability Testing     123
Chapter Summary     124
Testing Service-Oriented Architecture Applications     125
Service-Oriented Architecture Overview     125
Service Orientation: Basic Concepts     125
Testing Concerns for SOA     132
UTP Test Specification for SOA Applications     134
Testing Individual Web Services     134
Testing Business Processes     136
Conclusion     140
Tools
Tool Frameworks and Examples     143
Kinds of UTP Tools     143
Tool Interoperability     146
Executable UTP     147
Test Execution with JUnit     149
JUnit 4.0 Fundamentals     150
Annotations: A New Foundation for JUnit     150
Test Methods     150
Set up and Tear down     151
Assertions     151
Test Method Annotations     152
UTP to JUnit Mapping     152
UTP to JUnit Example     154
Conclusion     156
Test Execution with TTCN-3     157
Fundamentals of TTCN-3     157
Modules and Test Cases     159
Types and Values     159
Test Components and Test Behavior     160
UTP and TTCN-3 Relationship     160
UTP to TTCN-3 Mapping     160
UTP to TTCN-3 Example     161
Executing UTP Specifications via TTCN-3 Test Platforms     167
Representing TTCN-3 Test Suites by UTP     167
Conclusion     168
Appendixes
A UTP Reference Guide     171
Acronyms     175
References     177
Index     181
Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)