improve test gen logging
This commit is contained in:
parent
eb7c3b9651
commit
c329a003af
|
@ -83,12 +83,13 @@ def run_generator(generator_name, test_providers: Iterable[TestProvider]):
|
||||||
yaml = YAML(pure=True)
|
yaml = YAML(pure=True)
|
||||||
yaml.default_flow_style = None
|
yaml.default_flow_style = None
|
||||||
|
|
||||||
print(f"Generating tests into {output_dir}...")
|
print(f"Generating tests into {output_dir}")
|
||||||
print(f"Reading config presets and fork timelines from {args.configs_path}")
|
print(f"Reading configs from {args.configs_path}")
|
||||||
|
|
||||||
for tprov in test_providers:
|
for tprov in test_providers:
|
||||||
# loads configuration etc.
|
# loads configuration etc.
|
||||||
config_name = tprov.prepare(args.configs_path)
|
config_name = tprov.prepare(args.configs_path)
|
||||||
|
print(f"generating tests with config '{config_name}' ...")
|
||||||
for test_case in tprov.make_cases():
|
for test_case in tprov.make_cases():
|
||||||
case_dir = Path(output_dir) / Path(config_name) / Path(test_case.fork_name) \
|
case_dir = Path(output_dir) / Path(config_name) / Path(test_case.fork_name) \
|
||||||
/ Path(test_case.runner_name) / Path(test_case.handler_name) \
|
/ Path(test_case.runner_name) / Path(test_case.handler_name) \
|
||||||
|
|
Loading…
Reference in New Issue