MCPcopy
hub / github.com/tanelpoder/0xtools / create_schema_suite

Method create_schema_suite

xtop/tests/test_runner.py:253–267  ·  view source on GitHub ↗

Create schema-resilience suite.

(self)

Source from the content-addressed store, hash-verified

251 return suite
252
253 def create_schema_suite(self) -> TestSuite:
254 """Create schema-resilience suite."""
255 suite = TestSuite("Schema Tests", "DuckDB schema compatibility checks")
256
257 tests = [
258 ("query_builder_schema", "QueryBuilder schema fallbacks",
259 "python3 -m pytest test_query_builder_schema.py"),
260 ("schema_resilience", "Schema resilience with missing columns",
261 "python3 -m pytest test_schema_resilience.py"),
262 ]
263
264 for name, desc, cmd in tests:
265 suite.add_test(TestCase(name, desc, cmd))
266
267 return suite
268
269 def create_ui_suite(self) -> TestSuite:
270 """Create UI/headless Textual suite."""

Callers 1

run_allMethod · 0.95

Calls 3

add_testMethod · 0.95
TestSuiteClass · 0.85
TestCaseClass · 0.85

Tested by

no test coverage detected