ducky/devices

Paddy 2015-11-12 Parent:b6494e1a499e Child:c24a6c5fcd8c

2:426d7e3c4ecd Go to Latest

ducky/devices/context.go

Start testing our Storers. Set up a file to start testing our Storer implementations, and write a sample test for the happy path of GetDevices--e.g., we expect no errors. This also required us to setup a helper to compare two Device instances and see if they're equal or not, and if not, how they differ. In the future, we'll keep adding test methods to test more logical paths for the interface contract, and to test more of the methods for the interface.

History