An open API service indexing awesome lists of open source software.

https://github.com/devuri/basic-example-test-phpunit


https://github.com/devuri/basic-example-test-phpunit

Last synced: 11 months ago
JSON representation

Awesome Lists containing this project

README

          

## Very Basic Example Test with PHPUnit

[Ref: https://phpunit.de/getting-started/phpunit-9.html](https://phpunit.de/getting-started/phpunit-9.html).

### clone this
```bash
git clone https://github.com/devuri/Basic-Example-Test-PHPUnit.git
```

### Installer
```bash
composer install
```

### Run the Tests
Execute all tests declared in *Test.php sourcecode files in the tests directory.
```bash
./vendor/bin/phpunit tests

```

### Output.
```bash

PHPUnit 9.5.0 by Sebastian Bergmann and contributors.

. 1 / 1 (100%)

Time: 00:00.004, Memory: 4.00 MB

OK (1 tests, 1 assertions)
```