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

◆ test() [2/3]

xtd::tunit::test::test ( const xtd::string name,
const std::function< void()> &  method,
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.
stack_frameThe stack frame of the method.