From 4ddaf9533eb78c5624babcff1dcd12e6a3ff3a0c Mon Sep 17 00:00:00 2001 From: Alberto Soutullo Date: Fri, 20 Jan 2023 20:50:28 +0100 Subject: [PATCH] Added node builders tests to main test script --- tests.star | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/tests.star b/tests.star index 4de286e..68bd909 100644 --- a/tests.star +++ b/tests.star @@ -4,21 +4,23 @@ system_variables = import_module("github.com/logos-co/wakurtosis/src/system_vari # Module Imports args_parser_test = import_module(system_variables.TEST_ARGUMENTS_MODULE) file_helpers_test = import_module(system_variables.TEST_FILES_MODULE) +node_builders_test = import_module(system_variables.TEST_NODE_BUILDERS_MODULE) waku_test = import_module(system_variables.TEST_WAKU_MODULE) -def run(args): - args_parser_test.test_load_config_args_default() - args_parser_test.test_load_config_args_given() +def run(plan, args): + args_parser_test.test_load_config_args_default(plan) + args_parser_test.test_load_config_args_given(plan) - file_helpers_test.test_get_toml_configuration_artifact_same_config_true() - file_helpers_test.test_get_toml_configuration_artifact_same_config_false() - file_helpers_test.test_generate_template_node_targets_single() - file_helpers_test.test_generate_template_node_targets_multiple() - file_helpers_test.test_generate_template_prometheus_url() - file_helpers_test.test_prepare_artifact_files_grafana() + file_helpers_test.test_get_toml_configuration_artifact_same_config_true(plan) + file_helpers_test.test_get_toml_configuration_artifact_same_config_false(plan) + file_helpers_test.test_generate_template_node_targets_single(plan) + file_helpers_test.test_generate_template_node_targets_multiple(plan) + file_helpers_test.test_generate_template_prometheus_url(plan) + file_helpers_test.test_prepare_artifact_files_grafana(plan) - waku_test.test_network_creation() - waku_test.test_create_waku_id() - waku_test.test__merge_peer_ids() - waku_test.test__add_information() + node_builders_test.test_add_nwaku_service(plan) + node_builders_test.test_add_gowaku_service(plan) + node_builders_test.test_instantiate_services(plan) + + waku_test.test_waku_methods(plan)