On Dec 29, 2008, at 2:48 AM, Arthur Erdös wrote:
exactly! I thought that the data are only for running the tests
against
and are deleted thereafter.
Then it is correct that the database is recreated and populated with
the
test data each time you run "mvn jetty:run-war"? Thx for the hint, of
course it is correct, that ensures that the database is always in a
known state for running the tests...
Yes. You can adjust this behavior if you like, but some tests might
not pass. Look in your pom.xml for the dbunit plugin's configuration.
Matt
Thanks Matt! Keep up the amazing work on AppFuse! As I said already
I'm
trying AppFuse no more than a week ago but I am exalted by now ;)
Best wishes,
Arthur
On Sun, 2008-12-28 at 13:36 -0800, Matt Raible wrote:
What are you looking for? No data after the tests run? I believe the
behavior you're seeing is correct.
Matt
On Sat, Dec 27, 2008 at 3:54 PM, Arthur Erdös <[email protected]>
wrote:
Hello everybody,
I'm very new to AppFuse and I'm currently working thru the
tutorials.
Everything works fine so far, but I noticed that the test data
which are
used for the unit tests are not removed after the tests
finished... Is
this a known issue or am I doing sth wrong? ;)
When I run "mvn clean install" (in the core folder of spring
modular
app) the test data are stored in the database and not removed.
I can
clean the data with "mvn hibernate3:hbm2ddl" but DBunit should
do this
for me, or am I wrong?
Thx in advance for pointing me in the right direction! ^^
kind regards,
Arthur
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]