Recommend this page to a friend! |
![]() ![]() |
Info | ![]() |
![]() |
![]() ![]() |
Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2024-07-26 (21 hours ago) ![]() | Not yet rated by the users | Total: Not yet counted | Not yet ranked |
Version | License | PHP version | Categories | |||
php-unit-testing-sam 1.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 |
![]() | 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 | |||||||
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.