mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 21:35:54 +03:00
[GH-ISSUE #894] What is the best way to test a tview application? #651
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#651
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @paololazzari on GitHub (Oct 2, 2023).
Original GitHub issue: https://github.com/rivo/tview/issues/894
Is there any recommended way of doing this? Since
App.Run()obviously blocks the screen@paololazzari commented on GitHub (Oct 3, 2023):
Thank you @digitallyserviced , that helps.
If we take as an example what we discussed here, how could one inject text in the input field and then later verify that the text view contained the same text?
@paololazzari commented on GitHub (Oct 4, 2023):
Thank you very much @digitallyserviced , so it seems like all of the logic has to take place in the source code of the app itself
@paololazzari commented on GitHub (Oct 5, 2023):
Thanks @digitallyserviced