CarletonURocketry / ground-station

The ground station software used to interface with the ground station LoRa board and distribute signals from the rocket across websocket connections.
https://carletonurocketry.github.io/ground-station/
MIT License
6 stars 5 forks source link

[ENHANCEMENT] Full transmission parsing tests #75

Closed EliasJRH closed 2 months ago

EliasJRH commented 4 months ago

Now that the ground station has been refactored to remove non-state-dependent functions outside of the process class, we should write tests to ensure we get all the correct info when we parse an entire transmission packet.

These tests should observe the ParsedTransmission dataclass and should assert that the values within that dataclass match what is expected. The tests should also be exhaustive and should test that we properly catch errors when they occur.