How to test PlatformIO based project

  1. Install PlatformIO Core
  2. Download examples source code
  3. Extract ZIP archive
  4. Run these commands:
# Change directory to example
> cd platformio-examples/unit-testing/wiring-blink

# Test project
> platformio test

# Test specific environment
> platformio test -e uno