Unit testing a CAS extension involves writing mock Java classes, writing unit tests, and running these tests through a tool of your choice.

Developers should mock out the following interfaces for their unit tests:

Oracle recommends the JUnit testing framework but it is not required. For information about using the JUnit framework, see http://junit.org/.

There is a set of sample JUnit tests included with the sample implementation. These are available in <install path>\CAS\version\sample\cas-extensions.


Copyright © Legal Notices