24
The UML Testing Profile and its opportunity

Model Drivers: The testing profile and its opportunity 2013-09-01

Embed Size (px)

DESCRIPTION

The UML Testing Profile is a language which you can use to describe your testing and conformance design and strategy. Fast and accurate build of tests: Its structure enables you to auto-generate tests for your business processes and systems. You know your testing and conformance is correct to the design. Tests guaranteed to match business requirements: If you also have the design of your business domain described you can ensure your tests are in lockstep with your business systems etc. Change one and the change ripples through to the other.

Citation preview

Page 1: Model Drivers: The testing profile and its opportunity 2013-09-01

The UML Testing Profile and its opportunity

Page 2: Model Drivers: The testing profile and its opportunity 2013-09-01

The testing profile and its opportunity

2

About Model Drivers

Business model industrialization.

Model driven products and services: •Reporting•Testing•Regulatory conformance•Business strategy and business cases•Business architecture•Systems delivery

2013-09

Page 3: Model Drivers: The testing profile and its opportunity 2013-09-01

The testing profile and its opportunity

3

Agenda

2013-09

A.The testing landscape and its gapsB.What is the UML Testing Profile?C.Steps to exploiting the opportunity of UTPD.Further reading

Page 4: Model Drivers: The testing profile and its opportunity 2013-09-01

How to industrialize testing4

A: The testing landscape and its gaps

The development process is putting testing at the front

There are many tools supporting the testing domainBut the tools don’t talk to each other

2013-09

Page 5: Model Drivers: The testing profile and its opportunity 2013-09-01

How to industrialize testing5

The development process is putting testing at the front

• In the agile, Behaviour Driven Development, continuous delivery paradigms, test design comes before development.

• … therefore.. testing is even more closely integrate with business requirements

2013-09

User story Test case

Develop

Production

Backlog

User

Test result

Page 6: Model Drivers: The testing profile and its opportunity 2013-09-01

The testing profile and its opportunity

6

There are many tools supporting the testing domain

• Testing is supported by many tools

• It has to be because testing's scope is 100% wide

• Many of the tools are excellent, with long, successful histories and wide adoption

2013-09

Quality Center

Auto testing of business rules

Behaviour driven testing

Testing environmentvirtualisation

Requirements management, test management

MD Testing specifications

Continuous testing and integration

MS Excel everywhere!

Page 7: Model Drivers: The testing profile and its opportunity 2013-09-01

How to industrialize testing7

But there is a problem

2013-09

Project manager

User

Test environment

Test data

Unit test

Operating model /Business process

Risk management

Test plan

Test result

User AcceptanceTest

User story Test runner

DatabaseTester Programmer

Test caseSystem Under

Test

The tools do not talk to each other

Page 8: Model Drivers: The testing profile and its opportunity 2013-09-01

The testing profile and its opportunity

8

B: What is the UML Testing Profile?

The UTP is the implementation of an idea – design and build are 2 different things

The UTP is a holistic, logical, design view of testingIt describes testing in 6 domains

2013-09

Page 9: Model Drivers: The testing profile and its opportunity 2013-09-01

The testing profile and its opportunity

9

UTP is the implementation of an idea – design and build are 2 different things

2013-09

Architect

Design

Build

Strategy and design are

specific tasks

Building and executing are

separate concerns

Page 10: Model Drivers: The testing profile and its opportunity 2013-09-01

How to industrialize testing10

UML Testing Profile is a language for describing and designing testing

Architect

Design

Build

2013-09

The language describes 100%

of testing

Page 11: Model Drivers: The testing profile and its opportunity 2013-09-01

How to industrialize testing11

The UML Testing Profile describes testing in 6 domains

2013-09

Test architecture: Testing meta model, business domain, testing packageTest package: SUT, test context, test componentsTest configuration: Test cases, scheduler, arbiters, logsTest case: Testing activity

Test data: Data pools, partitions, selectors Deployment: Nodes for SUT, Test components, Scheduler

Page 12: Model Drivers: The testing profile and its opportunity 2013-09-01

The testing profile and its opportunity

12

a) Test architecture

•Testing meta model•Business domain•Testing package

2013-09

Page 13: Model Drivers: The testing profile and its opportunity 2013-09-01

The testing profile and its opportunity

13

b) Test package

•SUT•Test context•Test components

2013-09

Page 14: Model Drivers: The testing profile and its opportunity 2013-09-01

The testing profile and its opportunity

14

c) Test configuration

•Test cases•Scheduler•Arbiters•Logs

2013-09

Page 15: Model Drivers: The testing profile and its opportunity 2013-09-01

The testing profile and its opportunity

15

d) Test case

•Testing activity

2013-09

Page 16: Model Drivers: The testing profile and its opportunity 2013-09-01

The testing profile and its opportunity

16

e) Test data

•Data pools•Partitions•Selectors

2013-09

Page 17: Model Drivers: The testing profile and its opportunity 2013-09-01

The testing profile and its opportunity

17

f) Deployment

• Nodes for System Under Test

•Test components•Scheduler

2013-09

Page 18: Model Drivers: The testing profile and its opportunity 2013-09-01

The testing profile and its opportunity

18

C: Steps to exploiting the opportunity of UTP

1) Adopt the mental model2) Architect your testing3) Adopt the language4) Industrialize your testing process

2013-09

Page 19: Model Drivers: The testing profile and its opportunity 2013-09-01

The testing profile and its opportunity

19

1) Adopt the mental model

2013-09

Architect

Design

BuildTesting analysis and design is

supported with the right language and mental models

Separation of concerns with each concern well

managed.

Page 20: Model Drivers: The testing profile and its opportunity 2013-09-01

The testing profile and its opportunity

20

2) Architect your testing

•Break your testing domain into standardized packages

2013-09

Page 21: Model Drivers: The testing profile and its opportunity 2013-09-01

The testing profile and its opportunity

21

3) Adopt the language

2013-09

Page 22: Model Drivers: The testing profile and its opportunity 2013-09-01

The testing profile and its opportunity

22

4) Industrialize your testing process

Implement the big ideas of Testing Industrialization• Big idea 1: Industrialise the understand of your business• Big idea 2: Industrialise the design of your testing

ecosystem• Big idea 3: Overlay your business understanding with your

testing requirements• Big idea 4: Drive testing through automation and tooling

See the presentation “How to industrialize software testing”

2013-09

Page 23: Model Drivers: The testing profile and its opportunity 2013-09-01

The testing profile and its opportunity

23

D: Summary and further reading

The UML Testing Profile: - Gives control to management - Guarantees test coverage of the business domain - Automates testing processes - Enables industrialization

2013-09

Page 24: Model Drivers: The testing profile and its opportunity 2013-09-01

The testing profile and its opportunity

24

Next steps

• Reading: “How to industrialize software testing”• White paper: Request a copy of “Roadmap to industrialised

testing”. • UML Testing Profile: The standard http://utp.omg.org/• Demonstration: Attend a short web presentation and explore

any aspect of Model Driven Testing.• Questions: Greg Soulsby http://uk.linkedin.com/in/gregsoulsby

• Twitter: @modelDrivers• Youtube: modelDrivers• Linked in group: www.linkedin.com/groups/Model-drivers-4341672/

• Blog: http://blog.modeldrivers.us/• Site: www.modelDrivers.us• Plugin beta: Get the benefits with free support & contribute

to direction

2013-09