From 653497efc2f9d4cf9374ffa22317f292fe88d67d Mon Sep 17 00:00:00 2001 From: Allison Thackston Date: Fri, 22 Apr 2022 13:12:48 -0700 Subject: [PATCH] Refactor test structure and rename files. --- tests/{test.bats => integration_test.bats} | 0 tests/run_integration_tests.sh | 2 +- tests/{test_local.sh => run_tests_local.sh} | 0 tests/run_unit_tests.sh | 2 +- tests/{generator_test.py => test_generator.py} | 0 5 files changed, 2 insertions(+), 2 deletions(-) rename tests/{test.bats => integration_test.bats} (100%) rename tests/{test_local.sh => run_tests_local.sh} (100%) rename tests/{generator_test.py => test_generator.py} (100%) diff --git a/tests/test.bats b/tests/integration_test.bats similarity index 100% rename from tests/test.bats rename to tests/integration_test.bats diff --git a/tests/run_integration_tests.sh b/tests/run_integration_tests.sh index d079766f..07879bc4 100755 --- a/tests/run_integration_tests.sh +++ b/tests/run_integration_tests.sh @@ -24,7 +24,7 @@ pip install mkdocs-macros-plugin mkdocstrings mkdocs-material # # ```bash ./examples/gen_readme.py -./tests/test.bats +./tests/integration_test.bats # ``` # # /md diff --git a/tests/test_local.sh b/tests/run_tests_local.sh similarity index 100% rename from tests/test_local.sh rename to tests/run_tests_local.sh diff --git a/tests/run_unit_tests.sh b/tests/run_unit_tests.sh index fcc3157d..d9e54a1f 100755 --- a/tests/run_unit_tests.sh +++ b/tests/run_unit_tests.sh @@ -14,7 +14,7 @@ pip install -e . #
# Code # ```bash -python3 -m unittest tests/*_test.py +python3 -m unittest tests/test_*.py # ``` #
# /md diff --git a/tests/generator_test.py b/tests/test_generator.py similarity index 100% rename from tests/generator_test.py rename to tests/test_generator.py