简体   繁体   中英

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM