| Recommend this page to a friend! |
| Info | Documentation | Reputation | Support forum | Blog | Links |
| Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
| 2024-07-26 (8 months ago) | Not enough user ratings | Total: 27 | All time: 11,217 This week: 68 | |||||
| Version | License | PHP version | Categories | |||
| php-unit-testing-sam 1.0.0 | The PHP License | 7 | Language, Testing, PHP 7 |
| Description | Author | |
This package can show how to test a class using PHPUnit. |
Writing php unit testing with phpunit
Run composer require to install all missing dependencies
Then, to test: run below line in terminal specifying the file-path or directory name:
./vendor/bin/phpunit
Example:
./vendor/bin/phpunit tests
./vendor/bin/phpunit tests/UserTest.php
| File | Role | Description | ||
|---|---|---|---|---|
| Data | Auxiliary data | |||
| Data | Auxiliary data | |||
| Doc. | Documentation | |||
| The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
| php-unit-testing-sam-2024-07-26.zip 7KB | |
| php-unit-testing-sam-2024-07-26.tar.gz 6KB | |
| Install with Composer |
| Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
| 100% |
|
|
| Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.