yidas/phpunit-sample

The demonstration of PHPUnit

1.1.0 2018-04-30 02:53 UTC

This package is auto-updated.

Last update: 2024-11-10 21:05:54 UTC


README

The demonstration of PHPUnit

INSTALLATION

Create the project by Composer:

composer create-project --prefer-dist --stability=dev yidas/phpunit-sample

USAGE

In the root directory of this library, run phpunit from vendor:

./vendor/bin/phpunit

Then the result would like:

PHPUnit 5.6.4 by Sebastian Bergmann and contributors.

...                                                                 3 / 3 (100%)

Time: 32 ms, Memory: 3.50MB

OK (3 tests, 3 assertions)

DIRECTORY STRUCTURE

src/      Source component classes
tests/    Test cases

DOCUMENTATION