Metraipolis › archive › dc_38551c585635
Can LLMs Test Terminal User Interfaces? — arXiv:2608.03743
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.03743
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-31T12:19:34.012Z
- SHA-256 of the archived text
e57aafc502d752a84308346ed1f2f210bd726cba8f86b8dd52be8c472d5b67a9- Stable URL of this page
https://metraipolis.com/documento/dc_38551c585635
How to cite
Can LLMs Test Terminal User Interfaces? — arXiv:2608.03743 — arXiv (en), https://arxiv.org/abs/2608.03743 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_38551c585635 (Metraipolis archive dc_38551c585635, sha256 e57aafc502d752a84308346ed1f2f210bd726cba8f86b8dd52be8c472d5b67a9)
BibTeX
@misc{dc38551c585635,
title = {Can LLMs Test Terminal User Interfaces? — arXiv:2608.03743},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.03743},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_38551c585635; sha256 e57aafc502d752a84308346ed1f2f210bd726cba8f86b8dd52be8c472d5b67a9},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.03743. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Terminal User Interfaces (TUIs) combine the stateful, screen-oriented behaviour of GUIs with terminal deployment and are now common in developer tools. Yet they lack a dedicated testing methodology. We survey 197 real-world TUI applications: only 12% of test code exercises the interface, and 45% of those tests never send input, checking a static frame instead. We turn these applications into a headless benchmark spanning ratatui/Rust, bubbletea/Go, textual/Python, and ink/TypeScript, packaging each as an instrumented Docker image. We record line and widget coverage where reliable, rendered terminal states, and crashes. Under equal wall-clock budgets, we compare four frontier LLMs with random exploration. No model dominates. Random is a strong time-budgeted baseline, but its crash advantage comes from higher throughput: per interaction, LLM guidance is more efficient and uniquely reaches input-gated faults. Automatically deriving launch inputs yields the largest practical gain, enabling applications that otherwise never start. Line coverage poorly predicts crash discovery, weakening it as a proxy for test effectiveness. Automated TUI testing is feasible but far from solved, and honest baselines matter more than model choice. We release the coverage tool tuicov at this https URL and the testing framework tuibot at this https URL . Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-08-05 in cs.AI). Categorie arXiv: Software Engineering (cs.SE) ; Artificial Intelligence (cs.AI); Machine Learning (cs.LG). Pagina del lavoro: https://arxiv.org/abs/2608.03743 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-31T12:05:53.078Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-08-05?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).