Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cbi-dev] Common "Unit Test Infrastructure"?

I expect most cbi-enabled projects outside of Eclipse Platform to use
Tycho built-it support for running junit and junit4 tests. You will
still need to know where to find downstream components you want to test,
but running the tests is a standard "mvn ..." command familiar to any
maven user.

For example, to run m2e tests one needs to clone repository from github
and [1] and execute "m2e integration-test -Puts,its". It is possible to
tell the build to use different Eclipse and/or m2e version with -D
invocation parameter, and this all is well integrated in Hudson too.

[1] https://github.com/sonatype/m2e-core-tests

--
Regards,
Igor

On 12-08-05 9:38 PM, David M Williams wrote:

 > ... is something special about
 > running the tests in the context of LTS?

I meant it more for, say, changing something in "platform", and then
re-running all the unit tests in not only platform, but gef, emf, wtp, etc.
I think it'd be pretty hard for someone to figure out how to "run the
tests" for each project, just like it is hard for someone to learn to
"do the build" for each project.
So, just wondering it that'd been discussed (or, if obvious how to do
it) for those working on LTS.

Thanks




From: Igor Fedorenko <igor@xxxxxxxxxxxxxx>
To: cbi-dev@xxxxxxxxxxx,
Date: 08/05/2012 05:12 PM
Subject: Re: [cbi-dev] Common "Unit Test Infrastructure"?
Sent by: cbi-dev-bounces@xxxxxxxxxxx
------------------------------------------------------------------------



CBI build is supposed to produce the same test zip (not sure what's the
official name) as the current PDE build, so running the tests should be
no different from what you do today.

Does this answer your question or there is something special about
running the tests in the context of LTS?

--
Regards,
Igor

On 12-08-04 1:54 PM, David M Williams wrote:
 > I suspect I may be asking (another) question thats obvious to others ...
 > but ... I'm good at asking dumb questions :)
 >
 > For Long Term Support, its obviously important to be able to easily
 > build feature patches or rebuild everything in extreme cases, but just
 > as important (to me) it the ability to re-run ALL the unit tests on the
 > result, to have confidence a change in one area didn't break something
 > else, perhaps in an unrelated area.
 >
 > Is there a known, obvious answer to how to "run all the unit tests" ...
 > or, is that another things that needs some invention or standardization
 > for LTS?
 >
 > Thanks as always,
 >
 >
 >
 > _______________________________________________
 > cbi-dev mailing list
 > cbi-dev@xxxxxxxxxxx
 > http://dev.eclipse.org/mailman/listinfo/cbi-dev
 >
_______________________________________________
cbi-dev mailing list
cbi-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cbi-dev




_______________________________________________
cbi-dev mailing list
cbi-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cbi-dev



Back to the top