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

Per System Tests #36

Open
6 tasks
EvanLF6768 opened this issue May 6, 2024 · 0 comments
Open
6 tasks

Per System Tests #36

EvanLF6768 opened this issue May 6, 2024 · 0 comments

Comments

@EvanLF6768
Copy link
Contributor

EvanLF6768 commented May 6, 2024

Currently GTest is only run on the common directory. This should be expanded to run tests on each of the systems as well.

Unit Tests

Operate the same way as the existing common unit tests. Device/OS specific code should not be included when compiling for tests. There should be a target to run the unit tests on each system as well as a target to test everything.

Baremetal Integration Tests

An alternate main function should run through various device functions an assert that the state of the system is valid, failing assertions should signal back to the host system and optionally trigger a breakpoint. There should be a target which will deploy and run such a test.

Checkpoints

  • All targets exist (but currently no-ops)
  • Subsystem unit tests
  • Baremetal test assertion functions
  • Conditional compilation/deployment of test_main function
  • Host system communication of test status
  • Optional breakpoint on assertion failure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant