Prototype unit testing

 

Hello FSE!

When you’re working on a prototype, often you develop functions that you don’t want to lose as you continue changing the code. A way to protect your code base against such changes is by using unit tests.

Normally unit tests are tests of software which demonstrate that a given aspect – like a function, class or method – acts as it should. Unit tests run without human intervention – the same input is used to produce the same output, every time.

With robots it’s a bit more complicated, since they interact with the physical world. This means that there’s no way to produce exactly the same input every time. We’ve created tests for the FSE 2017 prototype which try to test the functionality of the robot as objectively as possible, though. This allows us to continue working on the robot in the background without worrying about things going wrong. Check out our demonstration!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s