MCPcopy Index your code
hub / github.com/tanelpoder/0xtools / create_ui_suite

Method create_ui_suite

xtop/tests/test_runner.py:269–283  ·  view source on GitHub ↗

Create UI/headless Textual suite.

(self)

Source from the content-addressed store, hash-verified

267 return suite
268
269 def create_ui_suite(self) -> TestSuite:
270 """Create UI/headless Textual suite."""
271 suite = TestSuite("UI Tests", "Focused Textual headless checks")
272
273 tests = [
274 ("tui_help_panel", "Help panel toggle",
275 "python3 -m pytest test_tui_simple.py -k help_panel_toggle -vv"),
276 ("tui_peek_flow", "Peek modal smoke test",
277 "python3 -m pytest test_tui_basic.py -k peek_functionality -vv"),
278 ]
279
280 for name, desc, cmd in tests:
281 suite.add_test(TestCase(name, desc, cmd))
282
283 return suite
284
285 def run_all(self) -> bool:
286 """Run all test suites"""

Callers 1

run_allMethod · 0.95

Calls 3

add_testMethod · 0.95
TestSuiteClass · 0.85
TestCaseClass · 0.85

Tested by

no test coverage detected