Skip to content

ext/readline: write test for readline CLI - #22994

Open
LamentXU123 wants to merge 5 commits into
php:masterfrom
LamentXU123:readline_test
Open

ext/readline: write test for readline CLI#22994
LamentXU123 wants to merge 5 commits into
php:masterfrom
LamentXU123:readline_test

Conversation

@LamentXU123

@LamentXU123 LamentXU123 commented Aug 2, 2026

Copy link
Copy Markdown
Member

ext/readline/readline_cli.c has little tests resulting to a 42% test coverage. There ain't any (or very few) behavioral tests to the whole CLI system. The test coverage is only coming from bug regression tests.

This PR offers basic behavior tests for ext/readline/readline_cli.c

@LamentXU123 LamentXU123 changed the title ext/readline: enhance test coverage ext/readline: enhance readline CLI test coverage Aug 2, 2026
@LamentXU123
LamentXU123 requested a review from iliaal August 2, 2026 08:24
@LamentXU123 LamentXU123 changed the title ext/readline: enhance readline CLI test coverage ext/readline: write test for readline CLI Aug 3, 2026
@LamentXU123
LamentXU123 requested a review from devnexen August 3, 2026 10:44
@devnexen

devnexen commented Aug 3, 2026

Copy link
Copy Markdown
Member

looks good but please wait for someone else review, I m definitely not the most appropriate person for this extension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants