..  Copyright (c) 2014-present PlatformIO <contact@platformio.org>
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
       http://www.apache.org/licenses/LICENSE-2.0
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.

Introduction
------------

We created for you an official series that concentrates on creating a
convenient environment for test-driven development for embedded devices
and will introduce you to the Unit Testing mechanism used in
the PlatformIO ecosystem. Below is a list of the articles in the
`Unit Testing with PlatformIO <https://piolabs.com/blog/insights/unit-testing-part-1.html>`_ series:

* `Part 1. The Basics <https://piolabs.com/blog/insights/unit-testing-part-1.html>`_
* `Part 2. Running tests on an embedded target <https://piolabs.com/blog/insights/unit-testing-part-2.html>`_
* `Part 3. Continuous Integration and Remote Testing <https://piolabs.com/blog/insights/unit-testing-part-3.html>`_

**Extra Tutorials**

* :ref:`tutorial_unit_testing_blink`
* :ref:`tutorial_espressif32_arduino_debugging_unit_testing`
* :ref:`tutorial_espressif32_espidf_debugging_unit_testing_analysis`
* :ref:`tutorial_stm32cube_debugging_unit_testing`
* :ref:`tutorial_nordicnrf52_arduino_debugging_unit_testing`
* :ref:`tutorial_nordicnrf52_zephyr_debugging_unit_testing_analysis`

**Project Examples**

* `Local & Embedded: Calculator <https://github.com/platformio/platformio-examples/tree/develop/unit-testing/calculator>`__
* `Arduino Mock <https://github.com/platformio/platformio-examples/tree/develop/unit-testing/arduino-mock>`_

For the other examples and source code please follow to
`PlatformIO Unit Testing Examples <https://github.com/platformio/platformio-examples/tree/develop/unit-testing>`_ repository.
