Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/src/Progmasoft/Runner/Console.cpp
diff options
context:
space:
mode:
authorLeitwolf2026-11-01 15:29:13 +0300
committerGitHub2026-11-01 15:29:13 +0300
commitb7fe8c2061c98e7aec886e9b1e6282f48c3b5456 (patch)
treef933300c29658c3eb89d126d74b6c30fdff9dd04 /src/Progmasoft/Runner/Console.cpp
parent1559307a6ac7731ffd6a8e28147552b3987dbd93 (diff)
parent569620dad14df7e13bb9fd31d256e9fd873ef6ec (diff)
downloadcatch3-b7fe8c2061c98e7aec886e9b1e6282f48c3b5456.tar.gz
Merge pull request #28 from Progmasoft/feature/result-import
Import the results of other test frameworks
Diffstat (limited to 'src/Progmasoft/Runner/Console.cpp')
-rw-r--r--src/Progmasoft/Runner/Console.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/Progmasoft/Runner/Console.cpp b/src/Progmasoft/Runner/Console.cpp
index 44765311..91691967 100644
--- a/src/Progmasoft/Runner/Console.cpp
+++ b/src/Progmasoft/Runner/Console.cpp
@@ -203,6 +203,21 @@ namespace Progmasoft::Catch3::Runner
}
void
+ ConsoleReport::ImportStarting(std::size_t tests, std::size_t files)
+ {
+ total_ = tests;
+ if (options_.verbosity == Verbosity::kQuiet)
+ {
+ return;
+ }
+ Write(output_,
+ Paint("Catch3", kBold) + ": " + std::to_string(tests)
+ + " test(s) imported from " + std::to_string(files)
+ + " report(s)\n");
+ std::fflush(output_);
+ }
+
+ void
ConsoleReport::Retrying(const TestResult &test, const Attempt &attempt)
{
if (options_.verbosity != Verbosity::kVerbose)