|
1 | 1 | #!/bin/bash |
2 | 2 | #=============================================================================== |
3 | 3 | # bkit-gemini Comprehensive Test Runner |
4 | | -# Version: 1.5.0 |
| 4 | +# Version: 1.5.3 |
5 | 5 | # Purpose: Execute all test cases defined in bkit-gemini-comprehensive-test.design.md |
6 | 6 | # Executor: Gemini CLI |
7 | 7 | #=============================================================================== |
@@ -178,10 +178,10 @@ run_commands_toml_tests() { |
178 | 178 | echo -e "\n${YELLOW}Testing:${NC} CMD-03 - TOML File Count" |
179 | 179 | local toml_count |
180 | 180 | toml_count=$(find "$BKIT_DIR/commands" -name "*.toml" 2>/dev/null | wc -l | tr -d ' ') |
181 | | - if [ "$toml_count" -eq 10 ]; then |
182 | | - log_pass "CMD-03: Found 10 TOML command files" |
| 181 | + if [ "$toml_count" -eq 18 ]; then |
| 182 | + log_pass "CMD-03: Found 18 TOML command files" |
183 | 183 | else |
184 | | - log_fail "CMD-03: Expected 10 TOML files, found $toml_count" |
| 184 | + log_fail "CMD-03: Expected 18 TOML files, found $toml_count" |
185 | 185 | fi |
186 | 186 |
|
187 | 187 | # CMD-04 to CMD-13: Individual Command File Tests |
@@ -268,10 +268,10 @@ run_skills_metadata_tests() { |
268 | 268 | echo -e "\n${YELLOW}Testing:${NC} SKILL-META-04 - Skills Count" |
269 | 269 | local skills_count |
270 | 270 | skills_count=$(find "$BKIT_DIR/skills" -name "SKILL.md" 2>/dev/null | wc -l | tr -d ' ') |
271 | | - if [ "$skills_count" -eq 21 ]; then |
272 | | - log_pass "SKILL-META-04: Found 21 SKILL.md files" |
| 271 | + if [ "$skills_count" -eq 29 ]; then |
| 272 | + log_pass "SKILL-META-04: Found 29 SKILL.md files" |
273 | 273 | else |
274 | | - log_fail "SKILL-META-04: Expected 21 SKILL.md files, found $skills_count" |
| 274 | + log_fail "SKILL-META-04: Expected 29 SKILL.md files, found $skills_count" |
275 | 275 | fi |
276 | 276 | } |
277 | 277 |
|
@@ -309,10 +309,10 @@ run_agents_metadata_tests() { |
309 | 309 | echo -e "\n${YELLOW}Testing:${NC} AGENT-META-02 - Agents Count" |
310 | 310 | local agents_count |
311 | 311 | agents_count=$(find "$BKIT_DIR/agents" -name "*.md" 2>/dev/null | wc -l | tr -d ' ') |
312 | | - if [ "$agents_count" -eq 11 ]; then |
313 | | - log_pass "AGENT-META-02: Found 11 agent files" |
| 312 | + if [ "$agents_count" -eq 16 ]; then |
| 313 | + log_pass "AGENT-META-02: Found 16 agent files" |
314 | 314 | else |
315 | | - log_fail "AGENT-META-02: Expected 11 agent files, found $agents_count" |
| 315 | + log_fail "AGENT-META-02: Expected 16 agent files, found $agents_count" |
316 | 316 | fi |
317 | 317 | } |
318 | 318 |
|
@@ -341,11 +341,11 @@ run_extension_config_tests() { |
341 | 341 |
|
342 | 342 | # EXT-02: Version check |
343 | 343 | ((TOTAL_TESTS++)) |
344 | | - echo -e "\n${YELLOW}Testing:${NC} EXT-02 - Version is 1.5.0" |
345 | | - if grep -q '"version": "1.5.0"' "$BKIT_DIR/gemini-extension.json"; then |
346 | | - log_pass "EXT-02: Version is 1.5.0" |
| 344 | + echo -e "\n${YELLOW}Testing:${NC} EXT-02 - Version is 1.5.3" |
| 345 | + if grep -q '"version": "1.5.3"' "$BKIT_DIR/gemini-extension.json"; then |
| 346 | + log_pass "EXT-02: Version is 1.5.3" |
347 | 347 | else |
348 | | - log_fail "EXT-02: Version is not 1.5.0" |
| 348 | + log_fail "EXT-02: Version is not 1.5.3" |
349 | 349 | fi |
350 | 350 |
|
351 | 351 | # EXT-03: contextFileName is GEMINI.md |
@@ -558,7 +558,7 @@ print_summary() { |
558 | 558 | main() { |
559 | 559 | echo "" |
560 | 560 | echo -e "${BLUE}╔══════════════════════════════════════════════════════════════════╗${NC}" |
561 | | - echo -e "${BLUE}║ bkit-gemini Comprehensive Test Suite v1.5.0 ║${NC}" |
| 561 | + echo -e "${BLUE}║ bkit-gemini Comprehensive Test Suite v1.5.3 ║${NC}" |
562 | 562 | echo -e "${BLUE}║ Testing: Commands TOML, Skills, Agents, Hooks, Library ║${NC}" |
563 | 563 | echo -e "${BLUE}╚══════════════════════════════════════════════════════════════════╝${NC}" |
564 | 564 | echo "" |
|
0 commit comments