Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-releng-dev] JUnit5 support in org.eclipse.test

We run our automated tests using Ant.

Tycho is used only with gerrit builds using surefire plugin

 

Thanks and Regards,

Sravan

 

Sravan Kumar Lakkimsetti

IBM India Pvt Ltd,

Embassy Golf Links Business Park, D Block,

Off Indiranagar-Kormangla Inner Ring Road,

Bangalore - 560071, India

Phone: 91-80-41776858

 

From: Aleksandar Kurtakov [mailto:akurtako@xxxxxxxxxx]
Sent: Monday, February 12, 2018 4:52 PM
To: Eclipse platform release engineering list. <platform-releng-dev@xxxxxxxxxxx>
Subject: Re: [platform-releng-dev] JUnit5 support in org.eclipse.test

 

 

 

On Mon, Feb 12, 2018 at 12:43 PM, Lars Vogel <lars.vogel@xxxxxxxxxxx> wrote:

Hi Lucas,

AFAIK Tycho does not yet support JUnit5. Has this changed?

 

Not yet. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=522475 for details. But this doesn't mean we shouldn't prep our test runner for when tycho is ready :).

 

 

Best regards, Lars

 

On Mon, Feb 12, 2018 at 10:34 AM, Vikas Chandra <Vikas.Chandra@xxxxxxxxxx> wrote:

Hi Lucas,

Can you please try with I20180211-2000 ?

If the problem persists, can you open a bug with steps and add me in the CC section.

Regards,
Vikas
------------------------------------------------------------------------
Eclipse PDE lead,
IBM Rational
EGL D Block - Bangalore, India
Office Phone No : +91 - 80 - 41776506
------------------------------------------------------------------------


Inactive hide details for Lucas Bullen ---02/10/2018 01:01:51 AM---Hello, I am working towards bringing JUnit5 support for ourLucas Bullen ---02/10/2018 01:01:51 AM---Hello, I am working towards bringing JUnit5 support for our automated testing in

From: Lucas Bullen <lbullen@xxxxxxxxxx>
To: platform-releng-dev@xxxxxxxxxxx
Date: 02/10/2018 01:01 AM
Subject: [platform-releng-dev] JUnit5 support in org.eclipse.test
Sent by: platform-releng-dev-bounces@xxxxxxxxxxx





Hello,

I am working towards bringing JUnit5 support for our automated testing in the org.eclipse.test project but have ran into an issue.

When following the JUnit5 instructions I get the error "Cannot create Launcher without at least one TestEngine; consider adding an engine implementation JAR to the classpath". The cause is that the following is unable to find any instances of TestEngine:

Iterable<TestEngine> testEngines = ServiceLoader.load(TestEngine.class,ClassLoaderUtils.getDefaultClassLoader());

Do you have any suggestions on how to ensure that the service loader is able to find an instance of TestEngine?

I have included org.junit.jupiter.engine, which contains JupiterTestEngine which implements TestEngine, as a required plugin. I have tried adding a direct path to the jupiter.engine jar in the project's .classpath. I have tried creating an instance of JupiterTestEngine witihn the same file and it is created successfully, but still no TestEngines found by the service loader.

Further info/links for this question: https://stackoverflow.com/questions/48672051/junit5-platform-launcher-api-cannot-create-launcher-without-at-least-one-teste

--
Lucas Bullen
Software Engineering Intern
Red Hat

90 Eglinton Ave E #502,
Toronto, ON M4P 2Y3
lbullen@xxxxxxxxxx   

_______________________________________________
platform-releng-dev mailing list
platform-releng-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://urldefense.proofpoint.com/v2/url?u=https-3A__dev.eclipse.org_mailman_listinfo_platform-2Dreleng-2Ddev&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=GX7Y0qkiGeGZucWtN4LNVw0zMQRk7c4he15Of0gDz44&m=GXIdS_RaKjxDPF1kWHYHL6QEXWBuDDoY61WhB9Y9ePI&s=oQULyU1xbbpWMwlI8TmY_S20KmdPv0qFi7NH0kRNwes&e=



_______________________________________________
platform-releng-dev mailing list
platform-releng-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

https://dev.eclipse.org/mailman/listinfo/platform-releng-dev




--

Eclipse Platform project co-lead
CEO vogella GmbH

Haindaalwisch 17a, 22395 Hamburg
Amtsgericht Hamburg: HRB 127058
Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
USt-IdNr.: DE284122352
Fax (040) 5247 6322, Email: lars.vogel@xxxxxxxxxxx, Web: http://www.vogella.com


_______________________________________________
platform-releng-dev mailing list
platform-releng-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-releng-dev




--

Alexander Kurtakov

Red Hat Eclipse Team



Back to the top