- emulator/tests/: harness.h (TEST/EXPECT framework, input + serial + framebuffer helpers), shim_globals.cpp (shim externs for test binaries, replacing main.cpp ownership) - unit_tests.h (14): map/door/LOS/BFS/cover/link state machine/trace/ spike/reinforcement/win/loss/reset — deterministic fixed-seed, sim stepped tick by tick - integration_tests.h (7): keyboard->pollKeyboard->handleKey pipeline, beacon clicks -> squad movement, full network journey via clicks, hover-sever (incl. safe sever during trace), daemon gating - e2e_tests.cpp (separate NetDeck-e2e build): real setup()/loop() journeys with device-pipeline input injection (boot grace, 0x55 keyboard, GT911 tap, trackball ISRs), transcript + pixel assertions (HUD, freeze tint) - shim SerialSim: opt-in transcript ring for test assertions (off by default, interactive emulator unchanged) - make netdeck-test / -unit / -e2e (root) and make test / test-unit / test-e2e (emulator/); tests/README.md documents the structure - STATUS.md: test-structure note Verified: make netdeck-test -> 14 unit + 7 integration + 3 E2E, 0 failures
19 lines
264 B
Plaintext
19 lines
264 B
Plaintext
.pio
|
|
.vscode
|
|
build
|
|
script
|
|
test
|
|
SX126x_Transmit
|
|
config
|
|
emulator/missilecommand-emu
|
|
emulator/seq*.bmp
|
|
|
|
emulator/mc-prefs.cfg
|
|
emulator/*-emu
|
|
emulator/*-prefs.cfg
|
|
emulator/m0_*.bmp
|
|
emulator/m0_*.png
|
|
emulator/smoke_frame.bmp
|
|
emulator/NetDeck-tests
|
|
emulator/NetDeck-e2e
|