Well, since site rendered by Sitecore is just, well, a website - all standard testing approaches still applicable. You have to determine what is that you're trying to test - UI?
Look into Selenium for automated tests.
You can also have Unit Tests defined within your Sitecore solution. Although those would not be extremely useful when testing renderings for example. You'd still want to do a browser-side test manually or via automation tool.