Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
Tags
- php
- 안드로이드
- ajax
- laravel
- Linux
- properties
- Spring
- java
- 톰캣
- JSON
- SeLinux
- error
- 와일드카드
- DB
- File
- tomcat
- NetBeans
- CentOS
- html
- MySQL
- jquery
- 리눅스
- curl
- 이클립스
- junit
- 정규식
- javascript
- input
- Android
- larravel
Archives
- Today
- Total
목록junit (3)
합쭈기 programming
maven 빌드 시 junit test 제외
org.apache.maven.plugins maven-surefire-plugin 2.12.4 true pom에 추가한다.
Java/Spring
2015. 6. 18. 11:37
jUnit DB 테스트
spring xml 참조를 위해 spring-test를 추가한다. pom.xmlorg.springframeworkspring-test${org.springframework-version} junitjunit4.7test view 테스트는 제외 했으니까 test/resource에 간략화된 설정 xml을 추가한다. servlet.-test.xml mybatis-test.xml url 에러 시 '&' 다음에 amp; 추가 ※ properties 참조 안되니까 박아넣음.. test에 @Runwith 셋팅 DatabasesTest.java@RunWith(SpringJUnit4ClassRunner.class)@ContextConfiguration(locations={"classpath:/spring/servlet-..
Java/Spring
2015. 6. 5. 14:07