TestCase
-
4. SpringBoot + JPA + H2 databaseProject/React+Java 2022. 7. 21. 18:54
https://github.com/dchkang83/project-board GitHub - dchkang83/project-board Contribute to dchkang83/project-board development by creating an account on GitHub. github.com 1. H2 - 의존성 추가 testImplementation group: 'com.h2database', name: 'h2', version: '2.1.214' 2. H2 - apllication.yml spring: datasource: driver-class-name: org.h2.Driver url: jdbc:h2:mem:test username: sa password: 3. JPA - 의존성 추가..
-
2. SpringBoot + Controller TestCase 설정 확인Project/React+Java 2022. 7. 21. 16:17
https://github.com/dchkang83/project-board GitHub - dchkang83/project-board Contribute to dchkang83/project-board development by creating an account on GitHub. github.com 1. lombok 의존성 추가 # /project-board/back-end/gundam/build.gradle compileOnly 'org.projectlombok:lombok' annotationProcessor 'org.projectlombok:lombok' lombok dependency 설정 후 library reload 2. SampleTests.java 작성 package com.main...