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 std::filesystem::path cmake_cache_dir()
const;
32 const main_paths& main()
const noexcept {
return m_Main; }
35 const build_paths& build()
const noexcept {
return m_Build; }
48 using free_test::free_test;
51 std::filesystem::path source_file()
const;
56 void test_project_creation();
59 std::filesystem::path generated_project()
const;
61 void copy_aux_materials(
const std::filesystem::path& relativeFrom,
const std::filesystem::path& relativeTo)
const;
63 void create_run_and_check(std::string_view description,
const cmd_builder& b);
65 void run_and_check(std::string_view description,
const cmd_builder& b, std::string_view relOutputDir, std::string_view options);
67 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);
69 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.
Definition: ShellCommands.hpp:20
class template from which all concrete tests should derive.
Definition: FreeTestCore.hpp:144
Paths relating to the build directory.
Definition: ProjectPaths.hpp:227
Definition: TestRunnerEndToEndFreeTest.hpp:18
Paths relating to the main cpp.
Definition: ProjectPaths.hpp:66
Definition: TestRunnerEndToEndFreeTest.hpp:46