Testing releases
For some of the classes there are phpunit tests available since version 1.2.0. Check out the /test folder and the Readme included with the test suite. This framework only covers a few of the many functions right now and is by no means complete (yet).
- Install PHPUnit using instructions on this page
- cd to the phpcas/test/ directory
- Run the following command:
phpunit TestSuite.php
Manual testing
Manual testing can be done with the supplied examples in docs/examples.
- copy the config.php.example to config.php
- modify the config.php to your cas server setup
- Add the example dir to your php enabled webserver (ssl is needed for any proxy examples)
- click through the examples
- enjoy