Difference between revisions of "Tycho/Release Notes/0.16"
< Tycho | Release Notes
m |
m |
||
Line 22: | Line 22: | ||
=== New Features === | === New Features === | ||
− | *Support for parallel test execution with JUnit >= 4.7 has been added.<br>If you use Junit >= 4.7, you can | + | *Support for parallel test execution with JUnit >= 4.7 has been added.<br>If you use Junit >= 4.7, you can now have test classes or methods executed by several threads in parallel by adding <tt>-Dparallel=classes|methods</tt> on the commandline or by configuring<br> |
<pre><plugin> | <pre><plugin> | ||
<groupId>org.eclipse.tycho</groupId> | <groupId>org.eclipse.tycho</groupId> |
Revision as of 09:43, 29 June 2012
Tycho 0.16.0 is currently in development. This page shows a preview of features which will be available in the 0.16.0 release.
SNAPSHOT builds
To try the most recent snapshot build of 0.16.0, simply add the following snippet to your (parent) pom.xml and set tycho version to 0.16.0-SNAPSHOT.
<pluginRepositories> <pluginRepository> <id>tycho-snapshots</id> <url>https://oss.sonatype.org/content/groups/public/</url> </pluginRepository> </pluginRepositories>
List of bug fixes and enhancements in 0.16.0
New and Noteworthy
New Features
- Support for parallel test execution with JUnit >= 4.7 has been added.
If you use Junit >= 4.7, you can now have test classes or methods executed by several threads in parallel by adding -Dparallel=classes|methods on the commandline or by configuring
<plugin> <groupId>org.eclipse.tycho</groupId> <artifactId>tycho-surefire-plugin</artifactId> <version>${tycho-version}</version> <configuration> <parallel>classes|methods</parallel> </configuration> </plugin>
Executing tests in parallel can be useful e.g. if you have long-running integration tests which are not CPU-bound.
Under the hood, this feature was enabled by porting the junit4.7 surefire provider to tycho.
- Support for test frameworks is extensible now. This means you can add support for test frameworks other than JUnit if you provide an implementation of TestFrameworkProvider
Improvements and Fixes
- Providing credentials for a p2 repository specified in a target file is now more convenient – the use of the non-standard id attribute in target files is no longer necessary (
bug 377086). - Access to p2 repository can be redirected to a mirror location. This now works for both target files and repositories specified in the POM (
bug 356016).