Sequoia
Loading...
Searching...
No Matches
Classes | Public Member Functions | List of all members
sequoia::testing::test_runner Class Reference

Consumes command-line arguments and holds all test suites. More...

#include <TestRunner.hpp>

Public Member Functions

 test_runner (int argc, char **argv, std::string copyright, std::string codeIndent=" ", const project_paths::customizer &projectPathsCustomization={}, std::ostream &stream=std::cout)
 
 test_runner (const test_runner &)=delete
 
 test_runner (test_runner &&) noexcept=default
 
test_runneroperator= (const test_runner &)=delete
 
test_runneroperator= (test_runner &&) noexcept=default
 
template<concrete_test... Tests>
requires (sizeof...(Tests) > 0)
void add_test_suite (std::string_view name, Tests &&... tests)
 
template<class... Suites>
requires (object::is_suite_v<Suites> && ...)
void add_test_suite (std::string_view name, Suites... s)
 
void execute (timer_resolution r={})
 
std::ostream & stream () noexcept
 
const project_pathsproj_paths () const noexcept
 
const std::string & copyright () const noexcept
 
const indentationcode_indent () const noexcept
 

Detailed Description

Consumes command-line arguments and holds all test suites.

If no arguments are specified, all tests are run; run with –help for information on the various options.


The documentation for this class was generated from the following files: