1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
// Copyright (c) 2021-2024 Espresso Systems (espressosys.com)
// This file is part of the HotShot repository.
// You should have received a copy of the MIT License
// along with the HotShot repository. If not, see <https://mit-license.org/>.
//! Testing infrastructure for `HotShot`
/// Helpers for initializing system context handle and building tasks.
pub mod helpers;
/// builder
pub mod test_builder;
/// launcher
pub mod test_launcher;
/// runner
pub mod test_runner;
/// task that's consuming events and asserting safety
pub mod overall_safety_task;
/// task that checks leaves received across all nodes from decide events for consistency
pub mod consistency_task;
/// task that's submitting transactions to the stream
pub mod txn_task;
/// task that decides when things are complete
pub mod completion_task;
/// task to spin nodes up and down
pub mod spinning_task;
/// the `TestTask` struct and associated trait/functions
pub mod test_task;
/// task for checking if view sync got activated
pub mod view_sync_task;
/// Test implementation of block builder
pub mod block_builder;
/// predicates to use in tests
pub mod predicates;
/// scripting harness for tests
pub mod script;
/// view generator for tests
pub mod view_generator;
/// byzantine framework for tests
pub mod byzantine;