[jboss-user] [JBoss Seam] - Please help me with answering this on unit/integrated tests

tiwaryamit do-not-reply at jboss.com
Mon Nov 5 09:15:01 EST 2007


 Hi .
   I have started on Seam a few weeks and looks like it is going to be our framework for next set of web development. I was interested in hibernate2 example which came with Seam download. There were no unit/integration tests provided. Does it mean that we can't have unit/integrated tests without embedded JBoss in Tomcat? Is there any way using which I will be able to write unit/integration tests in plain tomcat deployment scenario. Please help me with answers/suggestions to these queries as it is a big road block for me since last two days.
Please help me.

ps: I tried migrating the test cases from booking example here, but when I run ant test, it throws the below exception.
"
testng] ERROR 05-11 18:51:49,517  [org.jboss.dependency.plugins.AbstractController.incrementState():456] Error installing to Start: name=jboss:database=localDB,service=Hypersonic state=Create mode=Manual requiredState=Installed
   [testng] java.sql.SQLException: Wrong database file version
".
Mine is an Oracle Datasource configured in context.xml.

Have a great day ahead.

Thanks
Amit

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101789#4101789

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101789



More information about the jboss-user mailing list