<ANN> TeSLa 0.2.0 is out

Discussion in 'Ruby' started by obscured by code, Nov 10, 2005.

  1. 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
    #begin_test)
    - 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
    syntax").

    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
    http://www.theniceweb.com/JaviersBlog/2005/11/tesla-020.html

    You can get it from here
    http://www.theniceweb.com/projects/tesla/tesla_0.2.0.tar.gz
    or here
    http://www.theniceweb.com/projects/tesla/tesla_0.2.0.zip
     
    obscured by code, Nov 10, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Steve
    Replies:
    0
    Views:
    5,422
    Steve
    Jul 1, 2003
  2. JGH
    Replies:
    2
    Views:
    7,091
    Malte
    Feb 23, 2005
  3. sunkrajesh
    Replies:
    0
    Views:
    369
    sunkrajesh
    May 31, 2009
  4. Thomas

    Picking out top three out of database

    Thomas, Dec 8, 2004, in forum: ASP General
    Replies:
    9
    Views:
    148
    Bob Barrows [MVP]
    Dec 16, 2004
  5. Replies:
    1
    Views:
    213
    James Britt
    Oct 31, 2005
Loading...

Share This Page