Permalink
Browse files

Added docs for running the tests.

  • Loading branch information...
1 parent c0da924 commit b05d4a72196eb7ac9d537153779c27248d462b93 @theycallmeswift theycallmeswift committed Jun 18, 2012
Showing with 9 additions and 1 deletion.
  1. +9 −1 README.md
View
@@ -9,6 +9,14 @@ Licensed under the MIT License.
git clone git@github.com:sendgrid/sendgrid-php.git
```
+## Testing ##
+
+The existing tests in the `Test` directory can be run using [PHPUnit](https://github.com/sebastianbergmann/phpunit/) with the following command:
+
+````
+phpunit Test/
+```
+
## SendGrid APIs ##
SendGrid provides two methods of sending email: the Web API, and SMTP API. SendGrid recommends using the SMTP API for sending emails.
For an explanation of the benefits of each, refer to http://docs.sendgrid.com/documentation/get-started/integrate/examples/smtp-vs-rest/.
@@ -159,4 +167,4 @@ $mail = new SendGrid\Mail();
$mail->addTo('foo@bar.com')->
...
addHeader("category", "My New Category");
-```
+```

0 comments on commit b05d4a7

Please sign in to comment.