일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- myBatis
- Python
- Exception
- Source
- JDBC
- Core Java
- JavaScript
- MSSQL
- Open Source
- AJAX
- Thymeleaf
- SpringBoot
- Spring Boot
- error
- MySQL
- 설정
- git
- spring
- maven
- IntelliJ
- Eclipse
- PostgreSQL
- Tomcat
- ubuntu
- jpa
- oracle
- 문서
- 오픈소스
- Docker
- STS
- Today
- Total
목록JUnit (5)
헤르메스 LIFE
1. STS 버전 : 4.13.1 2. JDK 버전 : OpenJDK 11.0.14_9_x64 3. Tomcat 버전 : 9.0.56 4. Maven 버전 : 3.8.4 5. Spring 버전 : Spring Boot 2.6.3 package com.study.springboot.test.controller; import static org.springframework.test.web.client.match.MockRestRequestMatchers.content; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get; import static org.springframework.test.web.servl..
IntelliJ 에서 JUnit 테스트 시 한글 Function 명이 깨집니다. 아래 링크에 설정하는 방법을 참조하면 됩니다. IntelliJ 를 Restart 해야 적용되더군요. https://itchipmunk.tistory.com/421 인텔리제이(Intellij) 소스파일 및 테스트 결과 한글 깨짐 인텔리제이(Intellij) IDEA 2019.3.2 Ultimate Edition 프로그램에서 스프링 부트 프로젝트의 테스트 코드를 실행하고 그 결과를 얻는 사이드바의 Run 탭에서 한글이 담긴 테스트 함수의 이름이 깨지는 것을 itchipmunk.tistory.com
개발환경 Spring Boot 2.2.4 JDK 1.8.0_202 REST Postman : REST Client 목표 1. Spring Boot REST 환경 2. Log4j2 추가 3. JWT + Spring Security 를 통한 인증 4. DB 연결 ( Hibernate 제거 )을 통한 사용자 인증 5. TDD 인증 테스트 import org.junit.*; import org.junit.runner.*; import org.springframework.beans.factory.annotation.*; import org.springframework.boot.test.autoconfigure.web.servlet.*; import org.springframework.boot.test.contex..
@DirtiesContext는 applicationContext 상의 통제를 무시하고 직접소스에서 통제하겠다는 얘기. 해당 클래스 혹은 메서드 호출시만 applicationContext 가 매번 생성 applicationContext 를 매번 생성하니 자원적으로도 느리다. 차라리 applicationContext를 하나 더 만들어 쓰는 것이 좋다.