CalgaryToSpace / CTS-SAT-1-OBC-Firmware

Firmware for the CTS-SAT-1 ("FrontierSat") mission. Runs on the STM32-based Onboard Computer.
MIT License
7 stars 0 forks source link

Create automated Python test framework #5

Open DeflateAwning opened 7 months ago

DeflateAwning commented 7 months ago

First tests to create:

  1. Hello world
  2. Echo back the command args
  3. "Get random bytes from the OBC" command - take special care when receiving null bytes
  4. Something which tests the "delay milliseconds" and "current uptime" timer info.
DeflateAwning commented 2 days ago

Add even simpler tests:

  1. test_always_passes, which just asserts true. Good for checking that Pytest is working at all.
  2. test_can_open_connection, which just tests that the connection can be opened.

Those two will be helpful for checking if lots of the tests start failing ever