Hi Kosta,
I'm not aware of any documentation on this. (That's not to say there isn't any just none that I know of. Naci, David or Jeff may have written something.)
For examples of including the tests in the build see [1].
There are many example test plug-ins you can look at such as those in the WSDL [2] component.
The test framework will launch Eclipse UI (that's right, UI, not headless) and run your tests. It's the responsibility of your tests to perform and setup/teardown required.
[1] http://dev.eclipse.org/viewcvs/index.cgi/releng.wtpbuilder/distribution/wtp.tests/testScripts/?cvsroot=WebTools_Project
[2] http://dev.eclipse.org/viewcvs/index.cgi/wst/components/wsdl/tests/?cvsroot=WebTools_Project
Lawrence Mandel
Software Developer
IBM Rational Software
Phone: 905 - 413 - 3814 Fax: 905 - 413 - 4920
[EMAIL PROTECTED]
| "Konstantin Komissarchik"
<[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED] 06/13/2006 06:39 PM
|
|
Is there information anywhere on how to integrate JUnit tests into WTP testing infrastructure? I am particularly interested in how tests are added to build, how they are invoked, and what sort of assumptions can tests make about their environment (for instance, does something setup eclipse in a headless mode prior to calling the test or is that test’s responsibility). Any other information regarding writing tests for WTP would also be useful.
Thanks,
- Konstantin
_______________________________________________________________________
Notice: This email message, together with any attachments, may contain
information of BEA Systems, Inc., its subsidiaries
and affiliated
entities, that may be confidential, proprietary, copyrighted
and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.
_______________________________________________
wtp-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/wtp-dev
_______________________________________________ wtp-dev mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/wtp-dev
