44
1 FU Berlin, Kolloqium, Febr, 2008 Test the test A review and outlook of quality assurance techniques for software-intense communication-based systems Ina Schieferdecker Ina Schieferdecker TU Berlin/Fraunhofer FOKUS, Berlin, Germany TU Berlin/Fraunhofer FOKUS, Berlin, Germany

Test the test · Development of Software-Intense Systems: Current Situation The percentage of successful IT projects is again dropping: Severity of errors depends on the phase where

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Test the test · Development of Software-Intense Systems: Current Situation The percentage of successful IT projects is again dropping: Severity of errors depends on the phase where

1FU Berlin, Kolloqium, Febr, 2008

Test the test A review and outlook of quality assurance

techniques for software-intense communication-based systems

Ina SchieferdeckerIna SchieferdeckerTU Berlin/Fraunhofer FOKUS, Berlin, GermanyTU Berlin/Fraunhofer FOKUS, Berlin, Germany

Page 2: Test the test · Development of Software-Intense Systems: Current Situation The percentage of successful IT projects is again dropping: Severity of errors depends on the phase where

2FU Berlin, Kolloqium, Febr, 2008

Development of Software-Intense Systems: Current Situation

The percentage of successful IT projects is again dropping:

Severity of errors depends on the phase where they’re made

Defect correction effort

Context Test Models Test the Test Other Issues Summary

Page 3: Test the test · Development of Software-Intense Systems: Current Situation The percentage of successful IT projects is again dropping: Severity of errors depends on the phase where

3FU Berlin, Kolloqium, Febr, 2008

System and Test system

Although programmers, testers and program managers know that code must be designed and tested,

many appear to be unaware that tests themselves must be designed and tested –

by a process no less rigorous and no less controlled than that used for code.

Boris Beizer

Context Test Models Test the Test Other Issues Summary

Page 4: Test the test · Development of Software-Intense Systems: Current Situation The percentage of successful IT projects is again dropping: Severity of errors depends on the phase where

4FU Berlin, Kolloqium, Febr, 2008

Model-Driven Engineering

Requirements

FunctionalSystem Design

TechnicalSystem Design

ModuleSpecification

ImplementationSoftware/Hardware

Open Issues

• Heterogeneity of models

• Model management

• Models at runtime

• Model-based testing

• Model quality

• ...

• Models as central artefacts

• Precise meaning

• Automation of engineering steps

!! !! !!

Context Test Models Test the Test Other Issues Summary

Page 5: Test the test · Development of Software-Intense Systems: Current Situation The percentage of successful IT projects is again dropping: Severity of errors depends on the phase where

5FU Berlin, Kolloqium, Febr, 2008

Placement of My Work

AnalysisAnalysisRequirementsRequirements

DesignDesignArchitectureArchitecture

SpecificationSpecificationModelsModels

ImplementationImplementationCodeCode

IntegrationIntegrationSub)System(Sub)System

AcceptanceOpenation&Maint.Deployable ProductiveSystemSystem

Today ’s testing

TestTestObjectivesObjectives

TestTestDesignDesign

Unit/CompUnit/Comp..TestsTests

Integr./SysIntegr./Sys. . TestsTests

AuditingAuditingSupervisionSupervision

TestTestModelModel

Model-driven/Model-based testing

• Integrated Development and Testing• Early and continuous consideration of

test aspects

Online tests

Context Test Models Test the Test Other Issues Summary

Page 6: Test the test · Development of Software-Intense Systems: Current Situation The percentage of successful IT projects is again dropping: Severity of errors depends on the phase where

6FU Berlin, Kolloqium, Febr, 2008

Systemmodel

Testmodel

Requirements

System

represents

realizes

Testsystem

represents

realizes

validates validates

represents

realizes

represents

realizes

realizes realizes

represents representsvalidates validates

The role of test modelsContext Test Models Test the Test Other Issues Summary

Page 7: Test the test · Development of Software-Intense Systems: Current Situation The percentage of successful IT projects is again dropping: Severity of errors depends on the phase where

7FU Berlin, Kolloqium, Febr, 2008

Model-Based Test Generation

Systemmodel

Testmodel

Requirements

System Testsystem

Testmodel

Test models enable

• objective test procedures

• test reuse

• test quality assessment, and

• technology-independence.

Context Test Models Test the Test Other Issues Summary

Page 8: Test the test · Development of Software-Intense Systems: Current Situation The percentage of successful IT projects is again dropping: Severity of errors depends on the phase where

8FU Berlin, Kolloqium, Febr, 2008

Issues – the full spectrum of system engineering

