We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6921aa9 commit bb7c0fcCopy full SHA for bb7c0fc
server/src/printers/TestsPrinter.cpp
@@ -71,12 +71,12 @@ std::uint32_t TestsPrinter::printSuiteAndReturnMethodsCount(const string &suiteN
71
}
72
ss << "#pragma region " << suiteName << NL;
73
std::uint32_t count = 0;
74
- for (const auto &[methodName, methodStub] : methods) {
75
- if (methodStub.codeText.at(suiteName).empty()) {
+ for (const auto &[methodName, methodDescription] : methods) {
+ if (methodDescription.codeText.at(suiteName).empty()) {
76
continue;
77
78
- ++count;
79
- ss << methodStub.codeText.at(suiteName);
+ count += methodDescription.suiteTestCases.at(suiteName).size();
+ ss << methodDescription.codeText.at(suiteName);
80
81
ss << "#pragma endregion" << NL;
82
return count;
0 commit comments