<ANN> TeSLa 0.2.0 is out

O

obscured by code

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top