testfirst.org site updates

11 views
Skip to first unread message

Alex Chaffee

unread,
Sep 13, 2010, 7:04:35 PM9/13/10
to test-first-teaching
I just did a bunch of work on the http://testfirst.org web site. While
it is still undeniably ugly, it's a bit better organized, and the code
is ready for more stylistic improvements. All HTML files are now
generated (from either Markdown or Erector files) so if you want to
make a change you know what file to make it in. Anyone who wants to
help with CSS or just a nice color palette and font selection, just
let me know.

I also reorganized the file structure. Most significantly, I moved all
solutions into a separate directory, one for each module. E.g.

learn_ruby/hello/hello_spec.rb
learn_ruby/hello/solution/hello.rb

This is to make it easier for the students (who won't get confused by
the solutions in the main directory, and might be less tempted to
cheat). It makes it slightly harder for authors, but to make it
easier, I wrote a new app "sspec" which is just like "spec" only it
adds the "solution" dir to the load path.

Finally, there's a rake task (the default) that generates all HTML,
runs all the specs (with their solutions), and packages the zip file.
Most of the specs fail, due to missing or deficient solutions, but
that's a separate problem.

--
Alex Chaffee - al...@stinky.com - http://alexch.github.com
Stalk me: http://friendfeed.com/alexch | http://twitter.com/alexch |
http://alexch.tumblr.com

Reply all
Reply to author
Forward
0 new messages