System Testing from UML - Swanseacsmarkus/15_project/15_11_sample1_Gregynog_talk.pdf · Unified...

Post on 09-Feb-2019

217 views 0 download

Transcript of System Testing from UML - Swanseacsmarkus/15_project/15_11_sample1_Gregynog_talk.pdf · Unified...

System Testing from UML

Thomas Werner

Gregynog 2015

Thomas Werner, System Testing from UML 2015

1

Contents

• What is UML?

• The Project

• From UML to Test Suites

• Project Progression

Thomas Werner, System Testing from UML 2015

2

UML

Thomas Werner, System Testing from UML 2015

3

Unified Modeling Language (UML)

• Governed by the Object Management Group (OMG).

• Visualises structure and interactions of a system.

• Used with object-oriented languages such as Java.

• Consists of various diagram types for different purposes.

Thomas Werner, System Testing from UML 2015

4

UML Diagram Types

Class Diagram Activity Diagram

Use Case Diagram

Package Diagram

Sequence Diagram

and more..

State Machine

Thomas Werner, System Testing from UML 2015

5

The Project

Thomas Werner, System Testing from UML 2015

6

The Project

Implement and evaluate systematic methods of deriving test suites from UML diagram types.

Thomas Werner, System Testing from UML 2015

7

To accomplish this: • Design a system (Requirements and Specification). • Implement the system in java. • Generate different UML diagram types. • Explore methods of generating test suites. • Evaluate the approaches.

AIM:

Project UML

Thomas Werner, System Testing from UML 2015

8

Diagram Variance

Thomas Werner, System Testing from UML 2015

9

UML diagrams can display different levels of information about the system at different levels of abstraction.

The variance allows for significantly different methods of generating test suites.

From UML to Test Suites

Thomas Werner, System Testing from UML 2015

10

From UML to Test Suites

• Existing literature details numerous methods.

• Possible to explore different approaches to the same diagram type.

• The approach should be abstract from the specific system where possible.

• Test suites should be independent to allow for comparison.

Thomas Werner, System Testing from UML 2015

11

UML Diagram Generation method Individual Test Suite

Generation methodology

Thomas Werner, System Testing from UML 2015

12

Log in(username).Add Book(bookName).Remove Book(bookName).

Inclusion of sequence in test suite

Project Progression

Thomas Werner, System Testing from UML 2015

13

Project Progression

First Term focus:

• System Requirements, Specification

• Implementation

• Beginning of UML diagram formation

Thomas Werner, System Testing from UML 2015

14

Next Term focus:

• Completion of system (including UML diagrams)

• Derivation of Test Suites

• Test Suite evaluation

Closing Thoughts

Thomas Werner, System Testing from UML 2015

15

Thank you for listening,

• http://www.uml.org/

• L.Briand, Y.Labiche, A UML-Based Approach to System Testing. Carleton University Technical Report SCE-01-01, version 4, 2002.

Thomas Werner, System Testing from UML 2015

16