Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace junit-pioneer @TempDirectory.TempDir with JUnit Jupiter @TempDir #332

Merged
merged 1 commit into from
Feb 19, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Replace junit-pioneer @TempDirectory.TempDir with JUnit Jupiter @tempdir
  • Loading branch information
valfirst committed Feb 19, 2019
commit eb1ce738309cc902ac8bfd7618ed05db776b94d9
1 change: 0 additions & 1 deletion allure-java-commons/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 13,6 @@ dependencies {
testImplementation("io.github.benas:random-beans")
testImplementation("io.github.glytching:junit-extensions")
testImplementation("org.assertj:assertj-core")
testImplementation("org.junit-pioneer:junit-pioneer")
testImplementation("org.junit.jupiter:junit-jupiter-api")
testImplementation("org.junit.jupiter:junit-jupiter-params")
testImplementation("org.mockito:mockito-core")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 17,7 @@

import io.qameta.allure.model.TestResult;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.junitpioneer.jupiter.TempDirectory;
import org.junitpioneer.jupiter.TempDirectory.TempDir;
import org.junit.jupiter.api.io.TempDir;

import java.nio.file.Path;
import java.util.UUID;
Expand All @@ -31,7 29,6 @@
/**
* @author charlie (Dmitry Baev).
*/
@ExtendWith(TempDirectory.class)
public class FileSystemResultsWriterTest {

@Test
Expand Down
1 change: 0 additions & 1 deletion allure-jbehave/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 9,6 @@ dependencies {
api(project(":allure-java-commons"))
implementation("org.jbehave:jbehave-core:$jbehaveVersion")
testImplementation("org.assertj:assertj-core")
testImplementation("org.junit-pioneer:junit-pioneer")
testImplementation("org.junit.jupiter:junit-jupiter-api")
testImplementation("org.mockito:mockito-core")
testImplementation("org.slf4j:slf4j-simple")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 38,7 @@
import org.jbehave.core.steps.InjectableStepsFactory;
import org.jbehave.core.steps.InstanceStepsFactory;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.junitpioneer.jupiter.TempDirectory;
import org.junit.jupiter.api.io.TempDir;

import java.io.File;
import java.nio.file.Path;
Expand All @@ -53,14 52,10 @@
/**
* @author charlie (Dmitry Baev).
*/
@ExtendWith(TempDirectory.class)
class AllureJbehaveTest {

private final Path temp;

public AllureJbehaveTest(@TempDirectory.TempDir final Path temp) {
this.temp = temp;
}
@TempDir
Path temp;

@Test
void shouldSetName() {
Expand Down
1 change: 0 additions & 1 deletion allure-jsonunit/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 11,6 @@ dependencies {
implementation("net.javacrumbs.json-unit:json-unit:$jsonUnitVersion")
implementation("org.apache.commons:commons-lang3")
testImplementation("org.assertj:assertj-core")
testImplementation("org.junit-pioneer:junit-pioneer")
testImplementation("org.junit.jupiter:junit-jupiter-api")
testImplementation("org.mockito:mockito-core")
testImplementation("org.slf4j:slf4j-simple")
Expand Down
1 change: 0 additions & 1 deletion allure-junit4/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 9,6 @@ dependencies {
api(project(":allure-java-commons"))
implementation("junit:junit:$junitVersion")
testImplementation("org.assertj:assertj-core")
testImplementation("org.junit-pioneer:junit-pioneer")
testImplementation("org.junit.jupiter:junit-jupiter-api")
testImplementation("org.mockito:mockito-core")
testImplementation("org.slf4j:slf4j-simple")
Expand Down
1 change: 0 additions & 1 deletion allure-model/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 7,6 @@ dependencies {
implementation("com.fasterxml.jackson.core:jackson-databind")
testImplementation("io.github.benas:random-beans")
testImplementation("org.assertj:assertj-core")
testImplementation("org.junit-pioneer:junit-pioneer")
testImplementation("org.junit.jupiter:junit-jupiter-api")
testImplementation("org.mockito:mockito-core")
testImplementation("org.slf4j:slf4j-simple")
Expand Down
1 change: 0 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 100,6 @@ configure(subprojects) {
dependency("org.freemarker:freemarker:2.3.28")
dependency("org.jboss.resteasy:resteasy-client:3.6.2.Final")
dependency("org.jooq:joor-java-8:0.9.10")
dependency("org.junit-pioneer:junit-pioneer:0.3.0")
dependency("org.mock-server:mockserver-netty:5.5.1")
dependency("org.mockito:mockito-core:2.24.0")
dependency("org.slf4j:slf4j-api:1.7.25")
Expand Down