mapper

    Spring Boot (1) MybatisTest를 통한 Mapper 단위 테스트

    개발 환경 : JAVA 1.8 / Spring Boot 2.4.1 / Gradle 6.7.1 / MySql IDE : IntelliJ 20.3.3 Dependency : mybatis-spring-boot-starter-test 2.1.3 * 해당 포스팅은 공식문서를 참조하여 작성했습니다. mybatis Test 공식문서 링크 1. 필요한 의존 추가 1.1 Mybatis Test 추가 mybatis-test // Gradle의 경우 dependencies { testCompile("org.mybatis.spring.boot:mybatis-spring-boot-starter-test:2.1.3") } // Maven의 경우 org.mybatis.spring.boot mybatis-spring-boot-st..