Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement board tests #36

Open
lkijanovic opened this issue Jan 22, 2025 · 1 comment
Open

Implement board tests #36

lkijanovic opened this issue Jan 22, 2025 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@lkijanovic
Copy link
Contributor

lkijanovic commented Jan 22, 2025

Essentially, the idea is to have a set of hardware tests that should be kept simple and try to isolate a module/functionality as much as possible.
Some of the immediate and eventual benefits of this:

  • New features can be tested (relatively) isolated before integrating them in the main app
  • When the moment comes (and it will come) that you stop trusting HW, there will be a reference test to check whether you're losing your mind
  • During the bring-up of future boards, tests will be a useful starting point

I would probably suggest placing these in src/tests/hardware/, at least in the first iteration.

@lkijanovic lkijanovic added the enhancement New feature or request label Jan 22, 2025
@lkijanovic lkijanovic self-assigned this Jan 22, 2025
@DNedic
Copy link
Member

DNedic commented Jan 22, 2025

This would be nice to have. We could also have a physical machine with boards attached to it to run CI tests on real hardware.

With the current architecture of the repo, the repo itself represents a freestanding app and anything inside src is a part of the app, so having other apps in there would not make sense IMO. We could create a new repo for test apps, or rearchitect the repo folder structure (but try preserving git blame).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants