티스토리 뷰

매번 스터디 하면서 프로젝트 생성 시 junit5를 적용해서 테스트를 수행하는데 항상 이를 햇갈려서

이곳에 기록해 둔다....

 

내 머리는 정말 안좋은 것 같다..ㅜㅜ

 

dependencies {

	testImplementation('org.springframework.boot:spring-boot-starter-test') {
		exclude module: 'junit'
	}
	testCompile group: 'org.junit.platform', name: 'junit-platform-runner', version: '1.7.0'
	testImplementation 'org.junit.jupiter:junit-jupiter-api'
	//이클립스에서는 해당 주석을 푼다. (luncher 없다고 에러 발생..)
	//testCompile 'org.junit.platform:junit-platform-launcher'
	testCompile 'org.junit.jupiter:junit-jupiter-params'
	testRuntime 'org.junit.jupiter:junit-jupiter-engine'
    
}
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함