You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: enhance testing documentation and command help
- Updated CLAUDE.md to reflect the introduction of BATS tests for core functions and clarified the manual testing process.
- Enhanced CONTRIBUTING.md with detailed instructions for running automated tests and manual testing across different platforms.
- Added help command functionality to various command scripts, providing users with guidance on command usage.
- Introduced a new launch.sh script for managing editor and AI tool interactions, improving the overall command structure and user experience.
- Merged copy pattern handling into a single function for better maintainability and clarity in the copy command workflow.
-**User-facing docs**: Always reference `git gtr`, never `./bin/gtr`
14
14
15
-
## CRITICAL: No Automated Tests
15
+
## Testing
16
16
17
-
This project has **no test suite**. All testing is manual. After any change, run the relevant smoke tests:
17
+
This project uses **BATS tests** for core functions and **manual smoke tests** for end-to-end workflows. After any change:
18
+
19
+
1. Run automated tests: `bats tests/`
20
+
2. Run relevant manual smoke tests:
18
21
19
22
```bash
20
23
./bin/gtr new test-feature # Create worktree
@@ -25,7 +28,7 @@ This project has **no test suite**. All testing is manual. After any change, run
25
28
./bin/gtr rm test-feature # Clean up
26
29
```
27
30
28
-
For exhaustive testing (hooks, copy patterns, adapters, `--force`, `--from-current`, etc.), see the full checklist in CONTRIBUTING.md or `.github/instructions/testing.instructions.md`.
31
+
For exhaustive manual testing (hooks, copy patterns, adapters, `--force`, `--from-current`, etc.), see the full checklist in CONTRIBUTING.md or `.github/instructions/testing.instructions.md`.
29
32
30
33
**Tip**: Use a disposable repo for testing to avoid polluting your working tree:
0 commit comments