Skip to end of metadata
Go to start of metadata
Table of Contents

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).

  1. Install PHPUnit using instructions on this page. PHPUnit 3.5 or later is required.
  2. cd to the phpcas/test/ directory
  3. Run the following command:
    phpunit TestSuite.php

Manual testing

Manual testing can be done with the supplied examples in docs/examples.

  1. copy the config.php.example to config.php
  2. modify the config.php to your cas server setup
  3. Add the example dir to your php enabled webserver (ssl is needed for any proxy examples)
  4. click through the examples
  5. enjoy
  • No labels