Skip to content

Add screenshot test using ratatui TestBackend #170

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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

panarch
Copy link
Member

@panarch panarch commented Jun 15, 2025

Summary

  • expose App via lib.rs and create a new context_mut helper
  • refactor main.rs to use library modules
  • add integration test screenshot.rs that captures buffers with TestBackend
  • ignore generated frame_*.txt files

Testing

  • cargo test -q
  • cargo clippy --all-targets -- -D warnings

https://chatgpt.com/codex/tasks/task_e_684e58744b78832a9223b8386d9c44b1

@panarch panarch marked this pull request as draft June 15, 2025 05:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant