[jbosstools-dev] test for aggregator build?
Mickael Istria
mistria at redhat.com
Wed Sep 5 04:43:35 EDT 2012
On 09/05/2012 10:04 AM, Max Rydahl Andersen wrote:
> On 05 Sep 2012, at 04:31, Nick Boldt <nboldt at redhat.com> wrote:
>
>> So... if you wanted to nest some test plugins for verifying content on the sites, I might suggest site/tests/ as a reasonable place to start.
> well site it self is a eclipse-update-site packaging so putting tests subdirs under it is not really possible.
>
> I wonder if I could just add a basic java unit test to this one....i'll try that.
Eclipse-update-site lifecycle mapping does not contain any compilation
phase (see
http://git.eclipse.org/c/tycho/org.eclipse.tycho.git/tree/tycho-maven-plugin/src/main/resources/META-INF/plexus/components.xml
), so you'll need to explicitly invoke maven-compiler-plugin...
Something that may work better:
1. Write your test-case in the tests/ module
2. Invoke surefire in the site pom.xml (in an integration-test step) and
reference this test-case in surefire configuration
--
Mickael Istria
Eclipse developer at JBoss, by Red Hat <http://www.jboss.org/tools>
My blog <http://mickaelistria.wordpress.com> - My Tweets
<http://twitter.com/mickaelistria>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jbosstools-dev/attachments/20120905/7202adcb/attachment-0001.html
More information about the jbosstools-dev
mailing list