Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] It's possible to use DI (blueprint) with tycho-surefire-plugin ?

As seen on https://docs.sonatype.org/display/TYCHO/Tycho+reference+card  you should be able to configure the surefire plugin like this:


<configuration>
    <testSuite>org.eclipse.equinox.p2.tests</testSuite>
    <testtClass>org.eclipse.equinox.p2.tests.AutomatedTests</testClass>
    <argLine>-Xmx512m</argLine>
    <bundleStartLevel>
        <bundle>
	    <id>org.eclipse.equinox.ds</id>
	    <level>1</level>
	    <autoStart>true</autoStart>
	</bundle>
    </bundleStartLevel>
</configuration>


Cheers, Sandro




On Fri, Jun 10, 2011 at 16:33, Cristiano Gavião <cvgaviao@xxxxxxxxx> wrote:
Hi,

The eclipse product that I'm building with Tycho is using Blueprint as DI framework.

I've tried to inject some services and beans instances in my integration test classes too, but isn't working (I'm getting NullPointerException).

Is there a way to do this using tycho-surefire-plugin ?

thanks for any tip

cheers

Cristiano
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top