- Mingw. Install instructions. You must at least have G++ or GCC in the path.
- Git
- Download Visual Studio Code
- Install the PlatformIO extension
- Create a PlatformIO user account.
- Allows Remote Serial Port Monitor (10 per month), Remote Firmware Updates (50 per month), Remote Unit Testing (5 per month)
- A 30-Day trial of PlatformIO Plus is given that allows:
- Local Unit Testing
- Local Debugging
- Ready to go!
Inspired on How to test PlatformIO based project - Calculator example.
# Clone repository
> git clone https://github.com/jpdias/iot-ut-ws.git
# Change directory to example
> cd iot-ut-ws
# Open VS Code
> code .
# Test project
> platformio test
# Test specific environment
> platformio test -e uno
# Process test on native desktop machine
> platformio test -e native