Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

docs(testing): Add fzf selection cookbook - #138

Merged
tony merged 1 commit into
masterfrom
concept/fzf-cookbook
Dec 5, 2026
Merged

tony merged 1 commit into
masterfrom
concept/fzf-cookbook

Conversation

@tony

@tony tony commented Dec 1, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Add a standalone Select or cancel in fzf cookbook section in docs/topics/testing.md (with committed-frame ?2026 and ?1049 alt-screen restore guidance), linked from README.md (## Features) and CHANGES.
  • Add tests/test_fzf_cookbook.py covering real fzf integration (Enter, Escape, Ctrl-C, prompt/cursor, alt-screen entry, primary-screen restore, shim-safe Path.absolute()) plus a deterministic pure-Python POSIX PTY picker companion running on every POSIX CI runner.

Fixes #132

@tony
tony force-pushed the concept/fzf-cookbook branch from ec1aff8 to 54616ef Compare December 1, 2026 03:29
tony added a commit that referenced this pull request Dec 3, 2026
why: Record the branch's user-visible change in the unreleased notes.

what:
- Add the #138 entry to the Documentation section of CHANGES
@tony
tony force-pushed the concept/fzf-cookbook branch from ed24284 to 18211de Compare December 3, 2026 23:58
@tony
tony force-pushed the concept/fzf-cookbook branch from 18211de to a1d1ade Compare December 5, 2026 14:48
@tony
tony force-pushed the concept/fzf-cookbook branch from a1d1ade to cd0fdd2 Compare December 5, 2026 15:06
@tony
tony force-pushed the concept/fzf-cookbook branch from cd0fdd2 to 618e28f Compare December 5, 2026 15:30
why: Interactive pickers like fzf separate candidate stdin, controlling
TTY UI (?1049/?2026), and selected stdout, so testing them requires
redirecting I/O files while driving a private PTY.

what:
- Add a standalone fzf selection and cancellation cookbook section in
  docs/topics/testing.md linked from README.md and CHANGES, explaining
  committed-frame assertions across ?2026 redraws and ?1049 restore.
- Add tests/test_fzf_cookbook.py with real fzf integration tests (Enter,
  Escape, Ctrl-C, alt-screen restore, shim-safe Path.absolute) plus a
  deterministic pure-Python PTY picker companion running on every POSIX
  CI runner.

Fixes #132
@tony
tony force-pushed the concept/fzf-cookbook branch from 618e28f to 22c9357 Compare December 5, 2026 17:34
@tony tony changed the title Concept: Test fzf selection and cancellation docs(testing): Add fzf selection cookbook Dec 5, 2026
@tony
tony marked this pull request as ready for review December 5, 2026 17:34
@tony
tony merged commit c33aee3 into master Dec 5, 2026
9 checks passed
@tony
tony deleted the concept/fzf-cookbook branch December 5, 2026 17:39

This branch was successfully deployed

1 active deployment
docs — 22c93571 Deployed Dec 5, 2026 by tony via build (3.14) #516
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.

Show how to test fzf selection and cancellation

1 participant