Answers for "google test assert stdout"

C++
0

google test assert stdout

testing::internal::CaptureStdout();
std::cout << "My test";
std::string output = testing::internal::GetCapturedStdout();
Posted by: Guest on January-21-2021

Browse Popular Code Answers by Language