xtd 0.2.0
Loading...
Searching...
No Matches

◆ test() [3/3]

xtd::tunit::test::test ( const xtd::ustring name,
const std::function< void()> &  method,
bool  ignore,
const xtd::diagnostics::stack_frame stack_frame 
)
noexcept

Creates a new test instance with specified name, method and stack frame.

Parameters
nameRepresents the name of the method. Generally is the same name as the method name.
methodThe method that contains the test.
ignoredIf true, the test will be ignored during tests execution; otherwise, the test will be taken into account during tests execution.
stack_frameThe stack frame of the method.