사용자 도구

사이트 도구


wordpress:unit_testing

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판이전 판
다음 판
이전 판
다음 판양쪽 다음 판
wordpress:unit_testing [2016/01/26 16:52] – [PHPUnit] 출처표기요구 추가 changwoowordpress:unit_testing [2016/01/27 16:06] – subversion 설치 언급. changwoo
줄 56: 줄 56:
 /** Sets up WordPress vars and included files. */ /** Sets up WordPress vars and included files. */
 require_once(ABSPATH . 'wp-settings.php'); require_once(ABSPATH . 'wp-settings.php');
 +</code>
 +
 +==== 기타 ====
 +나중에 실행될 ''install-wp-tests.sh''는 SVN을 요구한다.
 +<code bash>
 +sudo apt-get install subversion
 </code> </code>
  
줄 75: 줄 81:
   * phpunit.xml   * phpunit.xml
   * .travis.yml   * .travis.yml
 +
 +테스트 환경을 만드는 쉘 스크립트가 ''bin/install-wp-test.sh''로 만들어진 것을 확인할 수 있다. 이 스크립트는 워드프레스 개발 버전 관리 시스템 서버, SVN에서 
  
 테스트는 다음 명령으로 실행 가능하다. 테스트는 다음 명령으로 실행 가능하다.
wordpress/unit_testing.txt · 마지막으로 수정됨: 2016/01/28 14:37 저자 changwoo

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki