Difference between revisions of "Tycho/Release Notes/0.16"

From Eclipsepedia

Jump to: navigation, search
m (more formatting of navigation)
(mention new parallel test support and extensible test framework features)
Line 2: Line 2:
 
   #bodyContent{ position:relative; }
 
   #bodyContent{ position:relative; }
 
   #versionNav{ position:absolute; top: 0px; right: 0px; font-size: 84%; line-height: 1.2em; margin-right: 1em }
 
   #versionNav{ position:absolute; top: 0px; right: 0px; font-size: 84%; line-height: 1.2em; margin-right: 1em }
</css>
+
</css>  
<div id="versionNav">[[Tycho/Release Notes/0.15|&lt; Previous Version]] | <font style="color:gray">Next Version &gt;</font></div>
+
<div id="versionNav">[[Tycho/Release Notes/0.15|&lt; Previous Version]] | <font style="color:gray">Next Version &gt;</font></div>  
 
+
 
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.  
 
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 ==
+
== 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.
+
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.  
 +
<pre>&lt;pluginRepositories&gt;
 +
  &lt;pluginRepository&gt;
 +
    &lt;id&gt;tycho-snapshots&lt;/id&gt;
 +
    &lt;url&gt;https://oss.sonatype.org/content/groups/public/&lt;/url&gt;
 +
  &lt;/pluginRepository&gt;
 +
&lt;/pluginRepositories&gt;
 +
</pre>
 +
[https://bugs.eclipse.org/bugs/buglist.cgi?classification=Technology&product=Tycho&query_format=advanced&resolution=FIXED&target_milestone=0.16.0&order=bug_id&query_based_on= List of bug fixes and enhancements in 0.16.0]
  
<pre>
+
== New and Noteworthy  ==
<pluginRepositories>
+
  <pluginRepository>
+
    <id>tycho-snapshots</id>
+
    <url>https://oss.sonatype.org/content/groups/public/</url>
+
  </pluginRepository>
+
</pluginRepositories>
+
</pre>
+
  
[https://bugs.eclipse.org/bugs/buglist.cgi?classification=Technology&product=Tycho&query_format=advanced&resolution=FIXED&target_milestone=0.16.0&order=bug_id&query_based_on= List of bug fixes and enhancements in 0.16.0]
+
=== New Features  ===
  
== New and Noteworthy  ==
+
*Support for parallel test execution with JUnit &gt;= 4.7 has been added.<br>If you use Junit &gt;= 4.7, you can run classes or methods in parallel by adding <tt>-Dparallel=classes|methods</tt> on the commandline or by configuring<br>&lt;plugin&gt;<br> &lt;groupId&gt;org.eclipse.tycho&lt;/groupId&gt;<br> &lt;artifactId&gt;tycho-surefire-plugin&lt;/artifactId&gt;<br> &lt;version&gt;${tycho-version}&lt;/version&gt;<br> &lt;configuration&gt;<br> &lt;parallel&gt;classes|methods&lt;/parallel&gt;<br> &lt;/configuration&gt;<br>&lt;/plugin&gt;<br>Executing tests in parallel can be useful e.g. if you have long-running integration tests which are not CPU-bound.<br> Under the hood, this feature was enabled by porting the parallel features of the junit4.7 surefire provider to tycho
  
=== New Features ===
+
*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 [http://git.eclipse.org/c/tycho/org.eclipse.tycho.git/tree/tycho-surefire/tycho-surefire-plugin/src/main/java/org/eclipse/tycho/surefire/provider/spi/TestFrameworkProvider.java TestFrameworkProvider]
  
 +
<br>
  
=== Improvements and Fixes ===
+
=== Improvements and Fixes ===
  
* Providing [[Tycho/Target Platform/Authentication and Mirrors#Credentials|credentials for a p2 repository]] specified in a target file is now more convenient &ndash; the use of the non-standard <tt>id</tt> attribute in target files is no longer necessary (<strike>[https://bugs.eclipse.org/bugs/show_bug.cgi?id=377086 bug 377086]</strike>).
+
*Providing [[Tycho/Target Platform/Authentication and Mirrors#Credentials|credentials for a p2 repository]] specified in a target file is now more convenient the use of the non-standard <tt>id</tt> attribute in target files is no longer necessary (<strike>[https://bugs.eclipse.org/bugs/show_bug.cgi?id=377086 bug 377086]</strike>).  
* Access to p2 repository can be [[Tycho/Target Platform/Authentication and Mirrors#Mirrors|redirected to a mirror location]]. This now works for both target files and repositories specified in the POM (<strike>[https://bugs.eclipse.org/bugs/show_bug.cgi?id=356016 bug 356016]</strike>).
+
*Access to p2 repository can be [[Tycho/Target Platform/Authentication and Mirrors#Mirrors|redirected to a mirror location]]. This now works for both target files and repositories specified in the POM (<strike>[https://bugs.eclipse.org/bugs/show_bug.cgi?id=356016 bug 356016]</strike>).
  
 
[[Category:Tycho|Release Notes/0.16]]
 
[[Category:Tycho|Release Notes/0.16]]

Revision as of 09:33, 29 June 2012

< Previous Version | Next Version >

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.

Contents

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 run classes or methods 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 parallel features of 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