Automating unit tests (junit) for Eclipse Plugin development

后端 未结 7 1174
野趣味
野趣味 2020-12-07 23:31

I am developing Eclipse plugins, and I need to be able to automate the building and execution of the test suite for each plugin. (Using Junit)

Test are working with

7条回答
  •  不知归路
    2020-12-08 00:11

    As an alternative to Ant, I've had good experience in using the brand new Maven+Tycho with Hudson. Tycho provides complete support for Osgi and Eclipse development in Maven. It's currently under heavy development, but most of the features I've needed worked. It needs only very little configuration from your side, because it can parse MANIFEST.MF files.

    If you have some experience with Maven it's not very hard to start working with it. Hudson is a bit more problematic because of missing Maven 3 support. (the development version of Maven 3 is used by Tycho)

    Links for start:

    • uncomplete user docs

提交回复
热议问题