koreader/koreader-base — pull request #86 by houqp (2013-10-27 07:30:15+00:00)
Title: add unit busted tests

Since we are under going a big rewrite of the code base right now, a legit test framework is going to help a lot. So I picked busted project: http://olivinelabs.com/busted/

It's really easy to run the test. Just install luajit, luarocks. Then use luarocks to install busted package. Last, run busted command in kroeader-base's root directory.

I have converted tests from #89 to busted tests.