[Webtest] How to set up reporting and subprojects
Marc Guillemot
Marc Guillemot <mguillemot@yahoo.fr>
Fri, 04 Jan 2008 10:21:44 +0100
Hi,
how many tests do you have (do you plan to have)? Unless this is a very
large number, I would rather use the facilities of webtest.xml and
generate a single report.
Cheers,
Marc.
--
Blog: http://mguillem.wordpress.com
Gary Fay wrote:
> Hello,
>
> I am trying to work with Webtest from Canoo, specifically I am trying to
> figure out the best way to organize and run tests AND get the reporting
> to match. (I am trying to figure out the best way to organize thing, and
> I hope the following isn't confusing.
>
> Basically I would like to know, should all reports go to one directory
> outside of the project (sub projects seem to get lost) or should the
> result be in each subproject and be copied or organized in some way
> after the test complete.
>
> (I am fairly light user of ANT and am still learning things about it.
> Setting up directory and filesets seems to be my biggest stumbling block...
> )
>
> It seems like the best way to do this is to divide the project up into
> subproject so that the directories look like the project
>
> for example
> -project
> -users
> -products
> -orders
>
> Would have test code set up like
> -projectTest
> -users
> -sub - build.xml
> -products
> -sub - build.xml
> -orders
> -sub - build.xml
> build.xml (project level file
>
> with build.xml set up in each subproject.
>
> I have the master build.xml file calling clean and test tasks in each
> subproject and was wondering about the reporting ...
> A hardcoded entry such as :
> c:\reports\project\report.xml seems to dump everything into the directory,
>
> it does seem to have a lengthy result.xml and lots of html files but the
> directory structure is not preserved ...
>
> I suppose the copy tasks could be used ....
>
> I wonder if leaving the results in each directory is better?
>
> ( I am not a big user of ant but I love Canoo's reports, I guess I am
> curious how best to set up the structures.)
>
> PS I noticed several years ago performance and maintenance seem easier
> when things are broken up and there is more than one big test script ...)
>
> ------------------------------------------------------------------------
> Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try
> it now.
> <http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>>