What is the difference between JSFUnit and Selenium?
Selenium is purely for black box testing. That is, Selenium only gives you the client side view of things. Also, Selenium uses native browser code. That can be good or bad depending on your perspective. JSFUnit uses a pure java headless browser (HtmlUnit) that can emulate different versions of Firefox and IE. It has an API on top of HtmlUnit that understands JSF views. So the client API is a little easier to use than Selenium. JSFUnit is usually a better choice for developers because it allows you to do comprehensive white box testing as well as the black box testing that Selenium provides. You can use both JSFUnit and Selenium if you want. You can run them side-by-side as part of your test suite. But there is no formal integration.