New Custom Testing Framework

This commit is contained in:
Ivan Kravets
2022-05-03 14:30:15 +03:00
parent 5b98f432f2
commit 2b11f64ef1
6 changed files with 46 additions and 13 deletions
+3 -1
View File
@@ -216,7 +216,9 @@ def _install_project_env_libraries(project_env, options):
lib_deps = config.get(f"env:{project_env}", "lib_deps")
if "__test" in options.get("project_targets", []):
test_runner = TestRunnerFactory.new(TestSuite(project_env, "*"), config)
test_runner = TestRunnerFactory.new(
TestSuite(project_env, options.get("piotest_running_name", "*")), config
)
lib_deps.extend(test_runner.EXTRA_LIB_DEPS or [])
for library in lib_deps: