Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Problem with SureFire

Hi Simon,

I found the problem. It was because of a jUnit bundle packed via bnd-platform.

My Manifest looks like:

Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Tests
Bundle-SymbolicName: connector.common.tests
Bundle-Version: 1.0.0.qualifier
Bundle-Vendor: KGU-Consulting GmbH
Fragment-Host: connector.common;bundle-version="1.0.0"
Automatic-Module-Name: connector.common.tests
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Export-Package: connector.common
Require-Bundle: org.mockito;bundle-version="2.13.0",
 org.hamcrest;bundle-version="1.1.0",
 org.junit;bundle-version="4.12.0"
Bundle-ClassPath: .

Now I use the jUnit bundle from the Orbit and tycho-surefire works fine
I am not sure yet what's the difference between this bundle and the bnd built  bundle.

Thanx for your quick response!!!!

Stefan


-----Ursprüngliche Nachricht-----
Von: tycho-user-bounces@xxxxxxxxxxx <tycho-user-bounces@xxxxxxxxxxx> Im Auftrag von Simon Scholz
Gesendet: Dienstag, 10. Juli 2018 10:35
An: Tycho user list <tycho-user@xxxxxxxxxxx>
Betreff: Re: [tycho-user] Problem with SureFire

Hi Stefan,

could you be more precise?
What does your MANIFEST.MF file look like?
Which dependencies do you have?
Which testing framework are you using?

Regards,

Simon

On Tue, Jul 10, 2018 at 9:57 AM, Stefan Nöbauer <stefan.noebauer@xxxxxxxxxxxxxxxxxx> wrote:
> Hi
>
>
>
> I created a test fragment with one simple test.
>
> I have no pom for this fragment.
>
> I use Photon, M2E - Maven Integration for Eclipse 1.9.0, Tycho 1.2.0
>
> When building with mvn clean verify I get the failure:
>
>
>
> Failed to execute goal 
> org.eclipse.tycho:tycho-surefire-plugin:1.2.0:test
> (default-test) on project connector.common.tests: Could not determine 
> test framework provider. Available providers: [junit3, junit5, junit4, 
> testng, junit47] -> [Help 1]
>
>
>
> What am I doing wrong?
>
>
>
> Regards
>
> Stefan
>
>
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or 
> unsubscribe from this list, visit 
> https://dev.eclipse.org/mailman/listinfo/tycho-user



--
--
Trainer, Consultant and Developer

vogella GmbH
Haindaalwisch 17a, 22395 Hamburg
Amtsgericht Hamburg: HRB 127058
Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
USt-IdNr.: DE284122352
Tel (040) 78804360, Fax (032) 221739404, Email:
simon.scholz@xxxxxxxxxxx, Web: http://www.vogella.com _______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/tycho-user

Back to the top