1 Reply Latest reply on Nov 5, 2007 9:43 AM by Pete Muir

    Please help me with answering this on unit/integrated tests

    Amit Tiwary Newbie

      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