Skip to content

Commit

Permalink
tests: print the name of the test before starting it
Browse files Browse the repository at this point in the history
  • Loading branch information
paradajz committed Oct 3, 2021
1 parent 36e6f5f commit 5f86f1e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/unity/Framework.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ int main()
for (size_t test = 0; test < testDescriptors.size(); test++)
{
std::string filename = std::string(BOARD_STRING) + ":" + testDescriptors.at(test).filename;
std::cout << "Running " << filename << ":" << testDescriptors.at(test).testName << std::endl;
UnitySetTestFile(filename.c_str());
UnityDefaultTestRun(testDescriptors.at(test).func, testDescriptors.at(test).testName.c_str(), testDescriptors.at(test).lineNr);
}
Expand Down

0 comments on commit 5f86f1e

Please sign in to comment.