Added unit testing framework

This commit is contained in:
Ceikry
2022-04-18 06:23:41 +00:00
committed by Ryan
parent 41c81fe126
commit 1b9e330f68
3 changed files with 60 additions and 0 deletions
+9
View File
@@ -24,6 +24,11 @@ dependencies {
implementation 'org.jetbrains.kotlin:kotlin-reflect:1.5.20'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.2'
implementation group: 'com.moandjiezana.toml', name: 'toml4j', version: '0.7.2'
//Unit Tests
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
implementation files(
"libs/PrimitiveExtensions-1.0.jar",
"libs/ConstLib-1.4.jar",
@@ -37,6 +42,10 @@ dependencies {
)
}
test {
useJUnitPlatform()
}
/*sourceSets {
main.java.srcDirs = ['src/main/java']
main.kotlin.srcDirs = ['src/main/kotlin']