[Webtest] ReportSite step
Denis N. Antonioli
webtest@lists.canoo.com
Tue, 10 Jan 2006 12:09:57 +0100
Hi
On 9 janv. 06, at 17:38, Jon Poulton [kinomi] wrote:
> I found a largely undocumented class which seemed to do something =20
> along these lines called <reportSite>, which is an extension step =20
> written by someone called Denis Antonioli.
Indeed. I wrote the step for the previous version of webtest (http-=20
based), improved for a client's project, and never quite finished the =20=
port to the newer webtest version.
> After having a look at the source it seemed to do more or less what =20=
> was required, although unfortunately the Spider class it used =20
> wasn=92t quite working correctly (it tries to click mailto: links, =20
> and occasionally does other strange things). Anyway, I=92ve written a =20=
> replacement class in my own package. It=92s not entirely finished, =20
> but it does the job as far as our requirements go. I was wondering =20
> a few things:
>
>
>
> 1) What are the spider package extension steps supposed to =20
> do, exactly? Are they still under development (hence lack of =20
> documentation)? Is anyone using them?
I'm still using it with webtest 1-6, and plan to move it to the newer =20=
version.
> 2) Is anyone interested in the replacement classes I=92ve =
written?
If it's working better, definitely.
> 3) If so, what would be the best way forward? Replace the =20
> existing spider classes? Deprecate the existing classes and place =20
> mine in a separate package?
I would replace the existing classes, but I don't know who else is =20
using them?
> Let me know what you think,
According to my experience, the weakness of the existing spider was =20
its handling of multiple errors and its reporting, which was quite =20
difficult to read.
How is your solution handling this?
Best
dna
--=20
A Perl module would prefer that you stayed out of its living room
because you weren't invited, not because it has a shotgun.
-- Larry Wall & Tom Christiansen in the Camel