Refactor Unit Testing documentation
This commit is contained in:
@@ -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
|
||||
""",
|
||||
)
|
||||
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user