jgit/org.eclipse.jgit.junit
Matthias Sohn 2d4d64481b Add a RepeatRule to help repeating flaky tests
A JUnit TestRule which enables to run the same JUnit test repeatedly.
This may help to identify the root cause why a flaky tests which succeed
most often does fail sometimes.

Add the RepeatRule to the test class containing the test to be repeated:

public class MyTest {
	@Rule
	public RepeatRule repeatRule = new RepeatRule();
	...
}
 
and annotate the test to be repeated with the @Repeat(n=<repetitions>)
annotation:
 
	@Test
	@Repeat(n = 100)
	public void test() {
		...
	}
 
then this test will be repeated 100 times. If any test execution fails
test repetition will be stopped.

Change-Id: I7c49ccebe1cb00bcde6b002b522d95c13fd3a35e
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2016-08-25 17:36:32 -04:00
..
.settings Ignore 'The value of exception parameter is not used' warning 2016-07-26 10:16:49 +09:00
META-INF Add a RepeatRule to help repeating flaky tests 2016-08-25 17:36:32 -04:00
src/org/eclipse/jgit/junit Add a RepeatRule to help repeating flaky tests 2016-08-25 17:36:32 -04:00
.classpath Set minimum required Java version to Java 7 2015-02-09 14:11:50 +01:00
.gitignore Finish removing Apache Felix maven-bundle-plugin 2010-01-12 11:46:55 -08:00
.project Enforce the use of Java5 API:s only (with a few exceptions) 2011-12-16 01:01:36 +01:00
BUCK Implement Buck driven build 2015-12-31 10:08:55 -08:00
build.properties Partial revert "Switch build to Apache Felix maven-bundle-plugin" 2010-01-10 15:59:03 +01:00
plugin.properties Fix plugin provider names to conform with release train requirement 2013-04-08 23:05:36 +02:00
pom.xml Prepare 4.5.0-SNAPSHOT builds 2016-06-01 23:04:07 +02:00