wex v24.10.0
|
Offers the doctest based class info. More...
#include <wex/test/doctest.h>
Public Member Functions | |
bool | on_init (wex::app *app) |
Performs doctest init. | |
void | on_run (wex::app *app) |
Performs doctest activation. | |
bool | use_context (wex::app *app, int argc, char *argv[]) |
Use context when running. | |
Static Public Member Functions | |
static path | get_path (const std::string &file=std::string(), path::log_t type=path::log_t()) |
Returns the test path. | |
Offers the doctest based class info.
Your test application should be derived from this class.
bool wex::test::doctester::use_context | ( | wex::app * | app, |
int | argc, | ||
char * | argv[] ) |
Use context when running.
You should first call this method to construct the context.