f4d990f01369e2e986f608064d36c4a8.ppt
- Количество слайдов: 14
Competence Center MOTION FOKUS’ VIEW ON MODEL-BASED TEST DESCRIPTION LANGUAGES (TDLS) Alain-G. Vouffo Feudjio Fraunhofer FOKUS
Competence Center MOTION Outline n Motivations: Why Model-Based Test Design n FOKUS’ View on TDL by Example n Discussion Fraunhofer FOKUS
Competence Center MOTION Fraunhofer FOKUS Why Model-Based Test Description (I) n Test design at early phase of the product lifecycle n Enhanced reuse of test design. n Facilitated communication between stakeholders. n Facilitated integration of testing in MDE process by filling the gap between requirements and testing. n Higher quality of test specifications through Application and Automated Verification of Test Design Guidelines. n Unified and test execution platform-independent test design. n Facilitated Reuse of legacy test scripts through Round-Trip Engineering in Test Automation. § E. g. Visualization of legacy test scripts for reuse.
Competence Center MOTION Fraunhofer FOKUS Why Model-Based Test Description (II) n Requirements traceability. n Early identification of flaws in system specification. n Integration of test-related activities in the overall MDE process. n Time savings, Costs reduction n Automated generation of executable test scripts through model-tomodel (M 2 M) or model-to-text (M 2 T) transformations from system model to test model and backwards.
Fraunhofer FOKUS Competence Center MOTION Model-Based Test Design: Process Test Model System Description Requirements Informal System/Test Specification Test Objectives Model Test Procedures Model Test Data Model DSMLs TTCN-3 Test Behaviour Model System Model-Based Test Design Optional Test Architecture Model (Automated) Test Model Transformation Test Suite Executable Testcases or Skeletons Test Documentation
Competence Center MOTION Fraunhofer FOKUS The UTML Notation as a TDL n FOKUS follows a two-way approach to test modeling/designing § A pure UML approach (UTP) based § A UML-Like approach based on a DSML called UTML (Unified Test Modeling Language) n UTML combines concepts of TTCN-3, UML (TP) and Sys. ML into a DSML for designing tests at high level of abstraction n Based on an EMF (e. MOF) Meta-Model n Currently supports 3 representation formats § Tree & Tabular § Graphical n Allows a Formalization and exploitation of patterns in test design to guide and speed up the process
Competence Center MOTION Model-Based Test Design: ITS DENM Example Fraunhofer FOKUS
Competence Center MOTION Fraunhofer FOKUS Model-Based Test Design: Test Objective/Purpose Design
Competence Center MOTION Model-Based Test Design: Test Architecture Design Fraunhofer FOKUS
Fraunhofer FOKUS Competence Center MOTION Model-Based Test Design: Test Behaviour Design Don‘t worry: You will NOT have to enter this as source code. It‘s just a label created out of the provided model elements.
Competence Center MOTION Fraunhofer FOKUS Model-Based Test Design: Test Behaviour Design using Activity Diagram Don‘t worry: You will NOT have to enter this as source code. It‘s just a label created out of the provided model elements.
Competence Center MOTION Model-Based Test Design: Transformation Fraunhofer FOKUS
Competence Center MOTION Fraunhofer FOKUS A Few Remarks n Models are transformed. Therefore, only information contained therein can be transformed or exploited n Models may provide different Levels of detail. Obviously, the ability to generate automatically executable test cases will depend on the completeness of the information provided in the modelling n The test models may be used by model-based test generation to apply combinatory algorithms for generating a larger number of variants of the test case, although those would be functionally equivalent (From a conformance testing perspective) n As any matter of taste, obviously the graphical diagram elements may be more or less appreciated, depending on the organization and the individual, but they can be considered as inter-changeable. Focus should be laid on the concepts, rather than their representation
Competence Center MOTION TDL: Goals of standardization n Define a standardized concept space as § MOF/EMF Metamodel ? § Other ? n Define and standardize § Representation formats? § Graphical visualization concepts? § Textual syntax? Fraunhofer FOKUS
f4d990f01369e2e986f608064d36c4a8.ppt