summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnant Narayanan <anant@kix.in>2013-04-03 16:26:05 -0700
committerAnant Narayanan <anant@kix.in>2013-04-03 16:26:05 -0700
commit82113fd351cea127ded3d07e40eb46865db9e8f2 (patch)
treeb740775fbf10c9cc1454734a4e5f1e0d5ce5f95b
parent0d3b9be5ea490c05108458d69803f38d7fb3eaa7 (diff)
downloadphp-jwt-82113fd351cea127ded3d07e40eb46865db9e8f2.zip
php-jwt-82113fd351cea127ded3d07e40eb46865db9e8f2.tar.gz
php-jwt-82113fd351cea127ded3d07e40eb46865db9e8f2.tar.bz2
Add info on tests
-rw-r--r--README.md15
1 files changed, 14 insertions, 1 deletions
diff --git a/README.md b/README.md
index 4b60193..2f9e439 100644
--- a/README.md
+++ b/README.md
@@ -8,7 +8,7 @@ Example
-------
```php
<?php
- include_once 'JWT.php';
+ include_once 'Authentication/JWT.php';
$key = "example_key";
$token = array(
@@ -25,6 +25,19 @@ Example
?>
```
+Tests
+-----
+Run the tests using phpunit:
+
+```bash
+ $ pear install PHPUnit
+ $ phpunit tests/
+ PHPUnit 3.7.10 by Sebastian Bergmann.
+ .....
+ Time: 0 seconds, Memory: 2.50Mb
+ OK (5 tests, 5 assertions)
+```
+
License
-------
[3-Clause BSD](http://opensource.org/licenses/BSD-3-Clause).