22
IBD Innovative Business Design – Build a better business IBD Innovative Business Design – Build a better business IBD Innovative Business Design – Build a better business IBD Innovative Business Design – Build a better business ModelDrivers.us How to industrialize testing How to industrialize testing modelDT

ModelDT: how to industrialize testing

Embed Size (px)

DESCRIPTION

In this presentation you will learn steps towards making your testing: - Correct - Scalable - Agile - Low cost

Citation preview

Page 1: ModelDT: how to industrialize testing

IBD Innovative Business Design – Build a better businessIBD Innovative Business Design – Build a better businessIBD Innovative Business Design – Build a better businessIBD Innovative Business Design – Build a better businessModelDrivers.us

How to industrialize testing

How to industrialize testing

modelDT

Page 2: ModelDT: how to industrialize testing

ModelDrivers.us

About Model Drivers

Model driven products for Reporting Testing Business strategy and cases Regulatory conformance Business architecture

Page 3: ModelDT: how to industrialize testing

ModelDrivers.us

You started out with nothing

In this testing story, you start out with nothing. You will take baby steps from nothing

to full industrial strength testing.

Page 4: ModelDT: how to industrialize testing

ModelDrivers.us

Why you want to take the testing journey?

Labour intensive: as many as 50% of the staff on a project are supporting testing in some way.

In-consistent: 2 different testers derive 2 different approaches to the same problem

Inefficient: By catching errors late in the process the remediation costs are much higher than when caught early in the process.

Fragmented: The project manager, developer, tester, end user each manage the testing effort from their own perspective, with their own tools and artefacts.

As a result Cost is high: Testing of business systems and application can be 50% of a

projects cost. Quality is low:

Page 5: ModelDT: how to industrialize testing

ModelDrivers.us

Step 1: You do some data modelling

A simple UML Class diagram

You get Quality requirements Automated specs

Auto generation

Page 6: ModelDT: how to industrialize testing

ModelDrivers.us

Step 2: You start to crawl with XML

Transform

You get Automated testing of data format Guaranteed alignment between

business domain and test

Schema validation

XML Schema

Class diagram

Page 7: ModelDT: how to industrialize testing

ModelDrivers.us

Step 3: You take your first step with OCL

You get Automated testing of

data related business rules

Guaranteed alignment between business domain and test

Page 8: ModelDT: how to industrialize testing

ModelDrivers.us

Step 4: Introduce meta model for the business domain

You get Consistency

between your business domains

Conformance to high level management concerns

Re-use within the business domain

Architect

Design

Build

Page 9: ModelDT: how to industrialize testing

ModelDrivers.us

Step 5: The meta model for testing

Architect

Design

Build

Page 10: ModelDT: how to industrialize testing

ModelDrivers.us

6 domains of the testing meta model

A. Test architecture: Testing meta model, business domain, testing package

B. Test package: SUT, test context, test components

C. Test configuration: Test cases, scheduler, arbiters, logs

D. Test case: Testing activity

E. Test data: Data pools, partitions, selectors,

F. Deployment: Nodes for SUT, Test components, Scheduler

Page 11: ModelDT: how to industrialize testing

ModelDrivers.us

A. Test architecture

Testing meta model Business domain Testing package

Page 12: ModelDT: how to industrialize testing

ModelDrivers.us

B. Test package

SUT Test context Test components

Page 13: ModelDT: how to industrialize testing

ModelDrivers.us

C. Test configuration

Test cases Scheduler Arbiters Logs

Page 14: ModelDT: how to industrialize testing

ModelDrivers.us

D. Test case

Testing activity

Page 15: ModelDT: how to industrialize testing

ModelDrivers.us

E. Test data

Data pools Partitions Selectors

Page 16: ModelDT: how to industrialize testing

ModelDrivers.us

F. Deployment

Nodes for SUT Test components Scheduler

Page 17: ModelDT: how to industrialize testing

ModelDrivers.us

Benefit 1: Automation e.g artefact generation

Test package design

Automated data testing

Quality testing framework

Automated test specifications

Automated test runners

Page 18: ModelDT: how to industrialize testing

ModelDrivers.us

Benefit 2: Guaranteed Business domain testing coverage

Business domain – use case and data entities

Test

com

pone

nts:

E.g

. te

st c

ase

Coverage of business domain By testing package

Page 19: ModelDT: how to industrialize testing

ModelDrivers.us

AutomatedTest Factory

Benefit 3: Business domain and testing in lockstep

Pro

cess

Dat

a

Data model

Process model

Page 20: ModelDT: how to industrialize testing

ModelDrivers.us

Our story today

You started out with nothing Step 1: You modelled business domain in

MagicDraw Step 2: Converted to XML Step 3: Overlaid with OCL and OCL

validation Step 4: Introduced meta model for the

business domain Step 5: Introduced meta model for testing Step 6: Built an automated test factory

100 year old “Fauja Singh becomes oldest marathon runner” BBC, 17 October 2011

Page 21: ModelDT: how to industrialize testing

ModelDrivers.us

modelDT plugin development roadmap

1.0 Base Domain Specific Language Test Case designs Business domain coverage reports End user help, manual, training

1.1 Extended DSL Extended analysis reports

2.0 Test script outputs – Junit, Quality Centre, etc Methodology wizards Domain specific patterns and models

3.0 Synthetic test data generation Risk modelling and management

Page 22: ModelDT: how to industrialize testing

IBD Innovative Business Design – Build a better businessIBD Innovative Business Design – Build a better businessIBD Innovative Business Design – Build a better businessIBD Innovative Business Design – Build a better businessModelDrivers.us

Next steps

• Demonstration: Attend a short web presentation and explore any aspect of Model Driven Testing.

• White paper: Request a copy of “Roadmap to industrialised testing”.

• Questions: Greg Soulsby http://uk.linkedin.com/in/gregsoulsby

• Twitter: @modelDT, @modelDrivers• Youtube: modelDrivenTesting• 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