How do you use HtmlUnit (or one of its derivatives) to test your web application? Do you have direct visibility of your web application's innards from the test classes? How do you debug your Java web applications? Is the compile-deploy-debug cycle feasible or tedious? Have a look at or ?