develog

[Junit] Test Assertion 본문

Dev/junit

[Junit] Test Assertion

냐옴 2019. 12. 23. 16:07

// junit5

import static org.junit.jupiter.api.Assertions.*;

 

// hamcrest
import static org.hamcrest.Matchers.*;
import static org.hamcrest.MatcherAssert.*;

 

// assertj
import static org.assertj.core.api.Assertions.*;

'Dev > junit' 카테고리의 다른 글

[junit5] controller test @WebMvcTest  (0) 2020.03.02
[junit5] controller test @SpringBootTest  (0) 2020.02.29
[junit4] pom.xml  (0) 2019.08.27
[junit] spring junit 설정2  (0) 2019.08.02
[junit] spring junit 설정1  (0) 2019.08.02
Comments