|
C++Spec 1.1.0
BDD testing for C++
|
The file that –output-junit names, with the JUnit XML formatter that writes to it. More...
#include <argparse.hpp>

Public Member Functions | |
| JUnitOutputFile (const std::string &path) | |
Public Attributes | |
| std::ofstream | stream |
| Formatters::JUnitXML | formatter {stream, false} |
The file that –output-junit names, with the JUnit XML formatter that writes to it.
The formatter is declared after the stream, so it is destroyed first: its destructor writes the XML to a stream that is still open, and the stream is closed after it.