Skip to content
This repository has been archived by the owner on May 4, 2024. It is now read-only.

Add Core Test Suite #113

Open
1 task
chrehall68 opened this issue Mar 30, 2024 · 0 comments
Open
1 task

Add Core Test Suite #113

chrehall68 opened this issue Mar 30, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@chrehall68
Copy link
Collaborator

chrehall68 commented Mar 30, 2024

Background

Testing would make our workflow a lot easier, especially when debugging.

We should eventually have a test suite composed of 3 test sub-suites:

  • Core Suite - The purpose of this suite is to ensure that all logic is correct. This suite should be several unit tests that are runnable on any device (as long as it has the necessary packages). The core suite should test at least the following:
    • pathfinding logic - no errors, and pathfinders produce some output
    • compass/GPS logic - make sure that the math transformations applied are producing the correct output.
  • Data Suite - The purpose of this suite is to ensure that the rover can correctly read all data. This suite should be runnable on the rover. The data suite should test at least the following:
    • Lidar data
    • GPS data
    • Compass data
  • Bridge Suite - The purpose of this suite is to ensure that all data is sent correctly between the rover and the client. This suite will probably require the RPI to have the server-side bridge running. This suite should test at least the following:
    • Bridge client can connect to bridge server
    • bridge client receives expected data (expected Lidar/GPS/Compass data)

What to do

  • Implement the Core test suite.

Further suites can be added in later issues.

@chrehall68 chrehall68 added the enhancement New feature or request label Mar 30, 2024
@chrehall68 chrehall68 changed the title Add Test Suite Add Core Test Suite Mar 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants