Skip to content

Conversation

@Chemaclass
Copy link
Member

📚 Description

Related #466

Idea from @akinomyoga, thanks!

🔖 Changes

  • Introduced a new assert_exec helper that executes a command, captures exit status, stdout, and stderr, and validates all expectations together for concise command checks

  • Added unit tests demonstrating successful and failing scenarios for assert_exec, ensuring coverage of exit codes and output assertions

  • Documented assert_exec usage and options in the assertions guide so users can quickly adopt the new helper

  • Updated the changelog to highlight the new consolidated execution assertion in the unreleased notes

✅ To-do list

  • I updated the CHANGELOG.md to reflect the new feature or fix
  • I updated the documentation to reflect the changes

@Chemaclass Chemaclass self-assigned this Aug 2, 2025
@Chemaclass Chemaclass added the enhancement New feature or request label Aug 2, 2025
@Chemaclass Chemaclass force-pushed the feat/466-assert-exec branch from c0e00a5 to 256f1d2 Compare August 3, 2025 11:49
@Chemaclass Chemaclass merged commit 64e82e1 into main Aug 3, 2025
18 checks passed
@Chemaclass Chemaclass deleted the feat/466-assert-exec branch August 3, 2025 11:53
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.

3 participants