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

Add unit tests for each component #3

Open
colemacphail opened this issue Nov 7, 2023 · 0 comments
Open

Add unit tests for each component #3

colemacphail opened this issue Nov 7, 2023 · 0 comments
Labels
development workflow This improves our development workflow to make programming easier low priority This is a low priority issue

Comments

@colemacphail
Copy link
Member

colemacphail commented Nov 7, 2023

Context

To start, just figure out how to run unit tests on robot code and make unit tests for our drive code since we'll be using a swerve drive for every robot. Future issues can add tests for other subsystems once we have a template for how to set them up.

Focus on testing state transitions. Behaviour in each state can change and is self-described in the state itself so unit tests are likely to change and not really prove anything. On the other hand, state transitions can be complex. Try to think of edge cases where possible. Feel free to whiteboard a state transition diagram if you're interested. Whatever helps :)

Time Estimate: Unknown

@IanTapply22 IanTapply22 added the low priority This is a low priority issue label Nov 11, 2023
@colemacphail colemacphail added this to the Development Practices milestone Nov 11, 2023
@IanTapply22 IanTapply22 added the development workflow This improves our development workflow to make programming easier label Nov 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
development workflow This improves our development workflow to make programming easier low priority This is a low priority issue
Projects
None yet
Development

No branches or pull requests

2 participants