Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

...

  1. PHPUnit

...

  1. using

...

  1. instructions

...

  1. on

...

  1. this

...

  1. page
  2. cd to the phpcas/test/

...

  1. directory

...

  1. Run

...

  1. the

...

  1. following

...

  1. command:

...

  1. Code Block
    phpunit 

...

  1. TestSuite.php

...

Manual testing

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

...

  1. copy

...

  1. the

...

  1. config.php.example

...

  1. to

...

  1. config.php

...

  1. modify

...

  1. the

...

  1. config.php

...

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