PHPUnit Manual
5/27 - pp.40 5/30 - pp.50 6/3 - pp.78 5장 끝 6/6 - pp.87 7장 끝 6/10 - pp.124 10장 끝 6/13 - pp.131 12장 끝 6/17 - pp.151 16장 끝 6/20 - pp.163 18장 끝 6/24 - pp.199 전체 완료 24일 이후로는 전체적인 검토 및 문서 포맷 정리로 생각하고 있습니다
- PHPUnit
사이트
https://github.com/sebastianbergmann/phpunit/
원본-영어
http://www.phpunit.de/manual/current/en/phpunit-book.pdf
원본-일본어
http://www.phpunit.de/manual/current/ja/phpunit-book.pdf
번역진행
MU(Yang Chan young)
검수진행
onionmixer
도입
본문
- 4. Writing Tests for PHPUnit
- 4.1 Test Dependencies
- 4.2 Data Providers
- 4.3 Testing Exceptions
- 4.4 Testing PHP Errors
- 4.5 Testing Output
- 4.6 Assertions
- 4.7 Error output
- 7. Organizing Tests
- 7.1 Composing a Test Suite Using the Filesystem
- 7.2 Composing a Test Suite Using XML Configuration
- 8. Database Testing
- 8.1 Supported Vendors for Database Testing
- 8.2 Difficulties in Database Testing
- 8.3 The four stages of a database test
- 8.4 Configuration of a PHPUnit Database TestCase
- 8.5 Understanding DataSets and DataTables
- 8.6 The Connection API
- 8.7 Database Assertions API
- 8.8 Frequently Asked Questions
- 9. Incomplete and Skipped Tests
- 9.1 Incomplete Tests
- 9.2 Skipping Tests
- 9.3 Skipping Tests using @requires
- 10. Test Doubles
- 10.1 Stubs
- 10.2 Mock Objects
- 10.3 Stubbing and Mocking Web Services
- 10.4 Mocking the Filesystem
- 14. Code Coverage Analysis
- 14.1 Specifying Covered Methods
- 14.2 Ignoring Code Blocks
- 14.3 Including and Excluding Files
- 14.4 Edge cases
- 16. Skeleton Generator
- 16.1 Generating a Test Case Class Skeleton
- 16.2 Generating a Class Skeleton from a Test Case Class
- 17. PHPUnit and Selenium
- 17.1 Selenium Server
- 17.2 Installation
- 17.3 PHPUnit_Extensions_Selenium2TestCase
- 17.4 PHPUnit_Extensions_SeleniumTestCase
- 18. Logging
- 18.1 Test Results (XML)
- 18.2 Test Results (TAP)
- 18.3 Test Results (JSON)
- 18.4 Code Coverage (XML)
- 18.5 Code Coverage (TEXT)
- 19. Extending PHPUnit
- 19.1 Subclass PHPUnit_Framework_TestCase
- 19.2 Write custom assertions
- 19.3 Implement PHPUnit_Framework_TestListener
- 19.4 Subclass PHPUnit_Extensions_TestDecorator
- 19.5 Implement PHPUnit_Framework_Test
부록
- C. The XML Configuration File
- PHPUnit
- Test Suites
- Groups
- Including and Excluding Files for Code Coverage
- Logging
- Test Listeners
- Setting PHP INI settings, Constants and Global Variables
- Configuring Browsers for Selenium RC