Re: Looping in Test::Harness

2010-04-09 Thread Uri Guttman
> "BM" == Bob McConnell writes: BM> From: Uri Guttman >> >> you can even use perl itself. just write a perl data structure and >> call do on it. it can be an anon array or hash which is the >> returned value. no need to learn yaml or load another module. you >> can also slurp/ev

RE: Looping in Test::Harness

2010-04-09 Thread Bob McConnell
From: Uri Guttman > "BM" == Bob McConnell writes: > BM> From: Philip Potter > >> On 6 April 2010 16:52, Bob McConnell wrote: > >>> I have a test harness set up with a series of Selenium test scripts. > >>> Each script tests a specific scenario on my web site. But I have some > >>> scen

Re: Looping in Test::Harness

2010-04-09 Thread Uri Guttman
> "BM" == Bob McConnell writes: BM> From: Philip Potter >> On 6 April 2010 16:52, Bob McConnell wrote: >>> I have a test harness set up with a series of Selenium test scripts. >>> Each script tests a specific scenario on my web site. But I have some >>> scenarios that I want to tes

Re: Looping in Test::Harness

2010-04-09 Thread Philip Potter
On 9 April 2010 18:04, Bob McConnell wrote: > After a great deal of reading and speculation, it looks like YAML is the > way to go. I will have to move the loop inside each test script, and > iterate thorough the records read. The biggest problem is that the plan > is no longer fixed, so I do lose

RE: Looping in Test::Harness

2010-04-09 Thread Bob McConnell
From: Philip Potter > On 6 April 2010 16:52, Bob McConnell wrote: >> I have a test harness set up with a series of Selenium test scripts. >> Each script tests a specific scenario on my web site. But I have some >> scenarios that I want to test multiple times with different data entered >> each ti

Re: Looping in Test::Harness

2010-04-06 Thread Brandon McCaig
On Tue, Apr 6, 2010 at 11:52 AM, Bob McConnell wrote: > Is there a cleaner way to pass those variables into each test script? I'm unfamiliar with testing practices in Perl, but I would imagine that almost anything would be better than using environment variables to store test values (IMO, at leas

Re: Looping in Test::Harness

2010-04-06 Thread Philip Potter
On 6 April 2010 16:52, Bob McConnell wrote: > I have a test harness set up with a series of Selenium test scripts. > Each script tests a specific scenario on my web site. But I have some > scenarios that I want to test multiple times with different data entered > each time. Currently I am using en

Looping in Test::Harness

2010-04-06 Thread Bob McConnell
I have a test harness set up with a series of Selenium test scripts. Each script tests a specific scenario on my web site. But I have some scenarios that I want to test multiple times with different data entered each time. Currently I am using environment parameters to pass the test data into each