Expand description
Self-test spec for testing autom8 itself.
Provides a hardcoded trivial spec that exercises the normal autom8 flow
without modifying any real code. The spec creates and modifies a dummy
file (test_output.txt) in the repo root.
Structs§
- Cleanup
Result - Result of a cleanup operation with details about what was cleaned.
Constants§
- SELF_
TEST_ BRANCH - Branch name used for self-test runs.
- SELF_
TEST_ FILE - Target file for self-test operations.
- SELF_
TEST_ SPEC_ FILENAME - Filename for the self-test spec in the config directory.
Functions§
- cleanup_
self_ test - Clean up all self-test artifacts.
- create_
self_ test_ spec - Creates the hardcoded self-test spec.
- print_
cleanup_ results - Print cleanup results.
- print_
failure_ details - Print detailed error information before cleanup (for failure cases).