Using JUnit to test JavaScript

In this article I am going to show you how you can unit test your JavaScript files using nothing but JUnit. Given the following files: index.html <!DOCTYPE html> <html> <head> <meta charset="ISO-8859-1"> <title>Index</title> < »