Skip to content

Commit

Permalink
Update README with PHPUnit instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
giggsey committed Nov 16, 2020
1 parent 1ea4d08 commit c4a9c05
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,12 @@ $ vendor/bin/phing compile

This compile process clones the [libphonenumber](https://github.com/google/libphonenumber) project at the version specified in [METADATA-VERSION.txt](METADATA-VERSION.txt).

### Running tests

This project uses [PHPUnit Bridge](https://symfony.com/doc/current/components/phpunit_bridge.html) to maintain compatibility for the supported PHP versions.

To run the tests locally, run the `./phpunit` script.

## Integration with frameworks

Other packages exist that integrate libphonenumber-for-php into frameworks.
Expand Down
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,8 @@
"branch-alias": {
"dev-master": "8.x-dev"
}
},
"scripts": {
"test": "./phpunit"
}
}

0 comments on commit c4a9c05

Please sign in to comment.