사용자 도구

사이트 도구


java:fest

차이

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

차이 보기로 링크

다음 판
이전 판
java:fest [2014/06/10 00:31]
kwon37xi 새로 만듦
java:fest [2015/02/16 13:39] (현재)
kwon37xi [File Template]
줄 1: 줄 1:
 ====== Fest ====== ====== Fest ======
-  * https://github.com/alexruiz/fest-assert-2.x+  * 개발 중단된 듯. [[java:assertj|AssertJ]] 사용할 것. 
 +  * [[https://github.com/alexruiz/fest-assert-2.x/wiki|FEST: Fixtures for Easy Software Testing]] 
 + 
 +===== IntelliJ File Template ===== 
 +<code java> 
 +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>
  
java/fest.1402327889.txt.gz · 마지막으로 수정됨: 2014/06/10 00:31 저자 kwon37xi