LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pio-test

Run unit tests for PlatformIO projects

TLDR

Run unit tests
$ pio test
copy
Run tests for specific environment
$ pio test -e [native]
copy
Run specific test
$ pio test -f [test_example]
copy
Run tests with verbose output
$ pio test -v
copy

SYNOPSIS

pio test [options]

DESCRIPTION

pio test runs unit tests for PlatformIO projects. Supports both native (desktop) and embedded testing. Uses Unity test framework by default. Tests can run on actual hardware or simulators.

PARAMETERS

-e, --environment name

Test environment.
-f, --filter pattern
Test filter pattern.
-i, --ignore pattern
Ignore tests matching pattern.
--upload-port port
Upload port for device tests.
--test-port port
Serial/UART port used as communication interface for tests.
-d, --project-dir path
Specify project directory path.
-c, --project-conf file
Use a custom platformio.ini file.
-v, --verbose
Verbose output (repeat for more: -vv, -vvv).
--without-building
Skip the build stage.
--without-uploading
Skip the upload stage.
--without-testing
Skip the test stage.
--list-tests
List tests without running them.
--json-output
Return output in JSON format.
--junit-output-path file
Generate a JUnit XML report at the given path.

INSTALL

yay -S pio
copy

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid