But there should be not problem. The business logic of your app should in in code that doesn't know or care that it's part of a web app. Standard BDD/TDD approaches apply. For the front end, you can use Cucumber driving Selenium (or something similar).