v0.24.0
What's New
Test Coverage Expansion (+82 tests)
This release significantly expands the test suite, covering modules that previously had no unit tests:
New test files:
| File | Tests | Covers |
|---|---|---|
test_local_helpers.bats |
13 | local_validate_env, local_check_ports, local_show_endpoints |
test_github_token.bats |
13 | Token permission checks, creation, revocation |
test_cmd_ship.bats |
8 | Ship command dry-run, flag parsing, env resolution |
test_tui.bats |
15 | Stack/command/env discovery, picker helpers |
test_audit.bats |
17 | Report generation, key categorization, stack suggestions |
test_remote_init.bats |
16 | Remote init dry-run, arg parsing, connection resolution |
Documentation Updates
- README now lists
shipandremote:initcommands - Wiki Contributing page updated with full test file reference table
- Wiki Project Structure updated with new modules and test files
- Steering files updated with BATS
fail()pattern guidance
Testing Approach
For SSH/Docker-dependent code, tests exercise:
- Dry-run paths (full execution plan without side effects)
- Argument parsing and flag combinations
- Pure helper functions (report generation, key categorization, stack discovery)
- Error handling (missing files, invalid inputs, dependency checks)