Skip to content

Move TUI app tests to modules they cover#18799

Merged
etraut-openai merged 1 commit intomainfrom
etraut/localize-tui-app-tests
Apr 21, 2026
Merged

Move TUI app tests to modules they cover#18799
etraut-openai merged 1 commit intomainfrom
etraut/localize-tui-app-tests

Conversation

@etraut-openai
Copy link
Copy Markdown
Collaborator

@etraut-openai etraut-openai commented Apr 21, 2026

Summary

The TUI app refactor in #18753 moved the old app.rs tests into a single app/tests.rs file. That kept the split mechanically simple, but it left several focused unit tests far from the modules they exercise.

This PR is a follow-up that moves tests next to the code they cover.

It also adds tui/src/app/test_support.rs for shared fixture construction.

This is just a mechanical refactoring (no functional changes) and does not affect any production code.

@etraut-openai etraut-openai changed the title Localize TUI app tests Move TUI app unit tests to break to modules they cover Apr 21, 2026
@etraut-openai etraut-openai changed the title Move TUI app unit tests to break to modules they cover Move TUI app tests to modules they cover Apr 21, 2026
@etraut-openai etraut-openai merged commit 4ed722a into main Apr 21, 2026
25 checks passed
@etraut-openai etraut-openai deleted the etraut/localize-tui-app-tests branch April 21, 2026 17:16
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants