-
Notifications
You must be signed in to change notification settings - Fork 0
Testing
Max Krieger edited this page Apr 17, 2016
·
6 revisions
Every component we write should be categorically unit testable.
That means we should be able to test every bit of functionality on the robot quickly and efficiently.
##The Ideal Testing Setup
The ideal testing setup involves running an opmode which outputs like so:
[✓] Motor 1 functional.
[✓] Motor 2 functional.
EXCEPTION: could not find motor "m3"
[×] Motor 3 NONFUNCTIONAL.
By doing this, we can catch errors early and often. We can also see every part of the robot at work.