Skip to content

Add --show-skipped and --show-incomplete options#525

Merged
Chemaclass merged 3 commits intomainfrom
feat/524-show-skipped-incomplete
Nov 30, 2025
Merged

Add --show-skipped and --show-incomplete options#525
Chemaclass merged 3 commits intomainfrom
feat/524-show-skipped-incomplete

Conversation

@Chemaclass
Copy link
Copy Markdown
Member

@Chemaclass Chemaclass commented Nov 29, 2025

📚 Description

Add two new command-line options to display skipped and incomplete tests at the end of the test output, similar to how failed tests are already displayed.

Problem: When running tests with simple output (-s|--simple), skipped and incomplete tests only show as single characters (S or I), making it hard to identify which tests need attention.

Solution: Add opt-in flags to display a summary of skipped and incomplete tests at the end:

  • --show-skipped - displays skipped tests with file location and reason
  • --show-incomplete - displays incomplete tests with file location and pending details

🎯 Usage Examples

Show skipped tests at the end

./bashunit --show-skipped tests/
..S.S..

There were 2 skipped tests:

|1) tests/acceptance/bashunit_init_test.sh:36
|↷ Skipped: Bashunit init updates env    flaky
|2) tests/acceptance/bashunit_upgrade_test.sh:42
|↷ Skipped: Do not upgrade when latest    failing when having a new release

Tests:      10 passed, 2 skipped, 12 total

Show incomplete tests at the end

./bashunit --show-incomplete tests/
..I..

There was 1 incomplete test:

|1) tests/acceptance/bashunit_test.sh:5
|✒ Incomplete: Bashunit should display version    Add snapshots with regex

Tests:      4 passed, 1 incomplete, 5 total

Combine both options

./bashunit --show-skipped --show-incomplete tests/

Use with simple output

./bashunit --simple --show-skipped --show-incomplete tests/

🔖 Changes

  • Add BASHUNIT_SHOW_SKIPPED and BASHUNIT_SHOW_INCOMPLETE environment variables
  • Add --show-skipped and --show-incomplete CLI options
  • Track skipped/incomplete test output for end-of-run summary
  • Add acceptance tests for the new functionality

🖼️ Demo

Screenshot 2025-11-29 at 23 44 59 Screenshot 2025-11-29 at 23 46 07

✅ Checklist

  • I updated the CHANGELOG.md to reflect the new feature
  • I updated the documentation to reflect the changes
  • Tests pass locally

Closes #524

Add options to display skipped and incomplete tests summary at the end
of test output, similar to how failed tests are displayed.

- `--show-skipped` - displays skipped tests with their file location and reason
- `--show-incomplete` - displays incomplete tests with their file location and details

Closes #524
@Chemaclass Chemaclass added the enhancement New feature or request label Nov 29, 2025
@Chemaclass Chemaclass self-assigned this Nov 29, 2025
@Chemaclass Chemaclass added the enhancement New feature or request label Nov 29, 2025
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@Chemaclass Chemaclass changed the title Show skipped incomplete feat: add --show-skipped and --show-incomplete options Nov 29, 2025
@Chemaclass Chemaclass marked this pull request as draft November 29, 2025 18:08
@Chemaclass Chemaclass force-pushed the feat/524-show-skipped-incomplete branch from 8e9faeb to 0592931 Compare November 29, 2025 22:45
@Chemaclass Chemaclass changed the title feat: add --show-skipped and --show-incomplete options Add --show-skipped and --show-incomplete options Nov 29, 2025
@Chemaclass Chemaclass marked this pull request as ready for review November 29, 2025 22:46
@Chemaclass Chemaclass force-pushed the feat/524-show-skipped-incomplete branch from 3bed796 to e286a07 Compare November 29, 2025 22:52
@TypedDevs TypedDevs deleted a comment from chatgpt-codex-connector Bot Nov 29, 2025
@antonio-gg-dev
Copy link
Copy Markdown
Member

@codex

@chatgpt-codex-connector
Copy link
Copy Markdown

Summary

  • Unable to perform additional actions because Codex usage limits for code reviews have been reached.

Testing

  • ⚠️ No tests run (usage limit reached).

View task →

@Chemaclass Chemaclass merged commit b996cd3 into main Nov 30, 2025
15 checks passed
@Chemaclass Chemaclass deleted the feat/524-show-skipped-incomplete branch November 30, 2025 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow displaying all skipped and incomplete tests at the end

3 participants