Northeastern-Electric-Racing / Northeastern-Electric-Racing/Calypso
[CI] - Linux unit tests
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 2
- Forks
- 2
- Avg merge
- 6d 20h
- Merged PRs (30d)
- 3
Description
Description
Ensure that messages are being parsed with a unit testing framework of sorts.
Acceptance Criteria
Tests the whole round trip of encodable can messages by sending a MQTT message, and decodable can messages by sending a CAN message.
Proposed Solution
Have a bash script to setup vcan0 and mosquitto. Have a rust test which sets up mqtt and can listeners, and runs a few messages through the encoder and decoder and checks on the other side.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the proposed bash setup for vcan0 and mosquitto, then locate the Rust encoder and decoder entry points. Add a test that sends an MQTT message through the round trip and a CAN message through the reverse path, checking both decoded results; done means the Linux unit test runs successfully in CI.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash, rust
- Domain
- ci-cd, networking, testing-qa
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100