XSPUnit is a simple framework for xUnit style unit testing of Javascript in XPages Applications. It is written entirely in Javascript and can be used to test both server and client side scripts.