Skip to content

Commit

Permalink
junit 5
Browse files Browse the repository at this point in the history
junit 5
  • Loading branch information
goxr3plus authored Jun 20, 2019
2 parents 7e90aa4 + 38707ae commit 7d79f3b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -379,5 +379,14 @@
<!-- XR3Converter -->
<!-- <dependency> <groupId>com.github.goxr3plus</groupId> <artifactId>XR3Converter</artifactId>
<version>V3.1</version> </dependency> -->

<!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-engine -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>5.4.2</version>
<scope>test</scope>
</dependency>

</dependencies>
</project>
11 changes: 11 additions & 0 deletions src/test/java/ExampleTest.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import org.junit.jupiter.api.Test;

import static org.junit.jupiter.api.Assertions.assertEquals;

public class ExampleTest {
@Test
void example() {
String message ="This test is a placeholder for the directory that should hold tests. Remove it when there are real tests!";
assertEquals(1, 2, message);
}
}

0 comments on commit 7d79f3b

Please sign in to comment.