as show in Figure 9 is in the order of six minutes
related to the DECT case study. The TTCN-3 test
suite consisted of over 200 test cases, which means
that about 20 hours are needed to derive the TTCN-3
source code. After additional 24 hours to compile
the executable test suite by means of Telelogic Tau
G2 the actual test could be started and revealed
around ten failures of different types, e.g. the
reception of a wrong message type, wrong parameter
values and even a non-functional violation of a
given time constraint.
In the TestUS approach no overhead for
generating, transforming and translating test cases in
order to produce the TTCN-3 test suite is necessary.
Instead, the transformation of the MCUM to the
TTCN-3 source code for the DECT case study can
be done within 5 seconds using a Java tool that was
developed to do this task and which can be selected
via the Eclipse plug-in shown in Figure 12. The
compilation of the executable test suite is done by
Telelogic Tau G2 within additional 15 minutes.
Now, as long as one likes test cases can be
performed and interpreted on-the-fly in real-time
without any further modifications of the TTCN-3
test suite.
6 CONCLUSIONS
The advantage of the new approach implemented in
the TestUS framework is obvious:
• The main effort at the beginning of the test
process is to construct a MCUM in order to
reflect the correct usage behaviour between the
SUT and all possible actors.
• Based on a UML 2.0 software engineering
process, which starts from use case diagrams
that contain interaction diagrams to refine the
user interactions an automatic derivation of the
MCUM protocol state machine representation is
achieved by a proper tool chain.
• There is no need to calculate TTCN-3 test cases
in advance. Therefore, it is possible to avoid the
unfolding of finite loop fragments with upper
and/or lower boundaries and the serialization of
interleaved events that are responsible for a
factorial growth of the length of the test cases.
• Once the MCUM is transformed to a TTCN-3
test suite, test cases and the evaluation of test
verdicts are interpreted on-the-fly in the
executable test suite.
We proved the new concept by means of a
realistic case study for testing a DECT
communication system. The previous generation and
compilation time for the dedicated DECT test suite
summing up in the order of 44 hours was reduced to
only 15 minutes and we got a TTCN-3 test suite at
the end that interprets as many test cases as one likes
for the DECT system on-the-fly and in real-time.
REFERENCES
Sayre, K., 1999. Improved Techniques for Software
Testing Based on Markov Chain Usage Models. PhD
thesis, University of Tennessee, Knoxville.
Whittaker, J. A., Poore, J.H., C. J. Trammel, 1995.
Statistical testing of software based on a usage model.
Software-practice and experience.
Broy, M., Jonsson, B., Katoen, J.-P. (eds), 2005. Model-
Based Testing of Reactive Systems. Springer LNCS
3472.
OMG, 2007. Unified Modeling Language: Superstructure.
version 2.1.1.
ETSI, 2005. Methods for Testing and Specification (MTS);
The Testing and Test Control Notation version 3; Part
1: TTCN-3 Core Language. ES 201 873-1 V3.1.1.
Tretmans, J., Brinksma, E., 2002. Automated Model Based
Testing. University of Twente.
Beyer, M., Dulz, W., 2005. Scenario-Based Statistical
Testing of Quality of Service Requirements. Springer
LNCS 3466.
Walton, G. H., Poore, J.H., 2000. Generating transition
probabilities to support model-based software testing.
Software – Practice and Experience, 30, p. 1095-1106.
Musa, J. D., 1993. Operational Profiles in Software-
Reliability Engineering. IEEE Software.
Gutjahr, Walter J., 1997. Importance Sampling of Test
Cases in Markovian Software Usage Models.
Department of Statistics, Operations Research and
Computer Science, University of Vienna.
Beyer, M., Dulz, W., Hielscher, K.-S. J., 2006.
Performance Issues in Statistical Testing. Proceedings
3th GI/ITG Conference on Measurement, Modeling,
and Evaluation of Computer and Communication
Systems (MMB 2006), Nuremberg, Germany.
Biegel, M., 2006. StatisticalTesting of DECT Modules.
Proceedings ITG Workshop on Model-Based Testing,
Nuremberg, Germany.
ENASE 2008 - International Conference on Evaluation of Novel Approaches to Software Engineering
80