Testing Templates, Testing Tests

By Peter Hrenka

Software Testing has come a long way and has made it into the mainstream. But C++ language provides powerful template mechanisms where not all types are knowable ahead of time, e.g. in the scope of template libraries. This raises questions when tests for templates constructs can be considered complete. This talk will motivate and show a structured approach of how to handle this uncertainty. It will also show some failed attempts along the way. Having a solution pattern is nice but we would also like to know how good our tests are which is also much harder in presence of templates as the usual coverage metric is problematic. This talk will show an additional test quality metric and it will show some technical and organizational ideas to improve that metric.





Your Privacy

By clicking "Accept Non-Essential Cookies" you agree ACCU can store non-essential cookies on your device and disclose information in accordance with our Privacy Policy and Cookie Policy.

Current Setting: Non-Essential Cookies REJECTED


By clicking "Include Third Party Content" you agree ACCU can forward your IP address to third-party sites (such as YouTube) to enhance the information presented on this site, and that third-party sites may store cookies on your device.

Current Setting: Third Party Content EXCLUDED



Settings can be changed at any time from the Cookie Policy page.