Re: [jbehave-user] Test data setup considerations

2011-02-28 Thread Cristiano GaviĆ£o
"Sathish Kumar" mailto:sathish...@gmail.com>> To: user@jbehave.codehaus.org <mailto:user@jbehave.codehaus.org> Date: Sun, 27 Feb 2011 21:24:28 +0530 Subject: [jbehave-user] Test data setup considerations Hi, Are there any good practices for Test data setup with JBehav

Re: [jbehave-user] Test data setup considerations

2011-02-27 Thread Sathish Kumar
t then let my tests actually hit the database. > > Brian > > - Original message - > From: "Sathish Kumar" > To: user@jbehave.codehaus.org > Date: Sun, 27 Feb 2011 21:24:28 +0530 > Subject: [jbehave-user] Test data setup considerations > > Hi, &g

Re: [jbehave-user] Test data setup considerations

2011-02-27 Thread Brian Repko
al message - From: "Sathish Kumar" To: user@jbehave.codehaus.org Date: Sun, 27 Feb 2011 21:24:28 +0530 Subject: [jbehave-user] Test data setup considerations Hi, Are there any good practices for Test data setup with JBehave. I tried the following approaches: 1. Use DbUnit to setup da

[jbehave-user] Test data setup considerations

2011-02-27 Thread Sathish Kumar
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 internall