17namespace sequoia::testing
19 enum class prune_mode { passive, active };
21 std::vector<std::filesystem::path>& read_tests(
const std::filesystem::path& file, std::vector<std::filesystem::path>& tests);
24 std::vector<std::filesystem::path> read_tests(
const std::filesystem::path& file);
26 void write_tests(
const project_paths& projPaths,
const std::filesystem::path& file,
const std::vector<std::filesystem::path>& tests);
29 std::optional<std::vector<std::filesystem::path>> tests_to_run(
const project_paths& projPaths, std::string_view cutoff);
31 void update_prune_files(
const project_paths& projPaths,
32 std::vector<std::filesystem::path> failedTests,
33 std::filesystem::file_time_type updateTime,
34 std::optional<std::size_t>
id);
36 void update_prune_files(
const project_paths& projPaths,
37 std::vector<std::filesystem::path> executedTests,
38 std::vector<std::filesystem::path> failedTests,
39 std::optional<std::size_t>
id);
41 void setup_instability_analysis_prune_folder(
const project_paths& projPaths);
43 void aggregate_instability_analysis_prune_files(
const project_paths& projPaths, prune_mode mode, std::filesystem::file_time_type timeStamp, std::size_t numReps);
File paths pertaining to a sequoia project.