사용자 도구

사이트 도구


java:fest

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
java:fest [2014/06/10 00:40]
kwon37xi
java:fest [2015/02/16 13:39]
kwon37xi [File Template]
줄 1: 줄 1:
 ====== Fest ====== ====== Fest ======
 +  * 개발 중단된 듯. [[java:assertj|AssertJ]] 사용할 것.
   * [[https://github.com/alexruiz/fest-assert-2.x/wiki|FEST: Fixtures for Easy Software Testing]]   * [[https://github.com/alexruiz/fest-assert-2.x/wiki|FEST: Fixtures for Easy Software Testing]]
  
-===== File Template =====+===== IntelliJ File Template =====
 <code java> <code java>
 import static org.fest.assertions.api.Assertions.*; import static org.fest.assertions.api.Assertions.*;
 +</code>
 +
 +===== IntelliJ Live Template for try/catch =====
 +  * abbrevication : ''trytest''
 +  * ''Reformat according to Style'' : check
 +  * ''Use static import if possible'' : check
 +  * ''Shorten FQ names'' : check
 +  * ''Applicable in Java: statement''
 +  * Template text : <code java>
 +try {
 +    org.fest.assertions.api.Assertions.failBecauseExceptionWasNotThrown($ExceptionClass$.class);
 +} catch ($ExceptionClass$ ex) {
 +    org.fest.assertions.api.Assertions.assertThat(ex).hasMessage("");
 +}
 </code> </code>
  
java/fest.txt · 마지막으로 수정됨: 2015/02/16 13:39 저자 kwon37xi