現現在比較流行的JS測試工具:Qunit 和 Jasmine;html
比較以下:工具
http://www.cnblogs.com/frostbelt/archive/2012/08/03/2622302.html測試
指望值與結果不符,測試不經過。htm