TestNG
Here i did a feature comparison between JUnit 4 and TestNG. Junit4 와 비교해 매력적인 건 어노테이션으로 그룹테스팅을 지정 할 수 있다는 것인데. 뭐 물론 Junit4에서 testsuite 파일을 만들어서 그룹지어 할 수 있지만, 어노테이션으로 그룹핑 하는 것이 더 편하다는 생각이 든다. (이건 다분히 개인적,,) 참고 할 만한 링크 : http://jnb.ociweb.com/jnb/jnbJul2010.html
emotional developer/detect-Java
2010. 7. 16. 02:19
Jmock
http://www.jmock.org/ http://opensourcetips.blogspot.com/2007/11/jmock-tests.html package com.test.jmock; interface Subscriber { void receive(String message); } package com.test.jmock; import java.util.ArrayList; import java.util.List; import junit.framework.*; class Publisher { List list = new ArrayList(); void add(Subscriber subscriber) { list.add(subscriber); } void publish(String message) { ..
emotional developer/detect-Java
2010. 7. 15. 23:23
공지사항