diff --git a/tests/test_integration.py b/tests/test_integration.py new file mode 100644 index 0000000..057db1f --- /dev/null +++ b/tests/test_integration.py @@ -0,0 +1,19 @@ +import pytest +from textual.app import App +from textual.screen import Screen +from src.ui.screens.dashboard import DashboardScreen +from src.cli import cli +from click.testing import CliRunner + + +class TestDashboardIntegration: + def test_dashboard_screen_composes(self): + app = App() + screen = DashboardScreen() + assert screen is not None + + def test_cli_entry_point(self): + runner = CliRunner() + result = runner.invoke(cli, ["--help"]) + assert result.exit_code == 0 + assert "DevDash CLI" in result.output