Integration testing with JUnit4

Performing a jUnit4 tests sequence in order to get integration testing results can be achieved by implementing a simple abstract class.

import java.util.Arrays;
import java.util.LinkedHashMap;

import org.junit.runner.JUnitCore;
import org.junit.runner.Request;
import org.junit.runner.Result;

public abstract class AbstractTestSuite {

* Tests to be launched
* Object – JUnit test object
* String[] – Object method to be tested
protected LinkedHashMap