zenstruck/console-test
Test your Symfony Console commands with ease. zenstruck/console-test provides a lightweight harness to run commands, feed input, capture output, and assert exit codes and messages—ideal for fast, reliable unit/integration tests without booting full apps.
a90833d fix: Allow falsy values to be passed to addOption and to the command execution (#23) by @TristanPouliquen
f727837 feat: add assertFaulty assertion (#21) by @raphaelstolt
0625e55 chore: keep releases lean (#20) by @raphaelstolt
cd1366d feat: Symfony 7 support (#19) by @kbond d0ed4fe chore: run php-cs-fixer on php 8 by @kbond 5fe2744 feat: require php 8+, symfony 5.4+ (#18) by @kbond 2eb231b fix(ci): add token by @kbond 11fb61f chore(ci): fix by @kbond 6019627 chore: update ci config (#17) by @kbond e5c000b ci: fix (#16) by @kbond
19e0705 [feature] run commands via application (#8) by @kbond
12b200c [minor] refactor (#7) by @kbond 442d888 [feature] always use ConsoleOutput for tests (closes #6) (#7) by @kbond 48fb609 [feature] allow passing cli string to TestCommand::execute() (#5) by @kbond 7d6d6a0 [minor] add .editorconfig (#5) by @kbond aaa1597 [ci] use reusable workflows (#4) by @kbond
Initial pre-release.
How can I help you explore Laravel packages today?