Remote Unit Testing

This commit is contained in:
Ivan Kravets committed 2016-11-02 18:24:52 +02:00
1 parent db4dbeeca7
commit 9b786ba8c7
10 files changed
+271 -44

No files matched your search

+23 -4
View File
@@ -14,7 +14,7 @@
platformio test
===============
.. versionadded:: 3.0
Helper command for local :ref:`unit_testing`.
.. contents::
@@ -28,7 +28,7 @@ Usage
Description
-----------
Run tests from PlatformIO based project. More details about PlatformIO
Run locally tests from PlatformIO based project. More details about PlatformIO
:ref:`unit_testing`.
This command allows you to apply the tests for the environments specified
@@ -75,17 +75,36 @@ For example, ``platformio test --ignore "mytest*" -i "test[13]"``
.. option::
--upload-port
Upload port of embedded board. To print all available ports use
:ref:`cmd_device` command.
A port that is intended for firmware uploading. To list available ports
please use :ref:`cmd_device_list` command.
If upload port is not specified, PlatformIO will try to detect it automatically.
.. option::
--test-port
A Serial/UART port that PlatformIO uses as communication interface between
PlatformIO Unit Test Engine and target device. To list available ports
please use :ref:`cmd_device_list` command.
If test port is not specified, PlatformIO will try to detect it automatically.
.. option::
-d, --project-dir
Specify the path to project directory. By default, ``--project-dir`` is equal
to current working directory (``CWD``).
.. option::
--without-building
Skip building stage.
.. option::
--without-uploading
Skip uploading stage
.. option::
-v, --verbose