Model the testsConceptsLanguages

Test the testsCorrectnessConsistencyCoverage Quality

Generate the testsTransformationsTest pattern

Execute the testsPlatformAdapters

Deploy the testsDistribution

Optimize the testsPerformance

Manage the testsProcessesVariants

...

Context Test Models Test the Test Other Issues Summary

Page 9: Test the test · Development of Software-Intense Systems: Current Situation The percentage of successful IT projects is again dropping: Severity of errors depends on the phase where

9FU Berlin, Kolloqium, Febr, 2008

Ina Schieferdecker Co-Founder of Testing Technologies, Berlinhttp://www.testingtech.de

MyselfProf. on Design and Testing of Communication- Based Systems Technical University Berlinhttp://www.ets.tu-berlin.de

Head of Competence Centre Modelling and Testing Fraunhofer FOKUShttp://www.fokus.fraunhofer.de/motion

Member of German Testing Boardhttp://www.german-testing-board.de

Lead of TTCN-3 Maintenance Teamhttp://www.ttcn-3.org

1. Diploma, Mathematical Computer ScienceHumboldt University

2. PhD on Performance Enhanced Formal SpecificationsTechnical University

3. Work at GMD FOKUS Fraunhofer FOKUS4. Research Stays at ICSI, CRIM, Uni Oslo

Board Member of ASQFhttp://www.asqf.de

Context Test Models Test the Test Other Issues Summary

Page 10: Test the test · Development of Software-Intense Systems: Current Situation The percentage of successful IT projects is again dropping: Severity of errors depends on the phase where

10FU Berlin, Kolloqium, Febr, 2008

Issues – the full spectrum of system engineering

Model the testsConceptsLanguages

Test the testsCorrectnessConsistencyCoverage Quality

Generate the testsTransformationsTest pattern

Execute the testsPlatformAdapters

Deploy the testsDistribution

Optimize the testsPerformance

Manage the testsProcessesVariants

...

Context Test Models Test the Test Other Issues Summary

Page 11: Test the test · Development of Software-Intense Systems: Current Situation The percentage of successful IT projects is again dropping: Severity of errors depends on the phase where

11FU Berlin, Kolloqium, Febr, 2008

TTCN-3 - The Testing and Test Control Notation

The testing middlewareUnifying the definition and documentation of tests in different development phasesunifying the tests for various systems (cockpit, powertrain, cabin, etc.) unifying the test infrastructure

Test specification and execution technology for different testsDistributed, platform-independent testingIntegrated graphical test development, documentation and analysisAdaptable, open test environment

Adopted by ETSI and ITU since 2000

Areas of TestingRegression TestingConformance/Functionality TestingInteroperability/Integration TestingLoad/ Stress Testing

Test Execution

Solution Deployment

DevelopmentProcess

Product/ComponentSpecification

Interop./Integr.

Standardization

Products

Test Execution

B) Vendor C) OEM

Solution Deployment

DevelopmentProcess

TechnologySpecification

A) Consortia

Functionality/ Interop./Integr.

TestSpecification

TestSpecification

Standardization

Context Test Models Test the Test Other Issues Summary

Page 12: Test the test · Development of Software-Intense Systems: Current Situation The percentage of successful IT projects is again dropping: Severity of errors depends on the phase where

12FU Berlin, Kolloqium, Febr, 2008

TTCN-3 Adoption

Usages Telecommunication

VoIPIMSWIMAXLTE…

AutomotiveAutosarcockpit applications –MOST Forum

Avionics systems – ESA Medical devices – HL7Power transmission systemsSmart cardsTransport...

AUTOSAR

Context Test Models Test the Test Other Issues Summary

Page 13: Test the test · Development of Software-Intense Systems: Current Situation The percentage of successful IT projects is again dropping: Severity of errors depends on the phase where

13FU Berlin, Kolloqium, Febr, 2008

MDA: A Model-Centric System Development

Platform Independent

SystemModels

Platform SpecificSystemModels

SystemCode

ComputationIndependent

SystemModels

CIM PIM PSM

SpecifySystems/

Applications

MOFSpecify

Languages

QVTSpecify

Transformations

• Enable test development within UML and along MDA principles

• Proposed the UML Testing Profile

Context Test Models Test the Test Other Issues Summary

Page 14: Test the test · Development of Software-Intense Systems: Current Situation The percentage of successful IT projects is again dropping: Severity of errors depends on the phase where

14FU Berlin, Kolloqium, Febr, 2008

The UML Testing Profile

Definition of a testing profile to capture all information that would be needed by different test processes

