Update unit tests and add performance analyze

This commit is contained in:
Rui Hu
2024-03-14 11:30:15 +08:00
parent 72ae4c0136
commit 6782050414
4 changed files with 88 additions and 20 deletions

View File

@@ -28,4 +28,12 @@ java {
tasks.test {
useJUnitPlatform()
jvmArgs = listOf("-Dfast=true")
}
tasks.register("runPerformanceAnalyze", JavaExec::class.java)
tasks.named<JavaExec>("runPerformanceAnalyze") {
dependsOn("testClasses")
group = "verification"
classpath = sourceSets.test.get().runtimeClasspath
mainClass.set("com.cleverthis.interview.PerformanceAnalyze")
}