Testing C++ generic libraries | IEEE Conference Publication | IEEE Xplore

Testing C++ generic libraries


Abstract:

We describe a novel methodology for systematic and rigorous testing of C++ generic libraries: separate testing. The approach is based on separate testing of generic (temp...Show More

Abstract:

We describe a novel methodology for systematic and rigorous testing of C++ generic libraries: separate testing. The approach is based on separate testing of generic (template) algorithms and data structures and of user-defined types that will be used with the library. Templates are tested against specifications using representative types called prototypes that contain metadata which is used to query otherwise unobservable properties of the input types and values. User-defined types are tested against the concepts required by the generic components of the library. Testing separately minimizes the required effort while fully exercising all components involved. The methodology is supported by the Origin Testing library, which is, in turn, being used to test the remainder of the Origin C++ 11 libraries.
Date of Conference: 23-28 September 2012
Date Added to IEEE Xplore: 10 January 2013
ISBN Information:
Print ISSN: 1063-6773
Conference Location: Trento, Italy

Contact IEEE to Subscribe

References

References is not available for this document.