alexchee / pocket_api

Rubygem for Pocket (getpocket.com) API, formerly readitlater
MIT License
16 stars 10 forks source link

add default rake test task #1

Closed srt32 closed 10 years ago

srt32 commented 10 years ago

I had trouble figuring out how to run the tests so I created a default rake task. I'd like to use this gem more and contribute to writing tests. Do you have any additional documentation that could help me write specs?

alexchee commented 10 years ago

Whoa, I did not know anyone was using this gem. I've been manually running the ruby command line to run the tests: ruby -Itest tests/*

So that rake file definitely helps, thanks for the commit!

Edit: Here's some resources for mini-test. http://www.mattsears.com/articles/2011/12/10/minitest-quick-reference - A quick rundown about minitest http://docs.seattlerb.org/minitest/ - The default docs are pretty helpful in getting your feet wet.

I'm also learning minitest with this project so if something looks wrong on the tests, it just might be.