2009-09-17 karl-heinz kühnlein conquest 2009: experiences with model centric testing in...

23
2009-09-17 Karl-Heinz Kühnlein Conquest 2009: Experiences with model centric Testing in Standard-based Medical IT Environments Test Management Aspects in UTP MBT User Conference 2011 Dr. Armin Metzger sepp.med gmbh

Upload: antonia-bonsall

Post on 29-Mar-2015

215 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: 2009-09-17 Karl-Heinz Kühnlein Conquest 2009: Experiences with model centric Testing in Standard-based Medical IT Environments Test Management Aspects

2009-09-17Karl-Heinz Kühnlein

Conquest 2009: Experiences with model centric Testing in Standard-based Medical IT

Environments

Test Management Aspects in UTP

MBT User Conference 2011Dr. Armin Metzger

sepp.med gmbh

Page 2: 2009-09-17 Karl-Heinz Kühnlein Conquest 2009: Experiences with model centric Testing in Standard-based Medical IT Environments Test Management Aspects

18.10.2011Dr. Armin Metzger

MBT UC 2011:Test Management Aspects in UTP

sepp.med IT service providerFor more than 30 yearsCurrent headcount: approx. 120

Safety relevant and regulated EnvironmentsMedical, PharmaAutomotive, Embedded…

Complex DomainsWorkflows & Business ProcessesDistributed DevelopmentProducs / Systems with many SubcomponentsProduct Families, System Engineering

sepp.med gmbh

2

Page 3: 2009-09-17 Karl-Heinz Kühnlein Conquest 2009: Experiences with model centric Testing in Standard-based Medical IT Environments Test Management Aspects

18.10.2011Dr. Armin Metzger

MBT UC 2011:Test Management Aspects in UTP

Agenda

Motivation: Test Process and Test

Management

Improving UTP Test Management Coverage

Future Developments

3

Page 4: 2009-09-17 Karl-Heinz Kühnlein Conquest 2009: Experiences with model centric Testing in Standard-based Medical IT Environments Test Management Aspects

18.10.2011Dr. Armin Metzger

MBT UC 2011:Test Management Aspects in UTP

TestManagement

Test Process and Test Management

Infrastructure &Training

Use Cases

CustomerWorkflows

Tester‘sMindset

ManualTest Cases

TestAutomation

Priorization,Safety

Relevance...

Pro

cesses a

nd

Tool

Ch

ain

Tracing

TestExecution

FunctionalRequire-ments

ChangeRequests

Test Designe.g. UTP based

Regulated Environment

4

Regulations

Efficiency

Product Quality

Configuration&Variant

ManagementTest Data

Page 5: 2009-09-17 Karl-Heinz Kühnlein Conquest 2009: Experiences with model centric Testing in Standard-based Medical IT Environments Test Management Aspects

18.10.2011Dr. Armin Metzger

MBT UC 2011:Test Management Aspects in UTP

Test Management and Test Documentation

Test Plan

Test Design Specification

Test Case Specification

Test Execution

Test Log

Test Report

Incident Logging

Test Design Specification

Test Case Specification

Test Log

5

Page 6: 2009-09-17 Karl-Heinz Kühnlein Conquest 2009: Experiences with model centric Testing in Standard-based Medical IT Environments Test Management Aspects

18.10.2011Dr. Armin Metzger

MBT UC 2011:Test Management Aspects in UTP

A Real World Test ProcessA Pre-UTP Example around the TestCase

ProjectScope

TestEnvironment

testEnvironmentDescription

ProductRequirement

requirementTag

ManualTestScript

nameversionpreconditiongoalversionDatereviewDateRevId

TestStep

tSstateInputnoteexpectedResultexpResultFile

0..n0..n

<<extend>>

0..n0..n

11..n

<<extend>>

11..n

TestCase

testCaseNamereferencestesterQualificationopenIssuestestDatainputDataapplicationScreenshotsexaminationImagestablesadditionalInformationversionDateexecutionDurationaddPlanningInfoversionreviewDateRevIdpreconditionpostcondition

1..n0..n

1..n0..n

<<extend>>1..n

0..*

1..n

0..*<<extend>>

1..n

0..n

1..n

0..n

<<extend>>

1

0..1

1

0..1

<<extend>>

6

Page 7: 2009-09-17 Karl-Heinz Kühnlein Conquest 2009: Experiences with model centric Testing in Standard-based Medical IT Environments Test Management Aspects

18.10.2011Dr. Armin Metzger

MBT UC 2011:Test Management Aspects in UTP

A Real World Test ProcessA Pre-UTP Example around the TestSpec

7

Page 8: 2009-09-17 Karl-Heinz Kühnlein Conquest 2009: Experiences with model centric Testing in Standard-based Medical IT Environments Test Management Aspects

18.10.2011Dr. Armin Metzger

MBT UC 2011:Test Management Aspects in UTP

Resource planning and management Tester Test Environment SuT

Test case selection (-> essential!) Time & resource constraints Test topics, test quality and coverage Priority, criticality

Audit trail provision, review and release Who? When? What?

Test Management: Steering and controlling the test process

8

Page 9: 2009-09-17 Karl-Heinz Kühnlein Conquest 2009: Experiences with model centric Testing in Standard-based Medical IT Environments Test Management Aspects

18.10.2011Dr. Armin Metzger

MBT UC 2011:Test Management Aspects in UTP

In principle, everything required by TM can be covered

But: explicite definitions and explicite specificationLeads the user

Forces common understanding

Forces common approach

Thus, makes it easier to apply TM with UTP based MBT concepts

Test Management in UTP

9

Page 10: 2009-09-17 Karl-Heinz Kühnlein Conquest 2009: Experiences with model centric Testing in Standard-based Medical IT Environments Test Management Aspects

18.10.2011Dr. Armin Metzger

MBT UC 2011:Test Management Aspects in UTP

Agenda

Motivation: Test Process and Test Management

Improving UTP Test Management

Coverage

Future Developments

10

Page 11: 2009-09-17 Karl-Heinz Kühnlein Conquest 2009: Experiences with model centric Testing in Standard-based Medical IT Environments Test Management Aspects

18.10.2011Dr. Armin Metzger

MBT UC 2011:Test Management Aspects in UTP

Idea: Provide test management with the required

information Using UTP

Goal: Wider integration of UTP models into test

management driven test process For both manual and tool based test

management processes

Formal basis: E.g. IEEE 829: Contents of test plans and

designs

RTF UTP Issue 15913:“Test Management should be supported”

11

Page 12: 2009-09-17 Karl-Heinz Kühnlein Conquest 2009: Experiences with model centric Testing in Standard-based Medical IT Environments Test Management Aspects

18.10.2011Dr. Armin Metzger

MBT UC 2011:Test Management Aspects in UTP

What does this mean? Examples: A test case attribute “priority” in the model

can be used, to include the design of prioritized test sets within the model used for stakeholder review and later for test suite management in the test management tool used.

Explicite tags for requirements as model attributes to test cases enable a traceable and efficient requirements based test design with UTP models and can be used as a basis for tool interfaces / synchronization tools between requirements engineering and test design.

Issue 15913:“Test Management should be supported”

12

Page 13: 2009-09-17 Karl-Heinz Kühnlein Conquest 2009: Experiences with model centric Testing in Standard-based Medical IT Environments Test Management Aspects

18.10.2011Dr. Armin Metzger

MBT UC 2011:Test Management Aspects in UTP

Approaching the challenge: defined a common set of important attributes

which are reusable for a lot of test management aspects (like version, description…)

New stereotype called ManagedElement Grouping the new attribute set

Add test-specific attributes directly into existing concepts Enable them for test management purposes

Issue 15913:“Test Management should be supported”

13

Page 14: 2009-09-17 Karl-Heinz Kühnlein Conquest 2009: Experiences with model centric Testing in Standard-based Medical IT Environments Test Management Aspects

18.10.2011Dr. Armin Metzger

MBT UC 2011:Test Management Aspects in UTP

Provide additional information: Owner Description Version Criticality

Used with other stereotypes

Expresses e.g. test context information

Test Management Concepts in UTP 1.1:ManagedElement

14

