Are you running on a *nix box? You could always just use a bash one-liner, or script
for env in ie firefox opera ; do rspec ENV=$env ; spec ; done On Wed, Apr 7, 2010 at 3:24 AM, Cid Dennis <cid.den...@gmail.com> wrote: > So I have created a number of rspec test using the selenium ruby client. > > The problem is I can not figure out a easy way to say run all the test I have > on each browser I want to support. The current work around I have is to use > and environment variable and have the specs look at a config file to find the > browser information it is suppose to use. But this requires running spec > for each change to the environment. > > What I really want to do is a way to loop over all the test in a example file > and say do it for each on of these configurations. > > I am using the most recent version of rspec. > > Any pointers would be appreciated. > > Thanks > > _______________________________________________ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > -- Greg Akins http://insomnia-consulting.org http://www.pghcodingdojo.org http://pittjug.dev.java.net http://twitter.com/akinsgre http://www.linkedin.com/in/akinsgre _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users