Skip to content

Show captured output for assertion failures#641

Merged
Chemaclass merged 1 commit intomainfrom
feat/637-print-from-test-if-anything-was-logged-to-stderr-and-asserti
Apr 26, 2026
Merged

Show captured output for assertion failures#641
Chemaclass merged 1 commit intomainfrom
feat/637-print-from-test-if-anything-was-logged-to-stderr-and-asserti

Conversation

@Chemaclass
Copy link
Copy Markdown
Member

Summary

  • show captured test output for assertion failures when --show-output is enabled
  • filter bashunit-rendered status/progress lines out of assertion failure output sections
  • document the broader --show-output behavior and add changelog entry

Closes #637

Tests

  • ./bashunit --no-parallel tests/unit/runner_test.sh tests/acceptance/bashunit_show_output_on_failure_test.sh
  • env -u NO_COLOR ./bashunit --no-parallel tests/acceptance/bashunit_fail_test.sh tests/acceptance/bashunit_stop_on_failure_test.sh
  • make lint
  • make sa
  • npm run docs:build
  • env -u NO_COLOR make test

@Chemaclass Chemaclass self-assigned this Apr 26, 2026
@Chemaclass Chemaclass added the enhancement New feature or request label Apr 26, 2026
@Chemaclass Chemaclass force-pushed the feat/637-print-from-test-if-anything-was-logged-to-stderr-and-asserti branch from 02fa713 to f4872a4 Compare April 26, 2026 21:34
@Chemaclass Chemaclass enabled auto-merge (squash) April 26, 2026 21:38
@Chemaclass Chemaclass merged commit 946fb05 into main Apr 26, 2026
30 checks passed
@Chemaclass Chemaclass deleted the feat/637-print-from-test-if-anything-was-logged-to-stderr-and-asserti branch April 26, 2026 21:39
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.

Print from test if anything was logged to stderr and assertion(s) failed

2 participants