Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > <ANN> TeSLa 0.2.0 is out

Thread Tools

<ANN> TeSLa 0.2.0 is out

obscured by code
Posts: n/a
TeSLa 0.2.0 is now out:

1. Test First can now be done. TeSLa gracefully fails when the method
being tested doesn't exist in a class or module.

2. Changes to syntax
- Deprecated #requires in favor of #given (#requires still works, but
will give a warning message)
- Deprecated #test_method in favor of #begin_test (#test_method still
works, but will give a warning message)
- Test can be given arbitrary names (passed as a parameter to
- Introduced #with_block so methods that receive a block and arbitrary
pieces of code can now be tested

3. Methods that receive a block can now be tested (see "Changes to

4. Arbitrary pieces of code can also be tested if no method is
specified in the 'begin_test' signature (see "Changes to syntax").

5. Tests can be defined in a module

The complete article can be found at

You can get it from here
or here

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tesla Coils are fun Shane NZ Computing 0 06-21-2007 03:52 AM
<ANN> TeSLa, a Domain Specific Language for Unit Testing Ruby 1 10-31-2005 05:40 AM
in becn,out becn, in fecn, out fecn mauro Cisco 3 06-03-2004 12:27 AM
PIX 515 Can Ping Out-to-In but not any webservices getting out-to-in Johnny Davis Cisco 6 01-19-2004 05:33 PM
p2p using Tesla please help Computer Support 0 07-06-2003 12:20 AM