Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

Test case template
Home > The Unit Test Framework > User's guide > Test organization > Test case template >
PrevNext
Test case template

To test a template based component it's frequently necessary to perform the same set of checks for a component instantiated with different template parameters. The UTF provides the ability to create a series of test cases based on a list of desired types and function similar to nullary function template. This facility is called test case template. Here are the two construction interfaces:


PrevUpHomeNext