[ANN] yamltest 0.5.0 Released

G

Gaspard Bucher

This is the first release for yamltest, freshly extracted from zena, a
rails CMS (http://zenadmin.org).

yamltest
======
yamltest is a simple helper to write parts of your unit tests using
yaml. For a real world example of such tests, please have a look at zafu
parser (currently in zena but soon as a separate gem too) :
http://tinyurl.com/d35yr7

Basically yamltest writes tests for you. You define them in a YAML file:

capitalize_should_work:
src: "london"
res: "London"

You can also use a context that will be passed to your "yt_parse"
method. Or format your different result keys ('sql', 'res', 'tem',
whatever) as a regular expression:

template_should_contain_node
src: "<%= show_node %>"
tem: "/node/"

current site: http://github.com/zena/yamltest/tree

install: sudo gem install yamltest

Changes:

## yamltest 0.5.0 2009-01-21

* 1 major improvement
* First release after extraction from zena (http://zenadmin.org).
[gaspard]
 

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

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,061
Latest member
KetonaraKeto

Latest Threads

Top