This is a bug in Tycho and I opened MNGECLIPSE-902 to track it. We are
about to start producing weekly tycho dev builds and I will try include
the fix in the next week's build.
Ida de Groot wrote:
For our existing plugins we use test fragments containing the tests for
the parent plugin, defined in the manifest.mf like this:
Fragment-Host: id.of.plugin.to.test
In the current build with PDE they run ok by specifying the host-plugin id.
I don’t get the tests running with Tycho. In the directory
target/work/configuration there is a logfile after the build, in which
the following exception:
java.lang.ClassNotFoundException: A fragment bundle cannot load classes:
id.of.test.fragment.TestCase
All I could find about it, was the line in the user docs saying it
should be possible (According to Eclipse PDE convention, unit tests are
usually kept in a separate plug-in or plug-in fragment project and tycho
introduces new eclipse-test-plugin packaging type to represent such
projects.)
In the m2eclipse project, I only found only testplugins, no fragments,
so no examples.
Is there a way to get the tests going with the tests in a fragment? If
so, how do I achieve this?
And if it is not, how do other users organize their tests for a plugin?
Thanks for any help,
Ida
------------------------------------------------------------------------
This e-mail message contains information which is confidential and may
be privileged. It is intended for use by the addressee only. If you are
not the intended addressee, we request that you notify the sender
immediately and delete or destroy this e-mail message and any
attachment(s), without copying, saving, forwarding, disclosing or using
its contents in any other way. TomTom N.V., TomTom International BV or
any other company belonging to the TomTom group of companies will not be
liable for damage relating to the communication by e-mail of data,
documents or any other information.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email