문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 다음 판 양쪽 다음 판 | ||
java:assertj [2015/09/17 13:43] kwon37xi |
java:assertj [2020/07/24 15:39] kwon37xi |
||
---|---|---|---|
줄 2: | 줄 2: | ||
* [[java: | * [[java: | ||
* http:// | * http:// | ||
+ | * [[http:// | ||
* [[http:// | * [[http:// | ||
+ | * [[http:// | ||
+ | |||
+ | ===== IntelliJ Live Template for try/catch ===== | ||
+ | * abbrevication : '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * Template text : <code java> | ||
+ | try { | ||
+ | org.assertj.core.api.Assertions.failBecauseExceptionWasNotThrown($ExceptionClass$.class); | ||
+ | } catch ($ExceptionClass$ ex) { | ||
+ | org.assertj.core.api.Assertions.assertThat(ex).hasMessage("" | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | ===== 기존 JUnit assert를 AssertJ로 변경하기 ===== | ||
+ | * [[http:// | ||
+ | |||
+ | ===== 참고 ===== | ||
+ | * [[https:// | ||
+ | * [[http:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// |