First, Qunit front-end test tools
Qunit is a powerful JavaScript unit testing framework that is developed by members of the jquery team and is the official test suite for jquery. Qunit is a unit testing framework for jquery and is widely used in various projects.
In order to use Qunit, you just need to go to include 2 qunit files in your HTML page. Qunit contains qunit.js as the runner and test framework, and the Qunit.css file, the Seat test suite page displays the test result style.
Second, Selenium front-end testing tools
Selenium is an acceptance testing tool ThoughtWorks specifically written for Web applications. Selenium is also a tool for Web application testing. The selenium test runs directly in the browser, just as the real user is doing.
The main features of this tool include:
1. Test and browser compatibility--test your app to see if it works well on different browsers and operating systems.
2. Test system function--Create regression test to verify software function and user requirement.
3. Support automatic recording and automatic generation of test scripts in different languages such as. Net, Java, and Perl.
Three, Jshint front-end testing tools
Jshint is very much like JSLint, a JavaScript code quality checker that is used primarily to check the quality of the code and to identify potential code flaws and provide relevant code improvement comments.
How to use:
The first way: go to jshint home, paste your code, select the relevant options, and then click on the bottom right corner of the lint button on it.
The second approach: Use Grunt integrated jshint.
The third method: use the API directly.
Four, webdrivertest front-end test tools
Webdriver is an automated test class library based on selenium, but it is no longer a JavaScript program running in the browser, but it can control the browser. It is designed to improve many of the problems that arise in selenium, and provides a very easy-to-use, highly readable API.
Common test tools for web front end