To allow black-box testing (i.e. at UML interfaces) of computational models in UMLA testing profile based upon UML 2.0

That enables the test definition and test generation based on structural (static) and behavioral (dynamic) aspects of UML models, andThat is capable of inter-operation with existing test technologies for black-box testing

Define Test architecture: Test structure, test components and test configurationTest data: Test data and templates used in test proceduresTest behavior: Dynamic aspects of test proceduresTime: Time quantified definition of test procedures

OMG standard since 2005

Context Test Models Test the Test Other Issues Summary

Page 15: Test the test · Development of Software-Intense Systems: Current Situation The percentage of successful IT projects is again dropping: Severity of errors depends on the phase where

15FU Berlin, Kolloqium, Febr, 2008

Selected Publications

Schieferdecker, I.; Stepien, B.; Rennoch, A.: PerfTTCN, a TTCN Language Extension for Performance Testing, in: Kim, M.; Kang, S.; Hong, K. (eds.), Testing of Communication Systems, Vol. 10, 10th International IFIP TC6/WG6.1 Workshop on Testing of Communication Systems, Cheju Island (Korea), Sept. 1997, London (UK): Chapman & Hall, 1997.P. Baker, E. Rudolph, I. Schieferdecker. Graphical Test Specification - The Graphical Format of TTCN-3. Proc. of the 10th SDL Forum 2001, Copenhagen, June 2001.Jens Grabowski, Dieter Hogrefe, György Réthy, Ina Schieferdecker, Anthony Wiles, Colin Willcock. An introduction into the testing and test control notation (TTCN-3). Computer Networks, Volume 42, Issue 3, Elsevier, Amsterdam, June 2003, 375-403.I. Schieferdecker, A. Rennoch, E. Höfig: TTCN-3 – A Test Technology for theAutomotive Domain, Gühmann, u.a., Simulation und Test in der Funktions- und Softwareentwicklung für die Automobilelektronik, Berlin, March 2005.J. Großmann and I. Schieferdecker: Testing Embedded Control Systems with TTCN-3, Enhancing TTCN-3 with Concepts for Continuous Streams. STTT Special Issue on Advances in Test Automation, 2008.I. Schieferdecker, J. Grabowski, T. Vassiliou-Gioles, G.Din: TTCN-3 –Systematic Testing for Reactive Systems, Accepted to appear in “Formal Methods and Testing” by J. Bowen, M. Harman, and R. Hierons, Springer 2008.

Context Test Models Test the Test Other Issues Summary

Page 16: Test the test · Development of Software-Intense Systems: Current Situation The percentage of successful IT projects is again dropping: Severity of errors depends on the phase where

16FU Berlin, Kolloqium, Febr, 2008

Selected Publications

P. Baker, Z. R. Dai, J. Grabowski, Ø. Haugen, S. Lucio, E. Samuelsson, I. Schieferdecker, and C. Williams: The UML 2.0 Testing Profile, Conquest 2004, ASQF Press, September 2004, Nuremberg, Germany.H.-G. Gross, I. Schieferdecker, G. Din: Specification and Implementation of Built-in Contract Tests, in Testing COTS Components and COTS-based Systems, Springer 2004I. Schieferdecker: The UML 2.0 Test Profile as a Basis for Integrated System and Test Development: GI Jahrestagung, Informatik 2005, Bonn, Sept. 2005P. Baker, Z. R. Dai, J. Grabowski, O. Haugen, I. Schieferdecker, C. Williams: Model-Driven Testing, Springer, 2007.

Context Test Models Test the Test Other Issues Summary

Page 17: Test the test · Development of Software-Intense Systems: Current Situation The percentage of successful IT projects is again dropping: Severity of errors depends on the phase where

17FU Berlin, Kolloqium, Febr, 2008

Issues – the full spectrum of system engineering

Model the testsConceptsLanguages

Test the testsCorrectnessConsistencyCoverage Quality

Generate the testsTransformationsTest pattern

Execute the testsPlatformAdapters

Deploy the testsDistribution

Optimize the testsPerformance

Manage the testsProcessesVariants

...

Huge test suites (>60000 LOC), e.g. for:Session Initiation Protocol (SIP)Internet Protocol Version 6 (IPv6)

Suffer from quality problems like any larger software!

Context Test Models Test the Test Other Issues Summary

Page 18: Test the test · Development of Software-Intense Systems: Current Situation The percentage of successful IT projects is again dropping: Severity of errors depends on the phase where

18FU Berlin, Kolloqium, Febr, 2008

PSM PST

System Test-system

