Make sure you have followed what is documented in:
http://wiki.eclipse.org/Eclipse/Testing/JUnit4_Changes
You'll need to make sure you are bring in the latest eclipse junit
headless runners in your build.
Dave
Nicolas Bros wrote:
I have created a JUnit 4 test suite:
@RunWith(Suite.class)
@SuiteClasses( { TestingTests.class })
public class AllTests {
}
And I reference it in the testing.properties of my releng project:
testPluginsToRun=org.eclipse.gmt.modisco.tests
org.eclipse.gmt.modisco.tests.suite=org.eclipse.gmt.modisco.tests.AllTests
I get an error from JUnit:
Failure: No tests found in org.eclipse.gmt.modisco.tests.AllTests
I suspect that the tests are still being run by JUnit 3. Did I do
something wrong?
On Fri, Dec 11, 2009 at 11:05 PM, Kim Moir <kim_m...@ca.ibm.com
<mailto:kim_m...@ca.ibm.com>> wrote:
The changes weren't in basebuilder. There are changes are in the
test harness bundle in the test framework. Also, the jdt feature
now includes two junit bundles with symbolic name org.junit 3.8.2
and 4.7.0. The old bundle with symbolic name org.junit4 still
exists in the jdt feature but it just points to org.junit 4.7.0.
We also removed the upper bounds for JUnit in the manifests of
our test bundles. This doesn't impact other projects, but is
something to consider if you wish to run all your test bundles to
run under JUnit 4.
Kim
*Nick Boldt <nickbo...@gmail.com <mailto:nickbo...@gmail.com>>*
12/11/2009 04:47 PM
To
Tools for Committer Community <dash-dev@eclipse.org
<mailto:dash-dev@eclipse.org>>, Kim Moir/Ottawa/i...@ibmca
cc
Subject
Re: [dash-dev] Running JUnit 4 tests on Athena
Will the new JDT stuff make it into a basebuilder release soon? If
so I
can move the default basebuilder on build.eclipse up to that newer
tag.
Kim Moir wrote:
>
> The appropriate orbit bundles are in Eclipse builds >
N20091126-2000.
> So if you're consuming the JDT feature and the Eclipse Test
framework
> from a recent build, the new JUnit bundles will be included.
>
> http://wiki.eclipse.org/Eclipse/Testing/JUnit4_Changes
>
> Kim
>
>
>
> *David Carver <d_a_car...@yahoo.com <mailto:d_a_car...@yahoo.com>>*
> Sent by: dash-dev-boun...@eclipse.org
<mailto:dash-dev-boun...@eclipse.org>
>
> 12/11/2009 08:59 AM
> Please respond to
> Tools for Committer Community <dash-dev@eclipse.org
<mailto:dash-dev@eclipse.org>>
>
>
>
> To
> Tools for Committer Community
<dash-dev@eclipse.org <mailto:dash-dev@eclipse.org>>
> cc
>
> Subject
> Re: [dash-dev] Running JUnit 4 tests on Athena
>
>
>
>
>
>
>
>
> I believe all you have to do is make sure you are using the updated
> version of the eclipse test runner bundle, and the appropriate orbit
> bundles. I don't think there is any other change that needs to
occur,
> and nothing in Athena. Haven't tested this yet though.
>
> Dave
>
> Nicolas Bros wrote:
> > Hi,
> >
> > I recently received information that the Eclipse test
framework now
> > supports JUnit 4.
> > Does that make it possible to run JUnit 4 tests in Athena?
> > It not, is it planned for the near future?
> > I am asking because all our tests are currently written using
JUnit 4,
> > and we'd like to avoid having to adapt them to JUnit 3.
> > --
> > Nicolas Bros
> > R&D
> > tel: 06 75 09 19 88
> > nb...@mia-software.com <mailto:nb...@mia-software.com>
<mailto:nb...@mia-software.com <mailto:nb...@mia-software.com>>
> > nbros....@gmail.com <mailto:nbros....@gmail.com>
<mailto:nbros....@gmail.com <mailto:nbros....@gmail.com>>
> > Mia-Software, 410 clos de la Courtine
> > 93160 Noisy-le-Grand
> > http://www.mia-software.com
> > .: model driven agility :.
> >
------------------------------------------------------------------------
> >
> > _______________________________________________
> > dash-dev mailing list
> > dash-dev@eclipse.org <mailto:dash-dev@eclipse.org>
> > https://dev.eclipse.org/mailman/listinfo/dash-dev
> >
>
> _______________________________________________
> dash-dev mailing list
> dash-dev@eclipse.org <mailto:dash-dev@eclipse.org>
> https://dev.eclipse.org/mailman/listinfo/dash-dev
>
>
>
------------------------------------------------------------------------
>
> _______________________________________________
> dash-dev mailing list
> dash-dev@eclipse.org <mailto:dash-dev@eclipse.org>
> https://dev.eclipse.org/mailman/listinfo/dash-dev
--
Nick Boldt :: http://nick.divbyzero.com
Release Engineer :: Eclipse Modeling & Dash Athena
_______________________________________________
dash-dev mailing list
dash-dev@eclipse.org <mailto:dash-dev@eclipse.org>
https://dev.eclipse.org/mailman/listinfo/dash-dev
--
Nicolas Bros
R&D
tel: 06 75 09 19 88
nb...@mia-software.com <mailto:nb...@mia-software.com>
nbros....@gmail.com <mailto:nbros....@gmail.com>
Mia-Software, 410 clos de la Courtine
93160 Noisy-le-Grand
http://www.mia-software.com
.: model driven agility :.
------------------------------------------------------------------------
_______________________________________________
dash-dev mailing list
dash-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/dash-dev
_______________________________________________
dash-dev mailing list
dash-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/dash-dev