Skip to content

Commit

Permalink
Task 262 test code (#28)
Browse files Browse the repository at this point in the history
* TASK-262 jacoco 패키지 예외처리

* TASK-262 AdminService TestCode 틀 작성

* TASK-262 예외처리

* Task 265  admin service (#27)

* TASK-265 adminService 테스트 코드 작성중

* TASK-265 getQuizWinners 테스트코드

* TASK-265 static 메소드 mock 성공
  • Loading branch information
bjh3311 authored Aug 21, 2024
1 parent 7827d72 commit a8531de
Show file tree
Hide file tree
Showing 2 changed files with 484 additions and 0 deletions.
20 changes: 20 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,19 @@ jacocoTestReport {
xml.required.set(true)
html.required.set(true)
}

afterEvaluate {
classDirectories.setFrom(
files(classDirectories.files.collect {
fileTree(dir: it, excludes: [
'**/model/**',
'**/config/**',
'**/*Application*',
"**/exception/**"
])
})
)
}
}

jacocoTestCoverageVerification {
Expand All @@ -78,6 +91,13 @@ jacocoTestCoverageVerification {
value = 'COVEREDRATIO'
minimum = 0.80
}

excludes = [
'**.*Application',
'**.model.**',
'**.config.**',
"**.exception.**"
]
}
}
}
Expand Down
Loading

0 comments on commit a8531de

Please sign in to comment.