You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Check ESP-IDFecho$IDF_PATH# Should show ESP-IDF path# If not installed:cd~/esp && git clone -b v5.0 --recursive https://github.com/espressif/esp-idf.git
cd esp-idf && ./install.sh &&source ./export.sh
Install Test Dependencies
cdtest
pip3 install -r requirements.txt
🧪 Running Tests
Option 1: Test Everything (Recommended)
# From project root
./test/run_tests.sh all
Option 2: Test With Emulator (No Hardware)
# Build and test in emulator
make emulator-build
make emulator-run-bg
python3 test/emulator_test.py
Option 3: Test With Real Hardware
# Flash device
make flash
# Run API tests
python3 test/test_crypto.py
# Test only crypto operations
python3 -c "from test_crypto import TestCryptoOperations; t = TestCryptoOperations(); t.test_eip155_signing()"# Test only performance
./test/run_tests.sh crypto
🏃 Speed Run Commands
# Complete test in one command (emulator)
make emulator-build && make emulator-run-bg && sleep 5 && python3 test/emulator_test.py
# Quick hardware test
make flash && python3 test/test_crypto.py
# Minimal smoke test
curl -k https://device-ip/health &&echo"✓ Device OK"