1 Apr 2007 02:05
Implementation for 5 > x > 4 / RSpec fuzz testing
Florian Groß <florgro <at> gmail.com>
2007-04-01 00:05:05 GMT
2007-04-01 00:05:05 GMT
Hi, before going to sleep I had an idea for how to implement 5 > x > 4. It's pretty simple an implementation. I remember reading on ruby-talk years ago that this was impossible to do without changing Ruby's parser. So, nothing big. I just don't want this to decay on my hard disk. It demonstrates a fair bit of meta programming and that Ruby is powerful as well. It's available at http://flgr.0x42.net/code/comp_chain.rb I'm also wondering if somebody has already thought about how to best do fuzz testing in RSpec? I know about RFuzz, but it seems to be web specific. Is there any official best practise for using random input in your specs? Kind regards, Florian Gross
RSS Feed