Skip to content

Commit 193c296

Browse files
authored
Added composer test to readme (#296)
1 parent 9853314 commit 193c296

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ nexmo.com][signup].
1616
* [Installation](#installation)
1717
* [Usage](#usage)
1818
* [Examples](#examples)
19+
* [Test Suite](#test-suite)
1920
* [Contributing](#contributing)
2021

2122
Installation
@@ -827,6 +828,24 @@ $client->getFactory()->set(\PSR\Log\LoggerInterface::class, $logger);
827828

828829
**ENABLING DEBUGING LOGGING HAS THE POTENTIAL FOR LOGGING SENSITIVE INFORMATION, DO NOT ENABLE IN PRODUCTION**
829830

831+
## Test Suite
832+
833+
This library has a full test suite designed to be run with [PHPUnit](https://phpunit.de).
834+
835+
To run, use composer:
836+
```
837+
composer test
838+
```
839+
840+
> Please note: this test suite is large, and may require a considerable amount of memory
841+
> to run. If you encounter the "too many files open" error in MacOS or Linux, there is a hack to
842+
> increase the amount of file pointers permitted. Increase the amount of files that can be open by entering the
843+
> following on the command line (10240 is the maximum amount of pointers MacOS will open currently):
844+
>
845+
```
846+
ulimit -n 10240
847+
```
848+
830849
## Contributing
831850

832851
This library is actively developed, and we love to hear from you! Please feel free to [create an issue][issues] or [open a pull request][pulls] with your questions, comments, suggestions and feedback.

0 commit comments

Comments
 (0)