15namespace sequoia::testing
22 void create_build_run(
const std::filesystem::path& creationOutput, std::string_view buildOutput,
const std::filesystem::path& output)
const;
24 void rebuild_run(
const std::filesystem::path& outputDir, std::string_view cmakeOutput, std::string_view buildOutput, std::string_view options)
const;
26 void run_executable(
const std::filesystem::path& outputDir, std::string_view options)
const;
29 const std::filesystem::path& cmake_cache_dir()
const;
32 const main_paths& get_main_paths()
const noexcept {
return m_Main; }
35 const build_paths& get_build_paths()
const noexcept {
return m_Build; }
44 using free_test::free_test;
47 std::filesystem::path source_file()
const;
50 std::string summary_discriminator()
const
52 return with_msvc_v ?
"msvc" : std::string{};
57 void test_project_creation();
60 std::filesystem::path generated_project()
const;
62 void copy_aux_materials(
const std::filesystem::path& relativeFrom,
const std::filesystem::path& relativeTo)
const;
64 void create_run_and_check(std::string_view description,
const cmd_builder& b);
66 void run_and_check(std::string_view description,
const cmd_builder& b, std::string_view relOutputDir, std::string_view options);
68 void rebuild_run_and_check(std::string_view description,
const cmd_builder& b, std::string_view relOutputDir, std::string_view CMakeOutput, std::string_view BuildOutput, std::string_view options);
70 void check_project_files(std::string_view description,
const cmd_builder& b);
Shell Command specifically for the testing framework.
Core functionality for the testing framework.
class template from which all concrete tests should derive.
Definition: FreeTestCore.hpp:144
Paths relating to the build directory.
Definition: ProjectPaths.hpp:226
Definition: TestRunnerEndToEndFreeTest.hpp:18
Paths relating to the main cpp.
Definition: ProjectPaths.hpp:65
Definition: TestRunnerEndToEndFreeTest.hpp:42