generategenerate

test

deriveRequire-ments derive

PIM PIT

generategenerate

CIM CIT

generategenerate

Business Modell

PlattformindependentIT model

PlattformdependentIT model

generate

generate

generate

test

test

test

Businessconcepts

Testconcepts

Systemplatform

Testplatform

MDA Extended: Integrated Modelling and Testing

CIM Computation Independent ModelCIT ... TestPIM Platform Independent ModelPIT ... TestPSM Platform Specific ModelPST ... Test

• Extend the MDA with a dedicated test model chain

• Define test model levels according to system model levels

• Tool-supported quality-oriented MDA extension

Context Test Models Test the Test Other Issues Summary

Page 19: Test the test · Development of Software-Intense Systems: Current Situation The percentage of successful IT projects is again dropping: Severity of errors depends on the phase where

19FU Berlin, Kolloqium, Febr, 2008

Detailed MDA Extended

Require-ments

PIMUMLeUML

PSM

System

EJB

JavaEJB

WSDL

PIT UTPeTML

PST

Test-system

TTCN-3

Java

Generic EJBTest Adapter

WSDLTest Adapter

Used for Japanese IT applications

UML-based editing environment

Context Test Models Test the Test Other Issues Summary

Page 20: Test the test · Development of Software-Intense Systems: Current Situation The percentage of successful IT projects is again dropping: Severity of errors depends on the phase where

20FU Berlin, Kolloqium, Febr, 2008

Integrated Modelling Infrastructure: Concept and Design

getUMLModel()

checkUMLModel()

transformUML2EJB()

Repository tool:Provides version control for software artifacts

OCL checker tool:check the well-formed-ness of models against OCL constraints

QVT tool:Transform models between different formalisms

Developer (Tool user)

UML Workbench:Enable the visualization of UML models

= uses functionalities of/ shares models with

Model-Driven Development is “orchestration” of modelling servicesGoal of ModelBus = Infrastructure for modelling service integration and interoperability

1.

2.3.

1.

2.

3.

Context Test Models Test the Test Other Issues Summary

Page 21: Test the test · Development of Software-Intense Systems: Current Situation The percentage of successful IT projects is again dropping: Severity of errors depends on the phase where

21FU Berlin, Kolloqium, Febr, 2008

Integrated Modelling Infrastructure: ModelBus

ModelBusModelBus

OrchestrationTool

ControlTool

ManagementTool

Process Enactment

ServiceRegistry

NotificationService

Core Services

RequirementsTool

AnalysisTool

DesignTool

CodingTool

Unit TestTool

VerificationTool

SimulationTool

DeploymentTool

Lifecycle tools

Model Transformation

Modelling Services

Model Storage

Model Configuration

Model Traceability

Model Verification

Model Merging

Model Composition

Model Validation

Context Test Models Test the Test Other Issues Summary

Page 22: Test the test · Development of Software-Intense Systems: Current Situation The percentage of successful IT projects is again dropping: Severity of errors depends on the phase where

22FU Berlin, Kolloqium, Febr, 2008

Quantitative and qualitative assessment

Quantitative:MetricsValue ranges

Qualitative:RulesGuidelinesPatternsAnti-patterns

Quantitative and qualitative assessment not disjoint:Pattern/anti-pattern → Metric: count occurrencesMetric → rules: metric violates threshold

Context Test Models Test the Test Other Issues Summary

Page 23: Test the test · Development of Software-Intense Systems: Current Situation The percentage of successful IT projects is again dropping: Severity of errors depends on the phase where

23FU Berlin, Kolloqium, Febr, 2008

Test Model Quality Improvement

Approach:

Assess test suites,

Detect issues,

Restructure test suites.

→ Metrics,Patterns/Anti-Patterns

→ Refactoring

Context Test Models Test the Test Other Issues Summary

Page 24: Test the test · Development of Software-Intense Systems: Current Situation The percentage of successful IT projects is again dropping: Severity of errors depends on the phase where

24FU Berlin, Kolloqium, Febr, 2008

Instantiation of ISO quality model: quality of test specifications

Test Specification Quality

Suitability

Accuracy

Interoperability

Security

FunctionalityCompliance

Maturity

Fault-Tolerance

Recoverability

ReliabilityCompliance

Understand-ability

Learnability

Operability

Attractiveness

UsabilityCompliance

Time Behaviour

Resource Utilisation

EfficiencyCompliance

Analysability

Changeability

Stability

Testability

MaintainabilityCompliance

Adaptability

Installability

Co-Existence

Replaceability

PortabilityCompliance

Functionality Reliability Usability Efficiency PortabilityMaintainabilityTest

Effectivity

Test Coverage

Test Correctness

SecurityFault-

RevealingCapability

Test Effectivity

Compliance

Test Repeatability

Reusability

Coupling

Flexibility

Comprehen-sibility

ReusabilityCompliance

Test Evaluability

Context Test Models Test the Test Other Issues Summary

Page 25: Test the test · Development of Software-Intense Systems: Current Situation The percentage of successful IT projects is again dropping: Severity of errors depends on the phase where

25FU Berlin, Kolloqium, Febr, 2008

TTCN-3 Anti-Pattern

TTCN-3 “code smells”Duplicated Code, e.g. Duplicate Alt BranchesReferences, e.g. Singular Component Variable/Const./TimerParameters, e.g. Constant Actual Parameter ValueComplexity, e.g. Complex ConditionalDefault Anomalies, e.g. Activation AsymmetryTest Behaviour, e.g. Missing VerdictTest Configuration, e.g. Idle Parallel Test ComponentCoding Standards, e.g. Magic ValuesData Flow Anomalies, e.g. Unused Variable DefinitionMiscellaneous, e.g. Over-specific Runs On

Context Test Models Test the Test Other Issues Summary

Page 26: Test the test · Development of Software-Intense Systems: Current Situation The percentage of successful IT projects is again dropping: Severity of errors depends on the phase where

26FU Berlin, Kolloqium, Febr, 2008

TTCN-3 Metrics

Generic metricslines of codemin, max, average lines of code for a functionmin, max, average number of parameters for a functionnumber of unused variablesmin, max, average cyclomaticcomplexity for a functionmin, max, average function fan-in for a test suitemin, max, average function fan-out for a test suite...

TTCN-3 specific metricsnumber of verdict assignmentsmin, max, average execution time for a test casemin, max, average number of parallel test components employed for the execution of a test casefan-in/fan-out for test control, test cases, altstepsmin, max, average number of parameters for a module, test case, altstep, template...

Context Test Models Test the Test Other Issues Summary

Page 27: Test the test · Development of Software-Intense Systems: Current Situation The percentage of successful IT projects is again dropping: Severity of errors depends on the phase where

27FU Berlin, Kolloqium, Febr, 2008

Test Variance Metrics

TSI Port

Size and complexityof potential data space

Data Distance

Test System

System under Test

Data Quantification

Test data variance in TTCN-3

1. SUT is represented by TSI

set of ports of different port types allowing various data types

“system” clause in test case definition

2. TSI coverage – data input space

Quantitative similarity distance measures

Qualitative similarity partitioning method

3. Assumptionsall TSI ports are message-

based port

Context Test Models Test the Test Other Issues Summary

Page 28: Test the test · Development of Software-Intense Systems: Current Situation The percentage of successful IT projects is again dropping: Severity of errors depends on the phase where

28FU Berlin, Kolloqium, Febr, 2008

Quantitative Assessment: Model Metrics

MetaModel

Model

OCL Metric File

OCLGen

Tables

KiviatDiagrams

Metrics computationCompute metrics with OCL, also with metric packagesBased on meta modelsGeneric metrics for different models

Results presentationNumerical reportsGraphical presentationTrigger warnings to project manager

Context Test Models Test the Test Other Issues Summary

Page 29: Test the test · Development of Software-Intense Systems: Current Situation The percentage of successful IT projects is again dropping: Severity of errors depends on the phase where

29FU Berlin, Kolloqium, Febr, 2008

Model-based developmentMATLAB/Simulink/Stateflow

DevelopmentDevelopment

Quality Assessment: Guideline Checks

Capability Maturity Model Integration

(CMMI)

ISO 9000 Family

Software Process Improvement and

Capability Determination

(SPICE)

Six Sigma

Failure Mode And Effects Analysis

(FMEA)

RequirementsRequirements

Requirements EngineeringDOORS

Test SpecificationCTE ES / MTest

Quality AssuranceQuality Assurance

Error Automotive Automotive ArtefactArtefactGuidelineGuideline--CheckerChecker

Context Test Models Test the Test Other Issues Summary

Page 30: Test the test · Development of Software-Intense Systems: Current Situation The percentage of successful IT projects is again dropping: Severity of errors depends on the phase where

30FU Berlin, Kolloqium, Febr, 2008

Selected Publications

