On Thu, Feb 4, 2010 at 4:40 PM, Iain_10 <[email protected]> wrote:
> I am looking at the best way to organise my Web Tests.
I guess there is no "BEST" way to organize your tests. It depends on
your amount of tests scripts, and your test scenario's.
We have rather a limited set of test files (roughly 20), and we store
them all inside a single "tests" directory. Names of the file either
refer to the tested functionality, or to the issue ID from the bug
tracking system.
> But it doesn't seem to execute the tests in myTest2.xml.
I guess you miss a reference to "myTest2.xml".
In our case, the global "build.xml" contains the property
"wt.testInWork" referring to "tests/allests.xml". The latter file
contains a list of all test files, each one listed with separate <ant>
tag. Not really advanced, I suggest that you get it working first, and
grow into a more formal structure when you feel the need.
Example content "allTests.xml":
<project default="test">
<target name="test" description="runs all the tests">
<ant antfile="test1.xml"/>
<ant antfile="test2.xml"/>
<ant antfile="test3.xml"/>
</target>
</project>
BTW, please quote mails inline, and enter your remarks inline is as
well. Makes following threads much easier.
Regards,
Tung
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest