Skip to content

test: refactor tests on BaseCommand and Commands#10103

Merged
michalsn merged 1 commit intocodeigniter4:developfrom
paulbalandan:refactor-command-tests
Apr 12, 2026
Merged

test: refactor tests on BaseCommand and Commands#10103
michalsn merged 1 commit intocodeigniter4:developfrom
paulbalandan:refactor-command-tests

Conversation

@paulbalandan
Copy link
Copy Markdown
Member

Description
For 100% test coverage on those classes.

Also, I removed the test on the ordering of parsed arguments of command() as it was never intended to be part of the public API.

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value (without duplication)
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@paulbalandan paulbalandan force-pushed the refactor-command-tests branch from ac17c2b to c2c3cf9 Compare April 12, 2026 13:20
@michalsn michalsn merged commit 246cbd4 into codeigniter4:develop Apr 12, 2026
60 of 61 checks passed
@paulbalandan paulbalandan deleted the refactor-command-tests branch April 12, 2026 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants