Unit testing of C++ template metaprograms

Ábel, Sinkovics [Sinkovics, Ábel (Informatika), szerző] PhD Informatika Doktori Iskola (ELTE / IK)

Angol nyelvű Tudományos Konferenciaközlemény (Könyvrészlet)
    Azonosítók
    • MTMT: 2118882
    Unit testing, a method for verifying a piece of software, is a widely used technique and a good practice in software development. A unit, the smallest testable element of a software is verified in isolation. Tools for the development and execution of unit tests are available for a number of programming languages, such as C, C++, Java, C#, Python, Perl, Erlang, etc. Unfortunately, the development of C++ template metaprograms has only limited support for this technique. To improve software quality, creation and maintenance of unit tests should be part of the development of C++ template metaprogramming libraries. In this paper we present how unit tests can be built and executed for C++ template metaprograms and how they fit into the development process of C++ libraries and applications. We present tools that help the developers in building unit tests for C++ template metaprograms. We also present how we applied them on a number of C++ template metaprogramming libraries.
    Hivatkozás stílusok: IEEEACMAPAChicagoHarvardCSLMásolásNyomtatás
    2020-12-03 20:39