View Single Post
  #4   Spotlight this post!  
Unread 09-04-2011, 23:37
blakeelias's Avatar
blakeelias blakeelias is offline
2011 CT chairman's award
FRC #0694 (Stuypulse)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: New York
Posts: 26
blakeelias is an unknown quantity at this point
Re: Python Testing Strategies -- How did you do it?

Quote:
Originally Posted by virtuald View Post
And then the test harness would just reach into the robot and set the appropriate things to simulate a button being pressed, or the joystick being moved.. whatever.
That's awesome! I was looking for a way to automatically make a dummy library, but I couldn't find anything that would simulate the interactions between all the classes. It looks like yours catches any syntax errors and even some runtime errors -- better than a local compiler!
Reply With Quote