refactor: rebrand bash-helper to super-man + ESC returns straight to menu
Rename bash-helper.sh -> super-man.sh and update all docs/tests to the super-man name and alias. In interactive mode, pressing Esc in the flag browser now returns directly to the home menu, removing the intermediary "Press Enter to search another command" prompt. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
+14
-14
@@ -1,6 +1,6 @@
|
||||
# Bash Buddy Test Suite
|
||||
# Super Man Test Suite
|
||||
|
||||
Comprehensive testing framework for Bash Buddy with performance analysis and automated reporting.
|
||||
Comprehensive testing framework for Super Man with performance analysis and automated reporting.
|
||||
|
||||
## Overview
|
||||
|
||||
@@ -177,7 +177,7 @@ Interactive HTML dashboard with:
|
||||
|
||||
### Required
|
||||
- **bash** 4.0+ - Shell interpreter
|
||||
- **bash-helper.sh** - Script being tested
|
||||
- **super-man.sh** - Script being tested
|
||||
|
||||
### Optional
|
||||
- **jq** - JSON parsing (for detailed analysis)
|
||||
@@ -210,7 +210,7 @@ brew install jq fzf expect bc
|
||||
**Output:**
|
||||
```
|
||||
═══════════════════════════════════════════════════════════
|
||||
Bash Buddy Test Suite
|
||||
Super Man Test Suite
|
||||
2025-01-XX XX:XX:XX
|
||||
═══════════════════════════════════════════════════════════
|
||||
|
||||
@@ -218,7 +218,7 @@ brew install jq fzf expect bc
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
|
||||
Test #1: Help display (--help)
|
||||
✓ PASSED (45ms) - Output contains: "Bash Buddy"
|
||||
✓ PASSED (45ms) - Output contains: "Super Man"
|
||||
|
||||
Test #2: List all commands (--list)
|
||||
✓ PASSED (32ms) - Output contains: "Available commands"
|
||||
@@ -257,7 +257,7 @@ Pass Rate: 95%
|
||||
**Output:**
|
||||
```
|
||||
═══════════════════════════════════════════════════════════
|
||||
Bash Buddy Performance Analysis
|
||||
Super Man Performance Analysis
|
||||
2025-01-XX XX:XX:XX
|
||||
═══════════════════════════════════════════════════════════
|
||||
|
||||
@@ -290,7 +290,7 @@ exit $EXIT_CODE
|
||||
### GitHub Actions Example
|
||||
|
||||
```yaml
|
||||
name: Test Bash Buddy
|
||||
name: Test Super Man
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
@@ -444,7 +444,7 @@ print_section "Custom Tests"
|
||||
|
||||
run_test_with_output_check \
|
||||
"My custom test" \
|
||||
"../bash-helper.sh ask 'my query'" \
|
||||
"../super-man.sh ask 'my query'" \
|
||||
"expected output"
|
||||
|
||||
print_summary
|
||||
@@ -498,15 +498,15 @@ Run test and verify output contains expected string.
|
||||
```bash
|
||||
run_test_with_output_check \
|
||||
"Help test" \
|
||||
"./bash-helper.sh --help" \
|
||||
"Bash Buddy"
|
||||
"./super-man.sh --help" \
|
||||
"Super Man"
|
||||
```
|
||||
|
||||
#### `run_benchmark(name, command, iterations)`
|
||||
Run performance benchmark with statistics.
|
||||
|
||||
```bash
|
||||
run_benchmark "Ask mode" "./bash-helper.sh ask 'test'" 10
|
||||
run_benchmark "Ask mode" "./super-man.sh ask 'test'" 10
|
||||
```
|
||||
|
||||
#### `skip_test(name, reason)`
|
||||
@@ -612,7 +612,7 @@ A: Yes, but be careful with shared resources (log files, etc.)
|
||||
A: No, unless installing dependencies
|
||||
|
||||
**Q: Will tests modify my system?**
|
||||
A: No, tests only read/execute bash-helper.sh
|
||||
A: No, tests only read/execute super-man.sh
|
||||
|
||||
**Q: Can I run tests on macOS?**
|
||||
A: Yes, with dependencies installed via Homebrew
|
||||
@@ -632,7 +632,7 @@ A: Check `tests/logs/test_N_*.log` for detailed output
|
||||
|
||||
## License
|
||||
|
||||
Same as Bash Buddy - see main repository
|
||||
Same as Super Man - see main repository
|
||||
|
||||
## Support
|
||||
|
||||
@@ -642,6 +642,6 @@ Same as Bash Buddy - see main repository
|
||||
|
||||
---
|
||||
|
||||
**Bash Buddy Test Suite v1.0.0**
|
||||
**Super Man Test Suite v1.0.0**
|
||||
|
||||
Ensuring quality and performance at every commit! 🚀
|
||||
|
||||
Reference in New Issue
Block a user