Skip to content

Commit 82113fd

Browse files
committed
Add info on tests
1 parent 0d3b9be commit 82113fd

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Example
88
-------
99
```php
1010
<?php
11-
include_once 'JWT.php';
11+
include_once 'Authentication/JWT.php';
1212

1313
$key = "example_key";
1414
$token = array(
@@ -25,6 +25,19 @@ Example
2525
?>
2626
```
2727

28+
Tests
29+
-----
30+
Run the tests using phpunit:
31+
32+
```bash
33+
$ pear install PHPUnit
34+
$ phpunit tests/
35+
PHPUnit 3.7.10 by Sebastian Bergmann.
36+
.....
37+
Time: 0 seconds, Memory: 2.50Mb
38+
OK (5 tests, 5 assertions)
39+
```
40+
2841
License
2942
-------
3043
[3-Clause BSD](http://opensource.org/licenses/BSD-3-Clause).

0 commit comments

Comments
 (0)