PHPUnit Manual: Difference between revisions
Jump to navigation
Jump to search
Onionmixer (talk | contribs) (페이지 링크 추가) |
Onionmixer (talk | contribs) (PHPUnit 메인페이지 수정) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
;PHPUnit | ;PHPUnit | ||
Line 35: | Line 21: | ||
---- | ---- | ||
'''PHPUnit Manual''' | |||
Sebastian Bergmann | |||
Publication date Edition for PHPUnit 3.7. Updated on 2013-05-20. | |||
Copyright © 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Sebastian Bergmann | |||
This work is licensed under the Creative Commons Attribution 3.0 Unported License. | |||
---- | |||
===도입=== | ===도입=== | ||
Line 76: | Line 77: | ||
* [[:PHPUnitManual:7|7. Organizing Tests]] | * [[:PHPUnitManual:7|7. Organizing Tests]] | ||
* [[:PHPUnitManual:7.|7.1 Composing a Test Suite Using the Filesystem]] | * [[:PHPUnitManual:7.1|7.1 Composing a Test Suite Using the Filesystem]] | ||
* [[:PHPUnitManual:7.|7.2 Composing a Test Suite Using XML Configuration]] | * [[:PHPUnitManual:7.2|7.2 Composing a Test Suite Using XML Configuration]] | ||
Latest revision as of 10:28, 4 July 2013
- 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
PHPUnit Manual
Sebastian Bergmann
Publication date Edition for PHPUnit 3.7. Updated on 2013-05-20.
Copyright © 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Sebastian Bergmann
This work is licensed under the Creative Commons Attribution 3.0 Unported License.
도입
본문
- 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
- 4.8 Edge cases
- 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