0 Replies Latest reply on Nov 19, 2008 10:10 AM by Tom Goring

    TestNG Re Scanning Every Test

    Tom Goring Apprentice

      Hi,


      (Seam 2.0.0.GA)


      I have a load of integration tests that run fine (based on DBUnitSeamTest).
      It seems that when the test are run as a group




      <suite name="Example" verbose="2">
           <test name="IntegrationTests" >
                <parameter name="datasourceJndiName" value="java:/S2JNETDatasource" />
                <packages >
                     <package name="jnet.emtest.*"  />
                </packages>
           </test>
      </suit> 
      



      seam will reinitialise on every test class (scan for components, etc) which takes some time.


      Is there anyway to get seam to just initialise once?


      Thanks


      Tom