Hi,
all my webtests files start with something like:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE project SYSTEM "../WebTest.dtd"[
<!ENTITY config SYSTEM "../config.xml">
]>
The config file is project specific and it makes sense to have it in each
project. But the WebTest.dtd is in all
projects the same. It would perhaps make sense to provide a DTD on webtest
website that could be referenced like:
<?xml version="1.0"?>
<!DOCTYPE project PUBLIC "WebTest.dtd" "http://webtest.canoo.com/WebTest.dtd" [
<!ENTITY config SYSTEM "../config.xml">
]>
It would avoid duplicating the dtd in different projects (but what about the
version of the DTD?).
A further step to avoid duplicates could be to provide a sort of webtest runner
ant script that would load the steps
tasks, run the test and perform the xsl transformation.
Reactions? Comments?
Marc.