Skip to content

Commit f12a650

Browse files
committed
cleanup after alll test
1 parent 84b727b commit f12a650

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

dokka-aws/src/test/kotlin/aws/sdk/kotlin/dokka/DokkaAwsTest.kt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,18 @@
55
package aws.sdk.kotlin.dokka
66

77
import org.jsoup.Jsoup
8-
import org.junit.jupiter.api.AfterEach
8+
import org.junit.jupiter.api.AfterAll
99
import org.junit.jupiter.api.Assumptions.assumeTrue
1010
import org.junit.jupiter.api.Test
11+
import org.junit.jupiter.api.TestInstance
1112
import java.io.File
1213
import kotlin.test.assertTrue
1314

15+
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
1416
class DokkaAwsTest {
1517
val dokkaOutputDir = File("build/dokka")
1618

17-
@AfterEach
19+
@AfterAll
1820
fun cleanup() {
1921
if (dokkaOutputDir.exists()) {
2022
try {

0 commit comments

Comments
 (0)