diff --git a/dts/framework/runner.py b/dts/framework/runner.py
@@ -229,139 +221,34 @@ def _get_test_suites_with_cases(
+ filtered_test_cases: list[TestCase] = [ + test_case + for test_case in test_suite_spec.test_cases + if not test_suite_config.test_cases_names + or test_case.name in test_suite_config.test_cases_names + ]
Ah, looks like TestSuiteSpec doesn't contain the subset we want to test. Could we adapt it this way? I think we don't really care about test cases we don't want to test.