rhodes369/rhodes-ror — pull request #98 by doktorj (2012-03-31 17:21:16+00:00)
Title: fully automated testing with guard, and much faster pre-loaded into memory tests with spork

+ a good start on our material unit ( model ) tests, which will likely be the most important of the core tests

+ this stuff took me all night, as there's alot going on with many gems having to play nicely together, plus alot of not so nice code in the guard gem which i cleaned up to be somewhat better, and just after i got it playing nicely with spork and started fine tuning, i lost everything when my computer froze, and did something to get and tried for a long time to convince git to give me my whole branch back...i got small pieces back ( thanx to git reflog ) but pretty much had to re-did the whole thing, which was such a pain, but i'm so glad this is working, cuz the test all run so much faster now and i don't have to type rake test:recent every single time we make a test change or any other file change...the appropriate tests just get auto run and a growl msg pops up (if you have grow installed on your mac) to let you know right away when somethings up so it doesn't grow into a bigger or more abstract bug later on.

+ here is my gist of my dev/test gemfile & guardfile - which i found out the hard way that all the new gems need to be in a very specific order to play nicely together.

+ to whom it may concern there is a good free video on guard here: http://railscasts.com/episodes/264-guard and spork here: http://railscasts.com/episodes/285-spork which are a bit outdated, but still quite helpful, also be sure to check out the github doc pages for each new gem to see what they do and why they can save you alot of time.