CppTest home page | CppTest project page |
#include <cpptest-htmloutput.h>
HTML output.
Output handler that creates a HTML table with detailed information about all tests.
void Test::HtmlOutput::generate | ( | std::ostream & | os, |
bool | incl_ok_tests = true , |
||
const std::string & | name = "" |
||
) |
Generates the HTML table. This function should only be called after run(), when all tests have been executed.
os | Output stream. |
incl_ok_tests | Set if successful tests should be shown; false otherwise. |
name | Name of generated report. |