ui test
EditWeb page test
HTTPUnit
- http://httpunit.sourceforge.net
- HTMLUnit과 유사. Http요청과 반응을 사용.
- http://toby.epril.com/?p=153 *
- 참고자료
- http://blog.naver.com/jadin1?Redirect=Log&logNo=70018383230
- 대표적 API http://httpunit.sourceforge.net/doc/api/com/meterware/httpunit/WebResponse.html
HTMLUnit
- http://htmlunit.sourceforge.net/ *
- 웹브라우저를 시뮬레이트
- 참고자료
- http://htmlunit.sourceforge.net/gettingStarted.html
- http://htmlunit.sourceforge.net/apidocs/com/gargoylesoftware/htmlunit/CookieManager.html
- http://htmlunit.sourceforge.net/apidocs/com/gargoylesoftware/htmlunit/html/HtmlPage.html
jwebunit
- http://jwebunit.sourceforge.net/
- Junit + HttpUnit의 테스트코드를 더욱 간결하게 만들어서 제공
- 참고자료
- Junit + HTMLUnit vs jwebUnit 코드비교 : http://jwebunit.sourceforge.net/2.x/jwebunit-htmlunit-plugin/index.html
- jWebUnit 프레임웍으로 웹 애플리케이션 테스트를 간단하게!
public class HttpUnitTest { public static void main(String[] args) { try { WebConversation wc = new WebConversation(); WebRequest request = new GetMethodWebRequest("http://httpunit.sourceforge.net/index.html"); wc.setProxyServer( "your.proxy.com", 80 ); WebResponse response = wc.getResponse(request); WebLink httpunitLink = response.getFirstMatchingLink(WebLink.MATCH_CONTAINED_TEXT,"Cookbook"); response = httpunitLink.click(); System.out.println("Test successful !!"); } catch (Exception e) { System.err.println("Exception: " + e); } } }
Selenium
- http://www.openqa.org/selenium/ MockStrutsTestCase
http://barcamp.tistory.com/tag/Selenium
웹서비스 테스트 자동화와는 별 상관없는 작업을 위해…]
Selenium RC 를 사용해보자. I]
Selenium RC 를 사용해보자. II]
Watij
Web driver
웹드라이버(webdriver) pom.xml에 의존성 추가하기
DBUnit + Cargo + Webdriver를 이용한 웹 테스트 삽질 중
Cacus
Cargo
FIT
웹 테스트 프레임워크(WebTUnit) 사용 시나리오 1. 웹 테스트 + 테스트 클래스 단위 데이터 관리
기타
웹 테스트 프레임워크(WebTUnit) 사용 시나리오 1. 웹 테스트 + 테스트 클래스 단위 데이터 관리
WebTUnit 사용 시나리오 2. 웹 테스트 + 테스트 메서드 단위 데이터 관리
WebTUnit 사용 시나리오 3. 테스트 데이터가 필요 없는 경우