amro / uakari

An API wrapper for the MailChimp STS API (1.0)
MIT License
20 stars 5 forks source link

Testing infrastructure #12

Open scottley opened 12 years ago

scottley commented 12 years ago

Hey Amro et. al,

The recent kerfuffle with v0.2.7 could have been prevented if we had some testing in place. I see that you've already created a test substrate based around test:unit and shoulda.

I was thinking I might start writing some tests for the gem. Do you have a preferred set of testing tools? I'm most comfortable with rspec.

Your thoughts?

amro commented 12 years ago

There's no denying this. And Uakari needs tests. Please take a look at how testing is handled in gibbon for my preferred method.

Please note ruby-debug not required if the environment is Travis CI. After the tests are in, I'll get Uakari building on Travis CI to help prevent simple things like this from slipping through in the future.