Mapping C++ Data Types into a Test Specification Language

Master's thesis

Pekka Pulkkinen

Research output: Book/ReportBook (author)Scientificpeer-review

Abstract

Software testing is becoming a more and more important and challenging part of software development nowadays. Since the complexity and size of software is growing day by day, software developers must concentrate increasingly on testing, which costs both time and money. Therefore, different methods and tools have been developed to facilitate and pre-cipitate software testing and also improve the quality of software. One emerging new testing technology is TTCN-3 (Testing and Test Control Notation 3), which is a standardized test specification and implementation language. TTCN-3 pro-vides a broad spectrum of testing abilities and is among others designed for testing soft-ware modules. It is also intended to be used for several applications with several data de-scription languages. Even if C++ is one of the most popular programming languages nowadays, TTCN-3 cannot be yet efficiently utilize for testing C++ software. In order to take advantage of TTCN-3 in testing C++ modules, the interface of the tested component should be defined at the TTCN-3 language level. Therefore, C++ data types need to be mapped to TTCN-3. The purpose of this thesis is to provide data type mappings from C++ to TTCN-3, and to implement a TTCN-3 based test system in order to test a C++ software module. Due to the differences between C++ and TTCN-3, such as lacking of object model in TTCN-3 and ambiguity of C++ pointers, several challenges are faced during this work. However, fairly comprehensive data type mapping is provided, which is finally verified in a real world-like situation by using TTCN-3 to test a C++ module. This example gives a clear insight of the usability and advantage of data type mappings and also valuable experience on the suitability of TTCN-3 in testing C++ software module is gained.
Original languageEnglish
Place of PublicationEspoo
PublisherVTT Technical Research Centre of Finland
Number of pages107
ISBN (Electronic)951-38-6403-0
ISBN (Print)951-38-6402-2
Publication statusPublished - 2004
MoE publication typeC1 Separate scientific books

Publication series

NameVTT Publications
PublisherVTT
No.542
ISSN (Print)1235-0621
ISSN (Electronic)1455-0849

Fingerprint

Specification languages
Testing
Software testing
Ability testing

Keywords

  • Testing and Test Control Notation 3 (TTCN-3)
  • software testing
  • software development

Cite this

Pulkkinen, P. (2004). Mapping C++ Data Types into a Test Specification Language: Master's thesis. Espoo: VTT Technical Research Centre of Finland. VTT Publications, No. 542
Pulkkinen, Pekka. / Mapping C++ Data Types into a Test Specification Language : Master's thesis. Espoo : VTT Technical Research Centre of Finland, 2004. 107 p. (VTT Publications; No. 542).
@book{0b86781e9629464c9d284f0c667956fc,
title = "Mapping C++ Data Types into a Test Specification Language: Master's thesis",
abstract = "Software testing is becoming a more and more important and challenging part of software development nowadays. Since the complexity and size of software is growing day by day, software developers must concentrate increasingly on testing, which costs both time and money. Therefore, different methods and tools have been developed to facilitate and pre-cipitate software testing and also improve the quality of software. One emerging new testing technology is TTCN-3 (Testing and Test Control Notation 3), which is a standardized test specification and implementation language. TTCN-3 pro-vides a broad spectrum of testing abilities and is among others designed for testing soft-ware modules. It is also intended to be used for several applications with several data de-scription languages. Even if C++ is one of the most popular programming languages nowadays, TTCN-3 cannot be yet efficiently utilize for testing C++ software. In order to take advantage of TTCN-3 in testing C++ modules, the interface of the tested component should be defined at the TTCN-3 language level. Therefore, C++ data types need to be mapped to TTCN-3. The purpose of this thesis is to provide data type mappings from C++ to TTCN-3, and to implement a TTCN-3 based test system in order to test a C++ software module. Due to the differences between C++ and TTCN-3, such as lacking of object model in TTCN-3 and ambiguity of C++ pointers, several challenges are faced during this work. However, fairly comprehensive data type mapping is provided, which is finally verified in a real world-like situation by using TTCN-3 to test a C++ module. This example gives a clear insight of the usability and advantage of data type mappings and also valuable experience on the suitability of TTCN-3 in testing C++ software module is gained.",
keywords = "Testing and Test Control Notation 3 (TTCN-3), software testing, software development",
author = "Pekka Pulkkinen",
note = "Project code: E3SU00131",
year = "2004",
language = "English",
isbn = "951-38-6402-2",
series = "VTT Publications",
publisher = "VTT Technical Research Centre of Finland",
number = "542",
address = "Finland",

}

