From: rubynet-announce-admin@... Date: 2003-02-14T05:01:06+09:00 Subject: rubynet-announce digest, Vol 1 #27 - 2 msgs Send rubynet-announce mailing list submissions to rubynet-announce@lists.rubynet.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.rubynet.org/lists/listinfo/rubynet-announce or, via email, send a message with subject or body 'help' to rubynet-announce-request@lists.rubynet.org You can reach the person managing the list at rubynet-announce-admin@lists.rubynet.org When replying, please edit your Subject line so it is more specific than "Re: Contents of rubynet-announce digest..." Today's Topics: 1. [ANN] Test::Unit 0.1.8 (rubynet-announce-admin@lists.rubynet.org) 2. Borges 0.1.1 Released (rubynet-announce-admin@lists.rubynet.org) --__--__-- Message: 1 To: "Ruby List" , Date: Tue, 11 Feb 2003 20:47:26 -0800 From: rubynet-announce-admin@lists.rubynet.org Subject: [ruby-announce] [ANN] Test::Unit 0.1.8 Reply-To: announce@rubynet.org If you don't know what Test::Unit is, I've included an explanation further down. For everyone else, here's some highlights from the ChangeLog (you can read the whole thing at http://testunit.talbott.ws/ChangeLog): * Added more output options to the console test runner. * Changed Object#id calls to Object#__id__ to remove deprecation warnings under 1.7. * Did a little performance tuning. * Fixed a problem in stack trace filtering in Error.filter. * Added the ability to pick the runner when running automatically (thanks to Eivind Eklund). * Fixed debugging support in unit.rb. * Made the failure caused by running an empty suite clear, consistent, and changeable. * !Removed the return value from Assertions#assert_match. * Modified tests to make sure all assertions are returning nil unless they're explicitly supposed to do something else. * !Made TestCase#initialize throw :invalid_test if the test method specified does not exist (this is in addition to the arity check that was already in place). * !Changed #assert_match to use #=~ instead of #match; it can now handle strings as patterns, too. * Fixed warnings under 1.8 caused by not using a 0 before the decimal point of floats. Notes: * Test::Unit has been imported in to ruby 1.8. If you're running against the latest CVS, you shouldn't need to download this! README: Unit testing is making waves all over the place, largely due to the fact that it is a core practice of XP. While XP is great, unit testing has been around for a long time and has always been a good idea. One of the keys to good unit testing, though, is not just writing tests, but having tests. What's the difference? Well, if you just _write_ a test and throw it away, you have no guarantee that something won't change later which breaks your code. If, on the other hand, you _have_ tests (obviously you have to write them first), and run them as often as possible, you slowly build up a wall of things that cannot break without you immediately knowing about it. This is when unit testing hits its peak usefulness. Enter Test::Unit, a framework for unit testing in Ruby, helping you to design, debug and evaluate your code by making it easy to write and have tests for it. Grab the fun at http://testunit.talbott.ws/. Happy testing, Nathaniel <:((>< + - - | RoleModel Software, Inc. | EQUIP VI --__--__-- Message: 2 Date: Wed, 12 Feb 2003 16:16:48 -0800 To: announce@rubynet.org, ruby@zenspider.com Organization: Eric Conspiracy Secret Labs From: rubynet-announce-admin@lists.rubynet.org Subject: [ruby-announce] Borges 0.1.1 Released Reply-To: announce@rubynet.org --EkxpYdHiqGHPYbUt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Borges 0.1.1 has been released CHANGES Borges now supports Apache + DRb Integration. See: /usr/local/share/doc/ruby/borges/README.Apache and for examples: /usr/local/share/examples/ruby/borges/apache/ DESCRIPTION Borges is a web application framework that allows linear programming of web applications. Borges runs on Webrick (Apache+DRb will be supported in the near future) and features a simple rendering interface. Those who are interested will likely be greatly helped by the Seaside 2.0 documentation. You can download Borges (and find more info) at: http://segment7.net/ruby-code/borges/borges.html DEPENDENCIES Ruby: http://www.ruby-lang.org/ - tested on 1.6.8 InstallPkg: http://www.ruby-lang.org/raa.html Webrick: http://www.notwork.org/ipr/webrick/ --=20 Eric Hodel - drbrain@segment7.net - http://segment7.net All messages signed with fingerprint: FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04 --EkxpYdHiqGHPYbUt Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+SuPwMypVHHlsnwQRAsQTAJ4xLNHnCRoRHSRy2hiFz0uxEMRVPQCg8tt6 +PbRY9caGNoa6jG2aW/lKQU= =drP0 -----END PGP SIGNATURE----- --EkxpYdHiqGHPYbUt-- --__--__-- _______________________________________________ rubynet-announce mailing list announce@rubynet.org http://lists.rubynet.org/lists/listinfo/rubynet-announce End of rubynet-announce Digest