ui test
EditBroswer
- https://github.com/h4ckf0r0day/obscura : The headless browser for AI agents and web scraping
- https://github.com/browser-use/browser-harness : Connect an LLM directly to your real browser with a thin, editable CDP harness.
Web 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
- CanooWebTest
- http://barcamp.tistory.com/tag/Selenium
- Selenium을 이용한 테스트 전략
- UsingSeleniumToNaverLogin
- Selenium RC를 이용한 웹 애플리케이션 테스트
Watij
Web driver
- WebDriver와 PageObject 패턴
- 웹드라이버(webdriver) pom.xml에 의존성 추가하기
- webdriver - NextSteps
- DBUnit + Cargo + Webdriver를 이용한 웹 테스트 삽질 중
- webdriver - NextSteps
Cacus
Cargo
FIT
기타
- 웹 통합 테스트 프레임워크 개발 중
- 웹 테스트 프레임워크(WebTUnit) 사용 시나리오 1. 웹 테스트 + 테스트 클래스 단위 데이터 관리
- WebTUnit 사용 시나리오 2. 웹 테스트 + 테스트 메서드 단위 데이터 관리
- WebTUnit 사용 시나리오 3. 테스트 데이터가 필요 없는 경우
- WebTUnit에 CoC 적용 결과
- WebTUnit 1.0 M1 배포합니다.