We use Qunit for unit testing
Bitovi has built a functional testing framework called FuncUnit, which is built on top of Qunit.
We have a tutorial on testing in the Building Cookbook example, which is a JMVC 3.2 tutorial, but can be applied to any CanJS app.