-
Notifications
You must be signed in to change notification settings - Fork 137
"writting tests" pages does not explain how to include your code #287
Comments
Basically the last section of https://phpunit.de/getting-started.html needs to be "mirrored" there. |
isn't it easier to get started to just include src/money.php instead of deving into autoloader right away? |
Dear contributor, thanks to the hard work by @belanur, @starikovm, @trueromio, and others, the changes outlined in #471 (comment) 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
Simply replace Starting with the documentation for PHPUnit 7.0, the PHPUnit documentation is hosted at
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). |
the page https://phpunit.de/manual/current/en/writing-tests-for-phpunit.html
tests bultin methods. while for clarity on assertions and dependencies this is great, this leaves the user in the dark as to how he even begin to test his code.
may I suggest the page starts out with a simple class? maybe a FIFO queue, and then test that, properly including your file?
The text was updated successfully, but these errors were encountered: