[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [pdt-dev] Develope pdt extension

Czesc Dawid,

re 1. do I correctly understand that you have some external pdt
extension and now you'd like to run pdtt tests on top of eclipse+your
extension? Or you'd like to write your own pdtt tests for your
extension?
So regarding running them, I'm sure you should be able to run PDT
tests from within Eclipse. You need to create JUnit Plug-in Test
launch configuration, make sure that it includes PDT plugins, PDT unit
tests and your extension and then just run PDT tests.
The unit tests to run are specified in test plugins pom.xml files:
org.eclipse.php.core.tests plugin -> main test suite is
org.eclipse.php.core.tests.AllTests
org.eclipse.php.ui.tests plugin -> main test suite is
org.eclipse.php.ui.tests.AllTests

Once you have them running inside Eclipse, you should also be able to
get tests running automatically in Maven.

Now if you'd like to write your own pdtt tests, you could try just
copy one of pdt test plugins and replace it with your tests.

re 2. we have a wiki page, that you probably have already seen:
http://wiki.eclipse.org/PDT. It's not perfect, some data is quite old,
but most is still relevant.
There's also a community of PDT extenders, who created lots of
interesting PDT extensions. You might find it useful to look at their
source code, or even get in touch with them.
See Github https://github.com/pdt-eg and mailing list
https://groups.google.com/forum/#!forum/pdt-extensions-platform.

Feel free to ask here if you have more specific questions,

thanks

Jacek

On Wed, Feb 6, 2013 at 11:19 PM, Dawid PakuÅa <dawid.pakula@xxxxxxxxx> wrote:
> Hi,
>
> I have two simple question for pdt.
> 1. Is any method to integrate pdtt tests with external pdt extensions?
> 2. Is there documentation for pdt developing (not only javadoc)?
>
> Thank you
> --
> Dawid PakuÅa
> +48 795 996 064
>
>
> _______________________________________________
> pdt-dev mailing list
> pdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/pdt-dev
>