diff options
| author | Leitwolf | 2026-11-01 15:29:13 +0300 |
|---|---|---|
| committer | GitHub | 2026-11-01 15:29:13 +0300 |
| commit | b7fe8c2061c98e7aec886e9b1e6282f48c3b5456 (patch) | |
| tree | f933300c29658c3eb89d126d74b6c30fdff9dd04 /src/Progmasoft/Runner/Console.cpp | |
| parent | 1559307a6ac7731ffd6a8e28147552b3987dbd93 (diff) | |
| parent | 569620dad14df7e13bb9fd31d256e9fd873ef6ec (diff) | |
| download | catch3-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.cpp | 15 |
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) |