Advertisement
Nickname
zenspider
Registered since:
October 29, 2004
Short bio:
 
Home page:
 
Total posts:
651

Forum posts by Ryan Davis:

44 pages [ Previous 1 ... 15 16 17 18 19 20 21 22 23 24 25 Next ]
Posted in Ruby Buzz Forum, Apr 14, 2007, 4:39 AM
Probably the best write-up on autotest I've seen out there: DRY up testing in Rails with Autotest: "Autotest runs your tests automatically whenever your files change. As Rails developers, we've been trained hard to test early and test often. We are also acutely aware of the DRY principle (Don't Repeat Yourself). However, these ideas don't quite...
Posted in All Buzz Forum, Apr 13, 2007, 2:39 AM
ZenTest 3.5 shipped with rspec support built in. It works if you install rspec as a gem, but if you installed it into your rails app via a plugin, then Josh has some tips: http://joshknowles.com/2007/4/13/zentest-3-5-rspec-0-9-autospec
Posted in Ruby Buzz Forum, Apr 13, 2007, 2:39 AM
ZenTest 3.5 shipped with rspec support built in. It works if you install rspec as a gem, but if you installed it into your rails app via a plugin, then Josh has some tips: http://joshknowles.com/2007/4/13/zentest-3-5-rspec-0-9-autospec
Posted in All Buzz Forum, Apr 12, 2007, 6:40 PM
ZenTest provides 4 different tools and 1 library: zentest, unit_diff, autotest, multiruby, and Test::Rails. ZenTest scans your target and unit-test code and writes your missing code based on simple naming rules, enabling XP at a much quicker pace. ZenTest only works with Ruby and Test::Unit. unit_diff is a command-line filter to diff expected...
Posted in Ruby Buzz Forum, Apr 12, 2007, 6:40 PM
ZenTest provides 4 different tools and 1 library: zentest, unit_diff, autotest, multiruby, and Test::Rails. ZenTest scans your target and unit-test code and writes your missing code based on simple naming rules, enabling XP at a much quicker pace. ZenTest only works with Ruby and Test::Unit. unit_diff is a command-line filter to diff expected...
Posted in All Buzz Forum, Apr 11, 2007, 4:40 PM
for apeiros: class Numeric def commify(dec='.', sep=',') num = to_s.sub(/\./, dec) dec = Regexp.escape num.reverse.gsub(/(\d\d\d)(?=\d)(?!\d*#{dec})/, "\\1#{sep}").reverse end end
Posted in Ruby Buzz Forum, Apr 11, 2007, 4:40 PM
for apeiros: class Numeric def commify(dec='.', sep=',') num = to_s.sub(/\./, dec) dec = Regexp.escape num.reverse.gsub(/(\d\d\d)(?=\d)(?!\d*#{dec})/, "\\1#{sep}").reverse end end
Posted in All Buzz Forum, Apr 11, 2007, 12:39 AM
As continuation from my previous post, I offer a visualization to help clarify things: Before After Click the images to see the code in more detail. The most important thing to understand is that every matrix line from the "after" version like: matrix :edit, :edit, :edit, :edit, :edit, :e_RO, :e_RO, :e_RO, :e_RO is an entire page of the...
Posted in All Buzz Forum, Apr 10, 2007, 2:21 AM
I've made some really good progress with the Functional Test Matrix idea. The code compression ratio is phenomenal. I'm writing up a comparison of the two, but without finesse the post would be huge and boring. I'll summarize here as best as I can. I think most important idea is that high-level reviews or even edits of the functional tests...
Posted in Ruby Buzz Forum, Apr 10, 2007, 2:21 AM
I've made some really good progress with the Functional Test Matrix idea. The code compression ratio is phenomenal. I'm writing up a comparison of the two, but without finesse the post would be huge and boring. I'll summarize here as best as I can. I think most important idea is that high-level reviews or even edits of the functional tests...
Posted in All Buzz Forum, Apr 8, 2007, 1:04 AM
I just released toggle.el, version 1.2 and autotest.el 1.0 beta 2. Get them via: http://www.emacswiki.org/cgi-bin/wiki/RyanDavis toggle.el toggle.el allows you to quickly open corresponding files via a dynamic mapping. In this release I added some bug fixes and a mapping for rspec. There are now 4 different mapping styles in this version:...
Posted in Ruby Buzz Forum, Apr 8, 2007, 1:04 AM
I just released toggle.el, version 1.2 and autotest.el 1.0 beta 2. Get them via: http://www.emacswiki.org/cgi-bin/wiki/RyanDavis toggle.el toggle.el allows you to quickly open corresponding files via a dynamic mapping. In this release I added some bug fixes and a mapping for rspec. There are now 4 different mapping styles in this version:...
Posted in All Buzz Forum, Apr 5, 2007, 5:05 PM
This is an idea I've been tossing around for a while. Akin to Ward's FIT, how do you make testing complex specifications with many edge cases clearer? I have something similar to the idea below that I'm slowly evolving towards this idea. I'm not entirely sold on it, but it does seem to cut down on the amount of code I have to write and how I...
Posted in Ruby Buzz Forum, Apr 5, 2007, 5:05 PM
This is an idea I've been tossing around for a while. Akin to Ward's FIT, how do you make testing complex specifications with many edge cases clearer? I have something similar to the idea below that I'm slowly evolving towards this idea. I'm not entirely sold on it, but it does seem to cut down on the amount of code I have to write and how I...
Posted in All Buzz Forum, Apr 4, 2007, 5:05 PM
I'm not really good on the sales and marketing side, but a number of people have been bugging me to go public about my availability, so here it is. I'll be posting this in a more permanent location (linked on the sidebar) once I get it polished up and finalized: I'm available for consulting on a part-time basis, 10-20 hours a week, at $100 per...
44 pages [ Previous 1 ... 15 16 17 18 19 20 21 22 23 24 25 Next ]
Advertisement