Function getCurrentTestName

Synopsis

#include <include/internal/catch_run_context.h>

std::string getCurrentTestName() const override

Description

No description yet.

Source

Lines 296-300 in include/internal/catch_run_context.cpp. Line 97 in include/internal/catch_run_context.h.

std::string RunContext::getCurrentTestName() const {
    return m_activeTestCase
        ? m_activeTestCase->getTestCaseInfo().name
        : std::string();
}





Add Discussion as Guest

Log in