Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Ruby
[ANN] testy.rb - ruby testing that's mad at the world
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Yossef Mendelssohn, post: 4635211"] You call this beautiful, but I don't understand it. This says that 'a' is okay and 'b' isn't, right? Maybe it's not so much that I don't understand it as I don't really like it. Frankly, I find it rather ironic that you're writing a testing framework and seemingly advocating BDD. Maybe things have changed mightily in these heady recent times. I like some of what you have as points, like the output should be readable ("beautiful" is a little subjective), and of course that tests should improve your code. The framework points, about the framework not being huge and not contributing to brittle tests are good, and the exit status is interesting. Personally, I live with a couple of methods (as few as possible) on Object and Kernel so writing the tests doesn't make me want to kill myself. I used RSpec for a long time, and still do with some projects. I've switched bacon for my personal projects, and I love it. As for mocking, which is necessary in some cases if you want to test without turning into a serial killer, mocha with RSpec, facon with bacon. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Ruby
[ANN] testy.rb - ruby testing that's mad at the world
Top