Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mylyn-reviews-dev] Gerrit test structure changes

Hi,

as part of implementing OpenID support I have refactored the Gerrit test plug-ins slightly. I moved some tests from org.eclipse.mylyn.gerrit.tests to a new bundle named org.eclipse.mylyn.gerrit.core.tests. The new bundle is loaded as a fragment and intended for unit tests. 

The org.eclipse.mylyn.gerrit.tests is now a standard bundle. Integration tests that work against the API and don't require default access to packages in core and ui should be placed in this bundle. The advantage is that it's easily possible to run tests in standalone mode (much faster). This does not work for fragments since the classpath is not properly resolved.

If you are working on Gerrit I recommend importing the new org.eclipse.mylyn.gerrit.core.tests project.

Steffen

--
Steffen Pingel
Committer, http://eclipse.org/mylyn
Senior Developer, http://tasktop.com

Back to the top