SurefireTestReportGenerator.hpp
1 // @formatter:off
2 //
3 // Balau core C++ library
4 //
5 // Copyright (C) 2008 Bora Software (contact@borasoftware.com)
6 //
7 // Licensed under the Boost Software License - Version 1.0 - August 17th, 2003.
8 // See the LICENSE file for the full license text.
9 //
10 
11 #ifndef COM_BORA_SOFTWARE__BALAU_TESTING_REPORTERS__SUREFIRE_TEST_REPORT_GENERATOR
12 #define COM_BORA_SOFTWARE__BALAU_TESTING_REPORTERS__SUREFIRE_TEST_REPORT_GENERATOR
13 
14 #include <Balau/Testing/Impl/TestReportGenerator.hpp>
15 
16 namespace Balau::Testing::Reporters {
17 
21 class SurefireTestReportGenerator : public Impl::TestReportGenerator {
22  public: SurefireTestReportGenerator() = default;
23 
24  public: explicit SurefireTestReportGenerator(Resource::File outputFolder_)
25  : Impl::TestReportGenerator(std::move(outputFolder_)) {}
26 
27  public: void generate(const Impl::TestGroupBase & group,
28  const std::chrono::nanoseconds & groupDuration,
29  const std::vector<const Impl::TestResult *> & groupTestResults) override;
30 };
31 
32 } // namespace Balau::Testing::Reporters
33 
34 #endif // COM_BORA_SOFTWARE__BALAU_TESTING_REPORTERS__SUREFIRE_TEST_REPORT_GENERATOR
A file on the local file system.
Definition: File.hpp:35
Definition: SurefireTestReportGenerator.hpp:16
Test group report generator that generates XML reports with the Maven Surefire plugin schema...
Definition: SurefireTestReportGenerator.hpp:21