[Wtr-general] Files as argument when running a suite
Pierre Garigue
PGarigue at EXTEND.COM
Sat Apr 1 13:39:32 EST 2006
I use this to debug my hand-witten yaml file. I run this in SCiTE so that I see all the results in the 'result frame'
----------------------------------------------------------
require 'yaml'
require 'pp'
#used to debug the yaml structure
tree = YAML::load( File.open('your_file_goes_here.yml' ) )
#print the yaml file
puts "\nthis is the yaml file\n"
puts tree.to_yaml
#print the tree
puts "\nthis is the structue from this yaml\n\n"
pp tree
------------------------------------
cheer
Pierre
-----Original Message-----
From: Zeljko Filipin [mailto:zeljko.filipin at gmail.com]
Sent: Saturday, April 01, 2006 12:11 PM
To: wtr-general at rubyforge.org
Subject: Re: [Wtr-general] Files as argument when running a suite
Try yaml, I am using it.
http://yaml4r.sourceforge.net/
On 4/1/06, Deepa Mallapareddy < <mailto:phanideepam at yahoo.com> phanideepam at yahoo.com> wrote:
Hi all,
I have to give a config file( file with variables like username and pwd and URL ) as an argument when running a suite. and I should be able to use the variables in this entire test suite Im eunning.
Can you please suggest
Any input on this will be appreciated.
Thanks in Advance!
Deepa
Whatever you can do or dream you can, begin it. Boldness has genius, power, and magic in it.
--Johann Wolfgang von Goethe
------------------------------------------------------------------------
Deepa Mallapareddy,
4981,Catoctin Drive,
Apt#15,San Diego
CA - 92115
_____
How low will we go? Check out Yahoo! Messenger's low PC-to-Phone call rates. <http://us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com>
_______________________________________________
Wtr-general mailing list
Wtr-general at rubyforge.org <mailto:Wtr-general at rubyforge.org>
http://rubyforge.org/mailman/listinfo/wtr-general
--
http://www.testingreflections.com/blog/3071
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20060401/1846dc68/attachment.html
More information about the Wtr-general
mailing list