sueleesoossoo's devlog


  • Home

  • Categories

  • About

  • Archives

  • Tags

Spring Boot : Test - Mocking vs SpyBean

Posted on 2018-10-22 | 0 comments

Mocking vs SpyBean

MockBean은 기본값이 null값이다.

반면, SpyBean은 기본값이 SpringApplication.class에 지정되어있는 Bean의 값이다.

테스트할 때, 이것만 숙지하고 가려서 필요한 것을 쓰면 될 것이다. 끝

# Spring Boot
[ML] Image Classification (1)
[AWS] EB를 쓰는 이유!
  • Table of Contents
  • Overview
LEESOO

LEESOO

Junior Frontend Developer

341 posts
12 categories
34 tags
RSS
GitHub
  1. 1 Mocking vs SpyBean
© 2024 LEESOO
Powered by Jekyll
Theme - NexT.Muse