Page 15: 2009-09-17 Karl-Heinz Kühnlein Conquest 2009: Experiences with model centric Testing in Standard-based Medical IT Environments Test Management Aspects

18.10.2011Dr. Armin Metzger

MBT UC 2011:Test Management Aspects in UTP

Test Management Concepts in UTP 1.1:TestComponent

15

Extention of the TestComponent: timezone SUT version SUT variant

Used for listing compatible versions and variants (e.g. configs) of the system under test

Page 16: 2009-09-17 Karl-Heinz Kühnlein Conquest 2009: Experiences with model centric Testing in Standard-based Medical IT Environments Test Management Aspects

18.10.2011Dr. Armin Metzger

MBT UC 2011:Test Management Aspects in UTP

Describes the dependencies of the test with regard to SUT version and variant Level (type, goal) of the test a test case is

executed in

Test Management Concepts in UTP 1.1:TestContext

16

Page 17: 2009-09-17 Karl-Heinz Kühnlein Conquest 2009: Experiences with model centric Testing in Standard-based Medical IT Environments Test Management Aspects

18.10.2011Dr. Armin Metzger

MBT UC 2011:Test Management Aspects in UTP

Fields are added allowing the definition of Compatible SUT

versions and variants A value (priority)

allowing the prioritization of a test case for Review planing Test execution ...

Test Management Concepts in UTP 1.1:TestCase

17

Page 18: 2009-09-17 Karl-Heinz Kühnlein Conquest 2009: Experiences with model centric Testing in Standard-based Medical IT Environments Test Management Aspects

18.10.2011Dr. Armin Metzger

MBT UC 2011:Test Management Aspects in UTP

The TestLog now has fields defining The tester (ID)

executing a test Time of execution Execution time

(may be used for future test scheduling)

Result of the arbiters decision and

the rationale for it Identification of the

used system under test

Test Management Concepts in UTP 1.1:TestLog

18

Page 19: 2009-09-17 Karl-Heinz Kühnlein Conquest 2009: Experiences with model centric Testing in Standard-based Medical IT Environments Test Management Aspects

18.10.2011Dr. Armin Metzger

MBT UC 2011:Test Management Aspects in UTP

Extends the 1.0 TestObjective by adding a field priority: Allows the

comparison / ordering of objectives

May be used e.g. for prioritization in Review planing Test execution ...

Test Management Concepts in UTP 1.1:TestObjective

19

Page 20: 2009-09-17 Karl-Heinz Kühnlein Conquest 2009: Experiences with model centric Testing in Standard-based Medical IT Environments Test Management Aspects

18.10.2011Dr. Armin Metzger

MBT UC 2011:Test Management Aspects in UTP

TBD

Test Management Concepts in UTP 1.1:An Example

20

Page 21: 2009-09-17 Karl-Heinz Kühnlein Conquest 2009: Experiences with model centric Testing in Standard-based Medical IT Environments Test Management Aspects

18.10.2011Dr. Armin Metzger

MBT UC 2011:Test Management Aspects in UTP

Agenda

Motivation: Test Process and Test Management

Improving UTP Test Management Coverage

Future Developments

21

Page 22: 2009-09-17 Karl-Heinz Kühnlein Conquest 2009: Experiences with model centric Testing in Standard-based Medical IT Environments Test Management Aspects

18.10.2011Dr. Armin Metzger

MBT UC 2011:Test Management Aspects in UTP

Next Steps: Explicit Test Scheduling

Scheduling is an integral part of test management

Based on: Resource usage “Special requirements” Prioritization Test case interdependencies …

Current UTP specification allows model element assignementRule set is missing (issue no. 15914)

Page 23: 2009-09-17 Karl-Heinz Kühnlein Conquest 2009: Experiences with model centric Testing in Standard-based Medical IT Environments Test Management Aspects

18.10.2011Dr. Armin Metzger

MBT UC 2011:Test Management Aspects in UTP

Conclusion and future developments

Managing testing is essential in todays complex development processes

For the uptake of the UML Testing Profile the inclusion of test management aspects is essential

Therefore we must continue to improve UTP to allow a seamless and beneficial integration of test models into current management processes and tooling environments!

UTP 1.1: In Principle we are one Step further nowBut: there still is Room for Improvement