diff options
author | Anant Narayanan <anant@kix.in> | 2013-04-03 16:26:05 -0700 |
---|---|---|
committer | Anant Narayanan <anant@kix.in> | 2013-04-03 16:26:05 -0700 |
commit | 82113fd351cea127ded3d07e40eb46865db9e8f2 (patch) | |
tree | b740775fbf10c9cc1454734a4e5f1e0d5ce5f95b | |
parent | 0d3b9be5ea490c05108458d69803f38d7fb3eaa7 (diff) | |
download | php-jwt-82113fd351cea127ded3d07e40eb46865db9e8f2.zip php-jwt-82113fd351cea127ded3d07e40eb46865db9e8f2.tar.gz php-jwt-82113fd351cea127ded3d07e40eb46865db9e8f2.tar.bz2 |
Add info on tests
-rw-r--r-- | README.md | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -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). |