Casperjs is a great starting point for testing your application, on your local machine as well as on a web server.