TestCase library is designed as a Prototype based light-weight unit-testing system for your JavaScript code.
Watch for fresh docs. Case the framework extending quite fast, there might be some new features and improvements.