textual-testing

Installation
SKILL.md

Textual Testing

Functional testing for Textual applications using App.run_test() and the Pilot class.

Quick Start

async def test_my_app():
    """Test a Textual application."""
    app = MyApp()
    async with app.run_test() as pilot:
        # Interact with app
        await pilot.press("enter")
        await pilot.pause()

        # Assert on state
        widget = pilot.app.query_one("#status")
        assert widget.renderable == "Done"
Related skills
Installs
11
GitHub Stars
1
First Seen
Feb 24, 2026