M. Born, I. Schieferdecker, M. Li: UML Framework for Automated Generation of Component-Based Test Systems. - Intern. Conf. on Software Engineering Applied to Networking and Parallel/ Distributed Computing (SNPD'00), Reims, France, 2000I. Schieferdecker, G. Din: A Metamodel for TTCN-3, 1st International Workshop on Integration of Testing Methodologies ITM 2004, October 2004, Toledo, Spain, Springer, Lecture Notes in Computer Science3236.D. Vega, I. Schieferdecker, G. Din: Towards Quality of TTCN-3 Tests, SAM 2006, May 2006, Kaiserslautern, Germany, Workshop Proceedings, 2006.M. Busch, R. Chaparadza, Z.R. Dai, A. Hoffmann, L. Lacmene, T. Ngwangwen, G.C. Ndem, H. Ogawa, D. Serbanescu, I. Schieferdecker, J. Zander-Nowicka: Model Transformers for Test Generation from System Models, Conquest 2006, Hanser Verlag, September 2006, Berlin, Germany.

Context Test Models Test the Test Other Issues Summary

Page 31: Test the test · Development of Software-Intense Systems: Current Situation The percentage of successful IT projects is again dropping: Severity of errors depends on the phase where

31FU Berlin, Kolloqium, Febr, 2008

Selected Publications

B. Zeiß, D. Vega, I. Schieferdecker, H. Neukirchen, J. Grabowski: Applying the ISO 9126 Quality Model to Test Specifications —Exemplified for TTCN-3 Test Specifications. Software Engineering 2007 (SE 2007). Lecture Notes in Informatics (LNI) 105. Copyright Gesellschaft für Informatik, Köllen Verlag, Bonn, Febr. 2007I. Schieferdecker: Quality Assurance for Autonomous Systems – A Review of Model-Based Methods. 8th Intern. Symposium on Autonomous Decentralized Systems (ISADS 2007), Keynote, Sedona, Arizona, March 2007, Keynote.D. Vega, I. Schieferdecker and G. Din: Test Data Variance as a Test Quality Measure - Exemplified for TTCN-3, 19th IFIP International Conference on Testing of Communicating Systems and 7th International Workshop on Formal Approaches to Testing of Software, TestCom/FATES 2007, Springer LNCS, Tallinn, Estonia, June 2007.D. Vega, I. Schieferdecker and G. Din: TTCN-3 Test Data Analyserusing Constraint Programming, submitted to TestCom 2008, Tokyo, Japan, June 2008.

Context Test Models Test the Test Other Issues Summary

Page 32: Test the test · Development of Software-Intense Systems: Current Situation The percentage of successful IT projects is again dropping: Severity of errors depends on the phase where

32FU Berlin, Kolloqium, Febr, 2008

Issues – the full spectrum of system engineering

Model the testsConceptsLanguages

Test the testsCorrectnessConsistencyCoverage Quality

Generate the testsTransformationsTest pattern

Execute the testsPlatformAdapters

Deploy the testsDistribution

Optimize the testsPerformance

Manage the testsProcessesVariants

...

Context Test Models Test the Test Other Issues Summary

Page 33: Test the test · Development of Software-Intense Systems: Current Situation The percentage of successful IT projects is again dropping: Severity of errors depends on the phase where

33FU Berlin, Kolloqium, Febr, 2008

Selected Publications

A. Vouffo-Feudjio and I. Schieferdecker. Test Pattern with TTCN-3, FATES 2004, 4th International Workshop on Formal Approaches to Testing of Software, Linz, Austria, Sept. 2004, Springer.J. Zander-Nowicka, I. Schieferdecker, A. Marrero Pérez: Automotive Validation Functions for on-line test evaluation of hybrid real-time systems, IEEE AutoTestCon 2006, Anaheim California, USA, Sept, 2006S. Wappler, I. Schieferdecker: Automatic Test Case Generation for Object-Oriented Unit Testing Using Genetic Programming, 22nd IEEE/ACM International Conference on Automated Software Engineering, ASE'07, Atlanta, Georgia, USA, Nov. 2007.S. Alekseev, P. Tollkühn, Z.R. Dai, A. Hoffmann, A. Rennoch, I. Schieferdecker: Testing Customizable Software for Telecommunication Services, ICIN 2007: Emerging Web and Telecom Services, Bordeaux, France, Oct. 2007 F. Belli, M. Linschulte, I. Schieferdecker: Ereignisorientiertes Testen Web-basierterSysteme - Verfeinerung des holistischen Ansatzes und eine Fallstudie, ARCS'07, Workshop on 'Dependability and Fault Tolerance', Zurich, Suisse, March 2007 J. Zander-Nowicka, A. Marrero Perez, I. Schieferdecker: From Functional Requirements through Test Evaluation Design to Automatic Test Data Templates Retrieval – a Concept for Testing of Software Dedicated for Hybrid Embedded Systems, International Conference on Software Engineering Research and Practice (SERP'07), Las Vegas, Nevada, USA, June 2007.

Context Test Models Test the Test Other Issues Summary

Page 34: Test the test · Development of Software-Intense Systems: Current Situation The percentage of successful IT projects is again dropping: Severity of errors depends on the phase where

34FU Berlin, Kolloqium, Febr, 2008

Issues – the full spectrum of system engineering

Model the testsConceptsLanguages

Test the testsCorrectnessConsistencyCoverage Quality

Generate the testsTransformationsTest pattern

Execute the testsPlatformAdapters

Deploy the testsDistribution

Optimize the testsPerformance

Manage the testsProcessesVariants

...

Context Test Models Test the Test Other Issues Summary

Page 35: Test the test · Development of Software-Intense Systems: Current Situation The percentage of successful IT projects is again dropping: Severity of errors depends on the phase where

35FU Berlin, Kolloqium, Febr, 2008

Selected Publications

T. Li, A. Hoffmann, M. Born and I. Schieferdecker: A Platform Architecture to Support the Deployment of Distributed Applications, IEEE International Conference on Communications. IEEE ICC2002 in New York, NY, USA, Apr.-May 2002.I. Schieferdecker, T. Vassiliou-Gioles: Realizing distributed TTCN-3 test systems with TCI, IFIP 15th Intern. Conf. on Testing Communicating Systems - TestCom 2003, Sophia-Antipolis, France, May 2003, Springer, Lecture Notes in Computer Science 2644, Best Paper.P. H. Deussen, G. Din, I. Schieferdecker: A TTCN-3 Based Online Test and Validation Platform for Internet Services, Sixth International Symposium on Autonomous Decentralized Systems - Advanced Distributed Transportation Systems, ISADS 2003, Pisa, Italy, IEEE Press, April 2003.J. Zander, Z.R. Dai, I. Schieferdecker, G. Din: From U2TP Models to Executable Tests with TTCN-3 - An Approach to Model Driven Testing, IFIP 17th Intern. Conf. on Testing Communicating Systems - TestCom 2005, Montreal, Canada, March 2005.J. Zander-Nowicka, I. Schieferdecker, T. Farkas: Derivation of Executable Test Models From Embedded System Models using Model Driven Architecture Artefacts, Dagstuhl-Workshop Modellbasierte Entwicklung eingebetteter Systeme (MBEES 2006), Jan. 2006, GermanyR.Chaparadza, M. Busch, Z.R. Dai, A. Hoffman, L. Lacmene, T. Ngwangwen, G. C. Ndem, D. Serbanescu, I. Schieferdecker, J. Zander-Nowicka: Transformations: UML2 System Models to U2TP models, U2TP models to TTCN-3 models and, TTCN-3 Code Generation and Execution, ECMDA Workshop, Bilbao, Spain, July 2006.

Context Test Models Test the Test Other Issues Summary

Page 36: Test the test · Development of Software-Intense Systems: Current Situation The percentage of successful IT projects is again dropping: Severity of errors depends on the phase where

36FU Berlin, Kolloqium, Febr, 2008

Issues – the full spectrum of system engineering

Model the testsConceptsLanguages

Test the testsCorrectnessConsistencyCoverage Quality

Generate the testsTransformationsTest pattern

Execute the testsPlatformAdapters

Deploy the testsDistribution

Optimize the testsPerformance

Manage the testsProcessesVariants

...

Context Test Models Test the Test Other Issues Summary

Page 37: Test the test · Development of Software-Intense Systems: Current Situation The percentage of successful IT projects is again dropping: Severity of errors depends on the phase where

37FU Berlin, Kolloqium, Febr, 2008

Selected Publications

T. Vassiliou-Gioles, G. Din, I. Schieferdecker: Execution of External Applications using TTCN-3. IFIP 16th Intern. Conf. on Testing Communicating Systems - TestCom 2004, St Anne's College, Oxford, United Kingdom, March 2004, Springer, Lecture Notes in Computer Science 2978.I. Schieferdecker, G. Din, D. Apostolidis: Distributed Functional and Load tests for Web services, International Journal on Software Tools for Technology Transfer (STTT), Springer 2005.G. Din, S. Tolea, I. Schieferdecker: Distributed Load Tests with TTCN-3, IFIP Intern. Conf. on Testing Communication-Based Systems, TestCom 2006, May 2006, New York, USA.G. Din, R. Petre, I. Schieferdecker: A Workload Model for Benchmarking IMS Core Networks, IEEE Global Communications Conference, GLOBECOM 2007, Washington, DC, USA, Nov. 2007.D. Serbanescu,V. Molovata, G. Din, I. Schieferdecker, I. Radusch: Real-Time Testing With TTCN-3, submitted to TestCom 2008, Tokyo, Japan, June 2008.

Context Test Models Test the Test Other Issues Summary

Page 38: Test the test · Development of Software-Intense Systems: Current Situation The percentage of successful IT projects is again dropping: Severity of errors depends on the phase where

38FU Berlin, Kolloqium, Febr, 2008

Issues – the full spectrum of system engineering

Model the testsConceptsLanguages

Test the testsCorrectnessConsistencyCoverage Quality

Generate the testsTransformationsTest pattern

Execute the testsPlatformAdapters

Deploy the testsDistribution

Optimize the testsPerformance

Manage the testsProcessesVariants

...

Context Test Models Test the Test Other Issues Summary

Page 39: Test the test · Development of Software-Intense Systems: Current Situation The percentage of successful IT projects is again dropping: Severity of errors depends on the phase where

39FU Berlin, Kolloqium, Febr, 2008

Selected Publications

M. Born, I. Schieferdecker, O. Kath and C. Hirai: Combining System Development and System Test in a Model-centric Approach, RISE 2004 International Workshop on Rapid Integration of Software Engineering techniques, November 26, 2004, Luxembourg, Luxembourg, Springer, Invited.I. Schieferdecker: The UML 2.0 Test Profile as a Basis for Integrated System and Test Development: GI Jahrestagung, Informatik 2005, Bonn, Sept. 2005T. Deiß, A. Rennoch, I. Schieferdecker and T. Vassiliou-Gioles: Advanced Test Processes using TTCN-3, ITEA Publications, March 2006.

Context Test Models Test the Test Other Issues Summary

Page 40: Test the test · Development of Software-Intense Systems: Current Situation The percentage of successful IT projects is again dropping: Severity of errors depends on the phase where

40FU Berlin, Kolloqium, Febr, 2008

Summary

GoalTest model/test system as integral part of system engineeringFor early and continuous quality considerations

Test modelling techniquesTest the test

Generate correct testsVerify test correctnessAssess test quality

Other aspects of quality engineering

Context Test Models Test the Test Other Issues Summary

Page 41: Test the test · Development of Software-Intense Systems: Current Situation The percentage of successful IT projects is again dropping: Severity of errors depends on the phase where

41FU Berlin, Kolloqium, Febr, 2008

MOTION‘s Technologies

Modeling plugins (UML, U2TP, ...)

Metamodeling infrastructure (MOF)medini via

Testing infrastructure (TTCN-3)TTworkbench via

Invariant checking (OCL)OSLO via

QoS enabled Middleware (CCM)Qedo via

Tool couplingModelBus via

… and various concrete solutions

Context Test Models Test the Test Other Issues Summary

Page 42: Test the test · Development of Software-Intense Systems: Current Situation The percentage of successful IT projects is again dropping: Severity of errors depends on the phase where

42FU Berlin, Kolloqium, Febr, 2008

JUnit

TTCNTestTechniques

TMM TPI

W-Model Spiral ModelV-Model V-Model XT

MDADevelopmentand Test Processes

ModellingTechniques UML1 UML2

MOF, OCL, QVT

SDL, MSC

Act OneLOTOS

T. LogicCCS CSP

1980 1990 2000 2010

Summary of Developments

LegendMDA - usagePerfTTCN - own developmentTTCN-3 - own development in standards

MDA++

LotoTiS

TimedMSC

PerfTTCN

U2TPTTCN-3

Continuous TTCN-3

Context Test Models Test the Test Other Issues Summary

Page 43: Test the test · Development of Software-Intense Systems: Current Situation The percentage of successful IT projects is again dropping: Severity of errors depends on the phase where

43FU Berlin, Kolloqium, Febr, 2008

Outlook

Model quality is genericApproach should be extended to various kinds of modelsGeneric quality aspects vs. specific quality aspectsAppropriateness of metrics and of rules

Need for a model-oriented quality engineering approachModel-based system managementModel metrics, patterns and anti-patternsModel-based process integration…

Context Test Models Test the Test Other Issues Summary

Page 44: Test the test · Development of Software-Intense Systems: Current Situation The percentage of successful IT projects is again dropping: Severity of errors depends on the phase where

Thank You for Your Attention!

Any Questions?