Hi, Are there any good practices for Test data setup with JBehave. I tried the following approaches:
1. Use DbUnit to setup data and Run scenarios (Works perfectly) 2. Use builder/factory and Given methods to setup data Ex: Given the store has book titled Spring which sells at 20 $ will internally use BookFactory to persist book and Then will check the webapp. I haven't had success in the 2nd approach due to Transactions not being committed. Do you have any suggestions on this? Thanks, Sathish