Hi Diogo,
If you manage to run your JUnit tests on a testing DB you should be able to do
the same to run your JWebUnit tests on the same DB. JWebUnit is a layer on top
of JUnit, so I don't understand why you can't use the same mecanism? Is there
something I didn't understand in your question?
Regards,
Julien
________________________________
De : Diogo Henriques <diogo.henriq...@toprural.com>
À : jwebunit-users@lists.sourceforge.net
Envoyé le : Mercredi, 14 Janvier 2009, 11h37mn 54s
Objet : [JWebUnit-users] How to create an testing environment with Jwebunit
Hi,
I've been exploring and creating some test cases in order to see the
possibilities and benefits of this framework to integration tests. I've it
already integrated with maven and jetty to run the tests before generate the
war in a continuos integration environment, and so far everything is going fine
and it must be said that jwebunit team is doing a good work :))
Although I coudn't , so far, create a database testing environment to run the
tests. For example, in my project we have a development, production, testing
database. When running the data unit tests, data layer, JUnit uses a testing
environment (spring application context defined for testing, and xml file with
the data testing to be inserted before running the tests). So I would like to
use the same logic with jwebunit .... Run the tests under a test environment
... is there any solution or a best practices to do it ? I am using jwebunit
2.1, Stripes, Spring and Jetty
thanks in advance,
Diogo Henriques
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
JWebUnit-users mailing list
JWebUnit-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jwebunit-users