Bill Software Engineer
Bill Software Engineer

Reputation: 7782

In C#, how do I unit-test client-side user interaction and javascript (jQuery) code?

I am new to unit-test. My application is in ASP.NET with C#. How do I both test javascript (jQuery with AJAX) code that are run on the client-side and user interaction like clicking on a button?

Upvotes: 1

Views: 247

Answers (1)

johnsyweb
johnsyweb

Reputation: 141770

Unit tests are written in the same language as the system under test. They test individual units and not the integration between them; such tests would be integration tests.

As such, the ASP.NET, C# and JavaScript code will all be unit-tested using different frameworks.

Upvotes: 2

Related Questions