writing-tests-for-phpunit.html spelling
Test Dependencies
Unit Tests are primarily written as a good practice to help developers identify and fix bugs, to refactor code and to serve as documentation for a unit of software under test. To achieve these benefits, unit tests ideally should cover all the possible paths in a program. One unit test usually covers one specific path in one function or method. However a test method is not necessary necessarily an encapsulated, independent entity. Often there are implicit dependencies between test methods, hidden in the implementation scenario of a test.
I've noticed this before, but I believe the mistake appears in the source material. @sebastianbergmann how do you feel about adding [sic] or something similar?
+1
Dear contributor,
thanks to the hard work by @belanur, @starikovm, @trueromio, and others, the changes outlined in https://github.com/sebastianbergmann/phpunit-documentation/issues/471#issuecomment-336631080 have been implemented.
This repository, https://github.com/sebastianbergmann/phpunit-documentation, is now archived and read-only. The documentation for PHPUnit version prior to PHPUnit 7.0 will no longer be changed or updated. It is still hosted at
- Multiple HTML files:
https://phpunit.de/manual/6.5/en/index.html - Multiple HTML files (in a .tar.bz2 archive):
https://phpunit.de/manual/current/en/download.tar.bz2 - Single HTML file:
https://phpunit.de/manual/current/en/phpunit-book.html - PDF:
https://phpunit.de/manual/current/en/phpunit-book.pdf - ePub:
https://phpunit.de/manual/current/en/phpunit-book.epub
Simply replace 6.5 with the version number you are looking for. Simply replace en with fr, pt_br, ja, or zh_cn to access the French, Brazilian Portuguese, Japanese, or Simplified Chinese translation, respectively.
Starting with the documentation for PHPUnit 7.0, the PHPUnit documentation is hosted at https://phpunit.readthedocs.io/.
- The English documentation for PHPUnit is now maintained in the phpunit-documentation-english project
- The French documentation for PHPUnit is now maintained in the phpunit-documentation-french project
- The Brazilian Portuguese documentation for PHPUnit is now maintained in the phpunit-documentation-brazilian-portuguese project
- The Japanese documentation for PHPUnit is now maintained in the phpunit-documentation-japanese project
- The Simplified Chinese documentation for PHPUnit is now maintained in the phpunit-documentation-chinese project
I am sorry that I have to close this issue here as GitHub does not support moving issues from one project to another. Please open a new ticket for this issue in one of the new issue trackers (see above).