Whiteship
  • Home
  • 인프런 강의
  • Java
  • Spring
  • JPA
  • SDE Tips
Subscribe

웹투닛

A collection of 1 post
웹투닛

WebTUnit 사용 시나리오 3. 테스트 데이터가 필요 없는 경우

제일 간단한 경우 입니다. 테스트 데이터가 필요 없기 때문에 @WarConfiguration만 사용하면 됩니다. @RunWith(WebTestRunner.class) @WarConfiguration(appName=”springsprout”) public class SampleWebTest { @WebTest public void sinario1(){ System.out.println(“test1”); } @WebTest public void sinario2(){ System.out.println(“test2”); } } 이렇게만 하면, 1. WAR 패키징 2. WAR 배포 3. 테스트~ 4. WAR un배포
May 15, 2009 — 1 min read
Whiteship © 2022
Powered by Ghost