Add junit5 support (#690)

* Refactoring: extract class building methods.
* Move imports to import providers.
* Switch to new TestFramework implementation with TestFrameworkDefinition
delegate. Handle ignoring tests correctly in JUnit5.
* Implement handling JUnit5 rules.
* Add tests for JUNIT5.
* Update docs.

fixes gh-489
This commit is contained in:
Olga Maciaszek-Sharma
2018-07-19 15:03:42 +02:00
committed by Marcin Grzejszczak
parent 718cca099b
commit b48d50edcc
21 changed files with 940 additions and 280 deletions

View File

@@ -21,6 +21,7 @@ import java.net.URL;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.inject.Inject;
import org.apache.maven.model.Dependency;
@@ -33,6 +34,7 @@ import org.apache.maven.plugins.annotations.Parameter;
import org.apache.maven.plugins.annotations.ResolutionScope;
import org.apache.maven.project.MavenProject;
import org.eclipse.aether.RepositorySystemSession;
import org.springframework.cloud.contract.maven.verifier.stubrunner.AetherStubDownloaderFactory;
import org.springframework.cloud.contract.spec.ContractVerifierException;
import org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties;