-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tests: add base tests for commands #27
Conversation
If anyone has an idea what is going on with rector, I would appreciate any hint. Locally everything is passing on my machine 🤷♂️ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like the CLITestCase might be a good test trait to add to the core....
This is rather a temporary solution. Thanks to @kenjis we already have very good Mocking for CLI: https://github.com/codeigniter4/CodeIgniter4/blob/4.5/system/Test/Mock/MockInputOutput.php, but it will be released with v4.5. |
Ah, ok, nice! I missed that one. |
The version is too old. |
Description
This PR adds basic tests for commands.
Checklist: