mirror of
https://github.com/wahyd4/java-dojo.git
synced 2026-08-09 04:56:17 +10:00
add junit
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
.idea
|
||||
*.iml
|
||||
target
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>org.thoughtworkers</groupId>
|
||||
<artifactId>java-dojo</artifactId>
|
||||
<version>1.0</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>4.8.2</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
|
||||
</project>
|
||||
@@ -0,0 +1,13 @@
|
||||
package org.thoughtworkers;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import static org.hamcrest.core.Is.is;
|
||||
import static org.junit.Assert.assertThat;
|
||||
|
||||
public class SmokeTest {
|
||||
@Test
|
||||
public void shouldAlwaysPass() throws Exception {
|
||||
assertThat(1, is(1));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user