[Webtest] New! Startup Scripts For WebTest

Denis N. Antonioli webtest@lists.canoo.com
Mon, 4 Apr 2005 12:16:09 +0200


Well, don't tell my Mac that he is just a PC ;-)

So, for The Rest Of Us, working with some kind of unix (Mac OS X, 
Linux, cygwin, ...):

1) get the zip and extract its content to ~/WebTest
2) add the directory ~/WebTest/bin to your path, either in your shell's 
rc, or on the shell:
	setenv PATH $PATH:~/WebTest/bin
	chmod a+rx ~/WebTest/bin/webtest.sh
	rehash

The command webtest.sh can be used instead of the command ant to run 
tests.
In our example:
	cd ~/WebTest/doc/samples
	webtest.sh -f buildfile installTest.xml

This example is for tcsh, the translations to bash, ksh, ... are left 
as an exercice to the reader.


Best
	dna

On 4 avr. 05, at 09:41, Marc Guillemot wrote:

> PC = windows? ;-)
>
> Denis N. Antonioli wrote:
>> Hi
>> Starting with R_762, the build.zip file contains the necessary files 
>> to run webtest:
>> + a minimal ant installation,
>> + all webtest libraries,
>> + two startup scripts.
>> No more fiddling with an ant installation, moving jar files around. 
>> Installing WebTest is just a two steps process.
>> To get WebTest up-and-running on a PC:
>> 1) get the zip and extract its content to c:\WebTest
>> 2) add the directory c:\WebTest\bin to your path, either in Windows' 
>> system setup, or on the shell
>>     set PATH=%PATH%;c:\WebTest\bin
>> Voila, that's all.
>> The DOS command webtest.bat can be used instead of the command ant to 
>> run tests.
>> To continue the previous example,
>>     cd <WEBTESTHOME>\doc\samples
>>     webtest -buildfile installTest.xml
>> You should see BUILD SUCCESSFUL.Congratulation! You are finished!
>> Happy webtesting
>>     dna
>
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>
-- 
All human activity was useless, but some kinds
were more pleasant than others.
   -- D. Lodge, Ginger, you're barmy