Refactor Unit Testing documentation

This commit is contained in:
Ivan Kravets
2022-04-29 20:46:04 +03:00
parent d02f02731f
commit b37a74dfd9
7 changed files with 20 additions and 18 deletions
+2 -2
View File
@@ -339,7 +339,7 @@ def init_test_readme(test_dir):
with open(os.path.join(test_dir, "README"), mode="w", encoding="utf8") as fp:
fp.write(
"""
This directory is intended for PlatformIO Unit Testing and project tests.
This directory is intended for PlatformIO Test Runner and project tests.
Unit Testing is a software testing method by which individual units of
source code, sets of one or more MCU program modules together with associated
@@ -348,7 +348,7 @@ determine whether they are fit for use. Unit testing finds problems early
in the development cycle.
More information about PlatformIO Unit Testing:
- https://docs.platformio.org/page/plus/unit-testing.html
- https://docs.platformio.org/en/latest/advanced/unit-testing/index.html
""",
)
+2 -1
View File
@@ -202,7 +202,8 @@ void unityOutputComplete(void) { unittest_uart_end(); }
raise UnitTestSuiteError(
f"Could not find Unity configuration for the `{framework}` framework.\n"
"Learn how to create a custom Unity configuration at"
"https://docs.platformio.org/page/plus/unit-testing.html"
"https://docs.platformio.org/en/latest/advanced/"
"unit-testing/frameworks/unity.html"
)
def configure_build_env(self, env):