Initial upload: DevDash CLI with TUI dashboard
Some checks failed
CI / test (push) Has been cancelled
Some checks failed
CI / test (push) Has been cancelled
This commit is contained in:
19
tests/test_integration.py
Normal file
19
tests/test_integration.py
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user