Skip to content

Commit

Permalink
Creating driver program for incremental testing
Browse files Browse the repository at this point in the history
  • Loading branch information
chowerth committed Oct 8, 2019
1 parent 038ff59 commit 6df6170
Show file tree
Hide file tree
Showing 191 changed files with 1,880 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Build: Gradle
Primary language: Kotlin
Testing Framework: Spek2
Documentation: Dokka

To run Spek2 test cases: ./gradlew test

App.kt is the driver program
41 changes: 41 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
/*TODO: Refactor to Kotlin DSL */

plugins {
id 'org.jetbrains.kotlin.jvm' version '1.3.50'
id 'org.jetbrains.dokka' version '0.10.0'
}

group 'com.ohiohealth.kata'
version '1.0-SNAPSHOT'

repositories {
mavenCentral()
jcenter()
}

dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
testImplementation "org.spekframework.spek2:spek-dsl-jvm:2.0.7"
testImplementation "org.jetbrains.kotlin:kotlin-test"
testRuntimeOnly "org.spekframework.spek2:spek-runner-junit5:2.0.7"
testRuntimeOnly "org.jetbrains.kotlin:kotlin-reflect:1.3.5"
dokkaRuntime "org.jetbrains.dokka:dokka-fatjar:0.10.0"
}

compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}

test {
useJUnitPlatform {
includeEngines 'spek2'
}
}

dokka {
outputFormat = 'html'
outputDirectory = "$buildDir/javadoc"
}
Binary file added build/classes/kotlin/main/AppKt.class
Binary file not shown.
Binary file added build/classes/kotlin/main/Babysitter.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added build/classes/kotlin/main/BabysitterWorkDay.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
14 changes: 14 additions & 0 deletions build/javadoc/babysitter/alltypes.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>alltypes - babysitter</title>
<link rel="stylesheet" href="../style.css">
</HEAD>
<BODY>
<h3>All Types</h3>
<table>
<tbody>
</tbody>
</table>
</BODY>
</HTML>
22 changes: 22 additions & 0 deletions build/javadoc/babysitter/index-outline.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>Module Contents</title>
<link rel="stylesheet" href="../style.css">
</HEAD>
<BODY>
<a href="C:\Users\Zero\IdeaProjects\babysitter\build\javadoc\babysitter\index"><a href="./index"><span class="identifier">babysitter</span></a></a><br/>
<ul>
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>Module Contents</title>
<link rel="stylesheet" href="../style.css">
</HEAD>
<BODY>
<a href="C:\Users\Zero\IdeaProjects\babysitter\build\javadoc\babysitter\index"><a href="alltypes.html"><span class="identifier">alltypes</span></a></a><br/>
</BODY>
</HTML>
</ul>
</BODY>
</HTML>
13 changes: 13 additions & 0 deletions build/javadoc/babysitter/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>babysitter</title>
<link rel="stylesheet" href="../style.css">
</HEAD>
<BODY>
<a href="./index.html">babysitter</a><br/>
<br/>
<h3>Index</h3>
<a href="alltypes.html">All Types</a>
</BODY>
</HTML>
4 changes: 4 additions & 0 deletions build/javadoc/babysitter/package-list
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
$dokka.format:html
$dokka.linkExtension:html


Loading

0 comments on commit 6df6170

Please sign in to comment.