views:

415

answers:

2

I am using eclipse EPIC (Perl plug-in) to run my Perl scripts. The scripts are running fine. but I want group my scripts and run together at a go. How can I do this?

The scripts I am running are test cases. So basically it would be nice if I can take the results of each script and display them in table like fashion or write into a file all the results. How can I do this too?

And can I connect to remote host to run the scripts?

A: 

If you are using Windows, you can use a batch (.bat) file to run the scripts in groups. Create a testcase.bat file in your text editor and type the following lines in it:

perl script1.pl
perl script2.pl
perl script3.pl

where script1.pl, script2.pl and script3.pl are your script filenames.

Then run the testcase.bat file from your command line.

You will have to print your outputs from each script to a common file by opening a filehandle. The 'append' mode ">>" will be useful here.

Zaid
A: 

No i am asking for a GUI where i can do this.. using eclipse IDE.. can i check all the scripts from a checkbox or something similar to that and run them.. And even i need all the results to be collected and displayed in a file??

Do not post non-answers as answers. Instead, post a comment to the answer on which you are commenting. By the way, why are you using two separate accounts?
Sinan Ünür