Archive for June 2009
Blog Location Has Moved
Please note that we are no longer active at this site. Have a look at our new blog: http://blog.markusproject.org
Thanks!
Markus Tests
These last few days, I have been looking at our tests.
Due to all the changes we made the last months, most of the tests didn’t work at all. They refered to none existing properties, methods or fixtures. I tried to fix them all, and now, the major part of our unit tests work, and pass.
I ran into a small problem: I first ran all the tests one by one, with the command:
ruby -I test test/unit/name_of_the_file.rb
34 files only for the unit test, so 34 times this line. The command
rake test:units
launches all the test at once. For now, it launches 99 tests, has 138 assertions, and 2 errors, then it aborts…
Still some work to do!
Our first screen cast
Last week, Mike recorded our first screencast of OLM, now renamed Markus.
We got a bit of trouble, finding a way to post it here, as it is a swf format: we couldn’t upload it directly on the blog.
Finally, we found a solution. Karen uploaded it on another server, and here is the link:
http://www.cs.toronto.edu/~reid/screencasts/OLM-2009-06-03.swf
Enjoy!
How to Install Seed_fu
Today, we got a pretty awesome cursory code review from Mike Gunderloy.
One thing he suggested, was that we switch from running a sloppy Ruby script to seed our database with initial data, to something like seed_fu.
So, how do we install Seed_fu? It took me a while to figure it out, actually, since I’d never installed a Rails plugin from GitHub before.
Anyhow, here’s how you do it:
From your application root:
script/plugin install git://github.com/mbleigh/seed-fu.git
Easy.