Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-dev] Writing WTP JUnit tests


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
lmandel@xxxxxxxxxx



"Konstantin Komissarchik" <kosta@xxxxxxx>
Sent by: wtp-dev-bounces@xxxxxxxxxxx

06/13/2006 06:39 PM

Please respond to
"General discussion of project-wide or architectural issues." <wtp-dev@xxxxxxxxxxx>

To
"General discussion of project-wide or architectural issues." <wtp-dev@xxxxxxxxxxx>
cc
Subject
[wtp-dev] Writing WTP JUnit tests





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
wtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-dev


Back to the top