proper way of writing FunctionalTest in playframework
问题 While writing FunctionalTest for a webapp based on play1.2.4,I was a little confused as to how to code it properly.The confusion is regarding the transaction boundary involved.I read somewhere that each test has its own transaction. In my app,a User can login and add some items to the cart.Then he can give an Address sothat the items can be sent to him. I created private helper methods like below private Cart buyItemsAsCustomer(String email,String pass) { User user = User.find("byEmail",