prompt-toolkit / prompt-toolkit/python-prompt-toolkit

Testing full screen application

Open
#1,423 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
10.6k
Forks
815
PR merge metrics
No merged PRs in 30d

Description

Hi,

I am creating a full screen (TUI) application, and I was wondering if there is a way I can test it using pytest. More specifically, there are many keybindings in the application, and I would like to check somehow if the functions that are being called, when one of those keybindings are used, work properly or not.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Start by examining the project's existing pytest coverage for full-screen or keybinding behavior; done would require a clearly defined, maintainable way to exercise keybindings and verify the functions they invoke.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.