homeaway / thunderhead

Thunderhead - An AWS Cloudsearch client for uploading documents and querying your search domains written in Java
http://homeaway.github.io/thunderhead
Other
2 stars 2 forks source link

thunderhead needs functional tests #12

Closed bryonjacob closed 11 years ago

bryonjacob commented 11 years ago

thunderhead needs a suite of tests that run against a CloudSearch index. Since you won't want to leak HomeAway's AWS creds or your own, I'd suggest a pattern where your test reads the creds and hostname of a test index from a file on disk, and do all of the setup/teardown needed to assume an empty starting index and leave it empty when finished, testing access via your client code along the way.