delete my account
delete my account

Reputation:

How i can use Funcunit or Qunit to test my jQuery code in ASP.NET MVC?

How i can use FuncUnit or qunit to test my jQuery code.Can anyone exaplain how i can use one of them to test the jQuery code i write ?

Upvotes: 1

Views: 294

Answers (1)

koalix
koalix

Reputation: 133

Funcunit is better for acceptance tests. It simulates user actions (mouse clicking, typing on a keyboard). Funcunit is an extension of QUnit.

If you realy need to test only your JavaScript code, in this case you can use e.g. Jasmine. It is faster then QUnit, because it doesn't manipulate with the DOM. jQuery code is tested well, so you need not to duplicate this work by using of QUnit.

Upvotes: 1

Related Questions