Skip to content

Commit

Permalink
Excavator: Switch to JUnit 5 to parallelize tests and speed up CI
Browse files Browse the repository at this point in the history
  • Loading branch information
svc-excavator-bot committed Mar 16, 2023
1 parent 1c6f3e6 commit 6afc1cb
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

import java.io.IOException;
import java.util.List;
import org.junit.Test;
import org.junit.jupiter.api.Test;

public class CheckstyleReportHandlerTests {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import com.google.common.collect.ImmutableList;
import java.io.File;
import java.util.List;
import org.junit.Test;
import org.junit.jupiter.api.Test;

public final class FailuresReportGeneratorTests {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import static org.assertj.core.api.Assertions.assertThat;

import java.io.File;
import org.junit.Test;
import org.junit.jupiter.api.Test;

public final class JavacFailuresSupplierTest {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

import java.io.StringWriter;
import javax.xml.transform.TransformerException;
import org.junit.Test;
import org.junit.jupiter.api.Test;
import org.w3c.dom.Document;

public final class JunitReportCreatorTests {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,13 @@
import org.gradle.api.plugins.quality.Checkstyle;
import org.gradle.api.reporting.SingleFileReport;
import org.gradle.testfixtures.ProjectBuilder;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TemporaryFolder;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.io.TempDir;

public class JunitReportsFinalizerTests {

@Rule
public final TemporaryFolder projectDir = new TemporaryFolder();
@TempDir
public File projectDir;

@Test
public void translatesCheckstyleReport() throws IOException, TransformerException {
Expand Down

0 comments on commit 6afc1cb

Please sign in to comment.