Sinon.JS - Versatile standalone test spies, stubs and mocks for JavaScript. YUI 3: Test. YUI Test is a testing framework for browser-based JavaScript solutions.
Using YUI Test, you can easily add unit testing to your JavaScript solutions. While not a direct port from any specific xUnit framework, YUI Test does derive some characteristics from nUnit and JUnit. YUI Test features: