Skip to content

Commit

Permalink
initial project setup
Browse files Browse the repository at this point in the history
  • Loading branch information
tpd-opitz committed Sep 9, 2019
1 parent ad947e4 commit e89f027
Show file tree
Hide file tree
Showing 7 changed files with 105 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,15 @@

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

# hidden files (like eclipse project files)
.*

# maven target folder
/build/
.settings
.classpath
.project
/.gradle/
/target/
/bin/
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# oc.expertcamp.tdd
Code Samples for the tdd expert camp
Code Samples for the `OC|ExpertCamp` TDD session
20 changes: 20 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'

ext {
junitVersion = '5.+'
mockitoVersion = '3.+'
}

dependencies {
testCompile group:'org.mockito', name: 'mockito-core', version:mockitoVersion
testCompile group:'org.junit.jupiter', name:'junit-jupiter-api', version:junitVersion
testRuntime group:'org.junit.jupiter', name: 'junit-jupiter-engine', version: junitVersion
}

test {
useJUnitPlatform {
includeEngines 'junit-jupiter'
}
}
50 changes: 50 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<?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>com.example</groupId>
<artifactId>OC-ExpertCamp-Munich-TDD</artifactId>
<version>1.0-SNAPSHOT</version>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>${maven.compiler.source}</maven.compiler.target>

<junit.jupiter.version>5.5.1</junit.jupiter.version> <mockito.version>3.0.0</mockito.version>
</properties>

<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>${junit.jupiter.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<!-- for parameterized tests -->
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<version>${junit.jupiter.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${mockito.version}</version>
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<!-- JUnit 5 requires Surefire version 2.22.0 or higher -->
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.0</version>
</plugin>
</plugins>
</build>

</project>
Binary file added src/main/doc/BowlingKata.pdf
Binary file not shown.
11 changes: 11 additions & 0 deletions src/main/java/package-info.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<title>Production Code Target</title>
</head>
<body>
<h1>Production Code Target</h1>
<p>All your Production Code goes into this folder.</p>
</body>
</html>
11 changes: 11 additions & 0 deletions src/test/java/package-info.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<title>Test Code Target</title>
</head>
<body>
<h1>Test Code Target</h1>
<p>All your Test Code goes into this folder.</p>
</body>
</html>

0 comments on commit e89f027

Please sign in to comment.