[Webtest] Building suites and removing duplication

Dierk Konig webtest@lists.canoo.com
Thu, 16 May 2002 16:59:43 +0200


Hi Johannes,

First I would advise everybody to follow your abc :-)

Ant properties and xml enties are the usual style to build
modules.

There are a few options to make this less obscure.

I think proper entity names don't need to be mentioned :-)
[unlike method names you have the opportunity to name your
entity differently per context, e.g. "bla" in one test and
"blubs" in another one, while the file is named "FooModule.xml"]
BTW: you don't need to do the entity def in a dtd. You can
extract whole xml nodes in external files.

When working with entities you normally have no support to
quickly assess the value for proof reading. (If you know how to
do that - please tell me!) A solution is to have an xsl that
creates a report about the extended structure.
An example output is http://webtest.canoo.com/webtest/manual/selfTest.html

Another example is the WebTest Report itself (from your last
run), where you see all properties and modules expanded.

If that does not address your problem:
How would a WebTest look like, where your problem is solved?

cheers
Mittie


> -----Original Message-----
> From: webtest-admin@lists.canoo.com
> [mailto:webtest-admin@lists.canoo.com]On Behalf Of Johannes Link
> Sent: Donnerstag, 16. Mai 2002 12:38
> To: webtest@lists.canoo.com
> Subject: [Webtest] Building suites and removing duplication
>
>
> Hi webtest users,
>
> We are currently trying to scale up Webtest for a project with
> lots of test
> suites. How are you organizing your xml-test-files such that:
>
> a) The individual suites - ie. files - can be run individually
> b) can be composed hierarchically into collection suites
> c) Don't contain any duplicated logic.
>
> The missing include-functionality of ANT bites us. Using entities and DTDs
> as "poor man's include" is rather obscure and unreadable. Is
> there a way to
> define (parameterized) Webtest steps in one place and use them
> somewhere else?
> I hope it's just my lack of ANT and Webtest knowledge...
>
> Johannes
>
> --
> GMX - Die Kommunikationsplattform im Internet.
> http://www.gmx.net
>
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>