RFacebook Gets Unit Tests
Monday, August 27th, 2007Unit Tests Come to RFacebook
Finally, RFacebook on Rails has a unit testing suite. You can now run Rails testing like any other well-behaved Rails plugin. My apologies - this was a long time coming.
RFacebook Looking for Developers
The RFacebook project has been maintained mostly by myself, in addition to the very helpful patches of a few others (Evan Weaver and Scott Nedderman, to name just a few). In the coming months I will be quite busy, and I am looking for other developers that can help maintain the project.
To help ease new developers into the library, I’ve done a few things starting with version 0.9.2 of the gem:
- Cleaned up the core - the API library is now cleaned up of cruft and is much easier to understand
- Better documentation - the core API library is extensively documented, and the plugin extensions are getting better documentation as well.
- Unit testing is well-separated - it is fairly simple to see where to place unit tests for any one component of RFacebook. Unit tests are organized into separate tests for Rails controller, model, sessions, plugin initialization, and core API calls.
Hopefully there are some great Rails developers that would like to contribute to what I think has become a pretty solid library, thanks to the already sizeable contributions of its users. With continuous vetting by tons of small developers, and a few large ones (like Causes), RFacebook should continue to provide a great, simple way to get into the Facebook Platform.