Skip to content

add some basic unit tests #4

@flynneva

Description

@flynneva

Unit testing software will allow you to:

  • confirm software is doing what you expect
  • confirm old code still works as new code is added (adding something new here doesnt break something over there)
  • if code can pass the test, you can delete unused or unnecessary code
  • automatically run tests using Github Actions when new code is added

A lot of times people in the software industry write the tests first, then they write the actual software. This reduces bloat in code since you only write code to accomplish some task.

FIRST robotics has a page about unit testing that seems like a good place to start.

  • write a basic unit test to test some of the code in this repo

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions