Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

<ANN> TeSLa 0.2.0 is out

1 view
Skip to first unread message

obscured by code

unread,
Nov 9, 2005, 9:34:02 PM11/9/05
to
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

0 new messages