20namespace sequoia::testing
22 enum class build_invocation { no = 0, yes, launch_ide };
23 enum class git_invocation :
bool { no = 0, yes};
27 std::string copyright{};
28 std::filesystem::path project_root{};
30 build_invocation do_build{build_invocation::launch_ide};
31 git_invocation use_git{git_invocation::yes};
32 std::filesystem::path output{};
37 void generate_test_main(std::string_view copyright,
const std::filesystem::path& projRoot,
indentation codeIndent);
39 void generate_build_system_files(
const std::filesystem::path& parentProjRoot,
const std::filesystem::path& projRoot);
42 build_paths make_new_build_paths(
const std::filesystem::path& projectRoot,
const build_paths& parentBuildPaths);
44 void init_projects(
const project_paths& parentProjectPaths,
const std::vector<project_data>& projects, std::ostream& stream);
47 runtime::shell_command git_first_cmd(
const std::filesystem::path& root,
const std::filesystem::path& output);
Shell Command specifically for the testing framework.
A collection of functions for formatting test output.
File paths pertaining to a sequoia project.
Type-safe mechanism for indentations.
Definition: Indent.hpp:22
Definition: ShellCommands.hpp:20
Paths relating to the build directory.
Definition: ProjectPaths.hpp:227
Paths used by the project.
Definition: ProjectPaths.hpp:469
Definition: ProjectCreator.hpp:26