Pulkkinen, P 2004, Mapping C++ Data Types into a Test Specification Language: Master's thesis. VTT Publications, no. 542, VTT Technical Research Centre of Finland, Espoo.

Mapping C++ Data Types into a Test Specification Language : Master's thesis. / Pulkkinen, Pekka.

Espoo : VTT Technical Research Centre of Finland, 2004. 107 p. (VTT Publications; No. 542).

Research output: Book/ReportBook (author)Scientificpeer-review

TY - BOOK

T1 - Mapping C++ Data Types into a Test Specification Language

T2 - Master's thesis

AU - Pulkkinen, Pekka

N1 - Project code: E3SU00131

PY - 2004

Y1 - 2004

N2 - Software testing is becoming a more and more important and challenging part of software development nowadays. Since the complexity and size of software is growing day by day, software developers must concentrate increasingly on testing, which costs both time and money. Therefore, different methods and tools have been developed to facilitate and pre-cipitate software testing and also improve the quality of software. One emerging new testing technology is TTCN-3 (Testing and Test Control Notation 3), which is a standardized test specification and implementation language. TTCN-3 pro-vides a broad spectrum of testing abilities and is among others designed for testing soft-ware modules. It is also intended to be used for several applications with several data de-scription languages. Even if C++ is one of the most popular programming languages nowadays, TTCN-3 cannot be yet efficiently utilize for testing C++ software. In order to take advantage of TTCN-3 in testing C++ modules, the interface of the tested component should be defined at the TTCN-3 language level. Therefore, C++ data types need to be mapped to TTCN-3. The purpose of this thesis is to provide data type mappings from C++ to TTCN-3, and to implement a TTCN-3 based test system in order to test a C++ software module. Due to the differences between C++ and TTCN-3, such as lacking of object model in TTCN-3 and ambiguity of C++ pointers, several challenges are faced during this work. However, fairly comprehensive data type mapping is provided, which is finally verified in a real world-like situation by using TTCN-3 to test a C++ module. This example gives a clear insight of the usability and advantage of data type mappings and also valuable experience on the suitability of TTCN-3 in testing C++ software module is gained.

AB - Software testing is becoming a more and more important and challenging part of software development nowadays. Since the complexity and size of software is growing day by day, software developers must concentrate increasingly on testing, which costs both time and money. Therefore, different methods and tools have been developed to facilitate and pre-cipitate software testing and also improve the quality of software. One emerging new testing technology is TTCN-3 (Testing and Test Control Notation 3), which is a standardized test specification and implementation language. TTCN-3 pro-vides a broad spectrum of testing abilities and is among others designed for testing soft-ware modules. It is also intended to be used for several applications with several data de-scription languages. Even if C++ is one of the most popular programming languages nowadays, TTCN-3 cannot be yet efficiently utilize for testing C++ software. In order to take advantage of TTCN-3 in testing C++ modules, the interface of the tested component should be defined at the TTCN-3 language level. Therefore, C++ data types need to be mapped to TTCN-3. The purpose of this thesis is to provide data type mappings from C++ to TTCN-3, and to implement a TTCN-3 based test system in order to test a C++ software module. Due to the differences between C++ and TTCN-3, such as lacking of object model in TTCN-3 and ambiguity of C++ pointers, several challenges are faced during this work. However, fairly comprehensive data type mapping is provided, which is finally verified in a real world-like situation by using TTCN-3 to test a C++ module. This example gives a clear insight of the usability and advantage of data type mappings and also valuable experience on the suitability of TTCN-3 in testing C++ software module is gained.

KW - Testing and Test Control Notation 3 (TTCN-3)

KW - software testing

KW - software development

M3 - Book (author)

SN - 951-38-6402-2

T3 - VTT Publications

BT - Mapping C++ Data Types into a Test Specification Language

PB - VTT Technical Research Centre of Finland

CY - Espoo

ER -

Pulkkinen P. Mapping C++ Data Types into a Test Specification Language: Master's thesis. Espoo: VTT Technical Research Centre of Finland, 2004. 107 p. (VTT Publications; No. 542).