uskudnik / amazon-glacier-cmd-interface

Command line interface for Amazon Glacier
MIT License
374 stars 100 forks source link

Tests #15

Open offlinehacker opened 11 years ago

offlinehacker commented 11 years ago

We will mock results of glacier and SimpleDB and observe application behaviour. We have to define different exceptions for different errors and handle error reporting on one place. Every utility function should also return it's program return code(success/fail) and results. This way we will not only be able to test for errors, but also for correctness of results.

Other type of test will be basic tests directly using glacier and SimpleDB. This way we will be sure, that api hasn't changed(ours and latter boto's).

Depends on: #21, #22, #25