Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1.51 KB

File metadata and controls

36 lines (24 loc) · 1.51 KB

Tests

Host checks. These commands do not flash the board. GitHub Actions on main and PRs runs these same commands. On-device hardware: hardware/testing.md.

Firmware

Unity on the host. Compiles src/settings/validate.cpp plus header-only helpers such as include/servos.h.

pio test -e native

pio run builds firmware. Native tests are pio test -e native, not pio run -e native.

OLED expressions

The optional expression library has deterministic asset checks and native renderer tests. These checks require Node 18+ and PlatformIO; they do not access hardware. On the robot, enable those faces with Config / eyes_style=kaomoji (default remains classic).

node scripts/expressions/generate.js --check
node scripts/expressions/test-assets.js
pio test -e native
pio run -e expression-demo

The expression-demo environment builds a separate OLED-only application without changing the default robot build. For a later bench test, follow its wiring and upload notes, leave the separate servo supply off, and observe all 16 faces through a complete 48-second cycle. Report physical display results separately from host tests and compilation.

Packages

Node 18+. No robot.

npm test --prefix packages/tiny-engineer-cursor
npm test --prefix packages/tiny-engineer-antigravity
npm test --prefix packages/tiny-engineer-claude-code