On Nov 30, 2007 3:55 AM, Michael Horwitz <[EMAIL PROTECTED]> wrote:
> To load prod data without running tests: mvn -Pprod dbunit:operation
>
Yes, thanks for that and thanks for everyone else's input.
Laith
Yes you're right, that's because the ActionTest cases expect negative IDs
(-1, -2) to be in the database, which are used in sample-data.xml but that
I didn't specify in default-data.xml (which is used when prod is activated).
Ok, to step back a bit. If I was not going to put any data for my table
tz <[EMAIL PROTECTED]> wrote:
>
> If you are running the tests against a production database surely you
> should run the data population piece as well?
>
> Mike
>
>
> On 11/28/07, Laith Al-Khateeb <[EMAIL PROTECTED]> wrote:
> >
> > Skipping t
Skipping tests skips the data population all together.
Laith
On 11/21/07, Allan Ang <[EMAIL PROTECTED]> wrote:
>
>
> try mvn:jetty-run -Dmaven.test.skip=true
> --
> View this message in context:
> http://www.nabble.com/Preopopulating-a-production-database-tf4848327s2369.html#a13873159
> Sent fro
Hi,
I have created a simple struts 2 appfuse application and added a Person
entity to it (and used appfuse:gen, appfuse:install on that entity).
When I run: mvn -Pprod jetty:run-war, a test failure occurs on the
PersonActionTest because of not finding the test data with negative ID
values:
[appf