Sequoia
Loading...
Searching...
No Matches
Classes | Enumerations | Functions | Variables
TestRunner.hpp File Reference

Utilities for running tests from the command line. More...

#include "sequoia/TestFramework/DependencyAnalyzer.hpp"
#include "sequoia/TestFramework/PerformanceTestCore.hpp"
#include "sequoia/TestFramework/TestLogger.hpp"
#include "sequoia/Core/Logic/Bitmask.hpp"
#include "sequoia/Core/Object/Suite.hpp"
#include "sequoia/Maths/Graph/DynamicTree.hpp"
#include "sequoia/PlatformSpecific/Helpers.hpp"
#include "sequoia/TextProcessing/Indent.hpp"
#include <iostream>
#include <chrono>
#include <set>

Go to the source code of this file.

Classes

struct  as_bitmask< sequoia::testing::recovery_mode >
 
class  sequoia::testing::test_vessel
 
class  sequoia::testing::test_runner
 Consumes command-line arguments and holds all test suites. More...
 

Enumerations

enum class  runner_mode {
  none =0 , help =1 , test =2 , create =4 ,
  init =8
}
 
enum class  update_mode { none = 0 , soft }
 
enum class  recovery_mode { none = 0 , recovery = 1 , dump = 2 }
 
enum class  prune_outcome { not_attempted , no_time_stamp , success }
 
enum class  sequoia::testing::concurrency_mode { serial , dynamic , fixed }
 

Functions

individual_materials_paths sequoia::testing::set_materials (const std::filesystem::path &sourceFile, const project_paths &projPaths, std::vector< std::filesystem::path > &materialsPaths)
 
template<concrete_test T>
std::optional< std::string > sequoia::testing::get_output_discriminator (const T &test)
 
template<concrete_test T>
std::optional< std::string > sequoia::testing::get_reduction_discriminator (const T &test)
 

Variables

 NAMESPACE_SEQUOIA_AS_BITMASK
 

Detailed Description

Utilities for running tests from the command line.

Enumeration Type Documentation

◆ concurrency_mode

Enumerator
dynamic 

serial execution

fixed 

determined implicitly by the stl

fixed-size thread pool

Variable Documentation

◆ NAMESPACE_SEQUOIA_AS_BITMASK

NAMESPACE_SEQUOIA_AS_BITMASK
Initial value:
{
template<>
struct as_bitmask<sequoia::testing::runner_mode> : std::true_type {}