Reputation: 7782
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
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