Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
[ANN] yamltest 0.5.0 Released
Gaspard Bucher
1/22/2009 3:27:00 PM
This is the first release for yamltest, freshly extracted from zena, a
rails CMS (
http://ze...
).
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....
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/yam...
install: sudo gem install yamltest
Changes:
## yamltest 0.5.0 2009-01-21
* 1 major improvement
* First release after extraction from zena (
http://ze...
).
[gaspard]
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
[ANN] yamltest 0.5.0 Released
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password