0 Replies Latest reply on Mar 18, 2006 3:03 PM by slawek t

    Testing with @Test(groups=...) annotation

    slawek t Novice

      Hello,

      I tried to test Seam action class using testng annotation @Test(groups="all").

      Snip of my code:


      public class ShowVersionTest extends SeamTest {

      @Test(groups = "all")
      public void testVersion( ) throws Exception {

      new Script( ) {

      @Override
      protected void invokeApplication( ) {
      ...


      It didn't work properly (SeamTest.init() method hasn't been performed before my test class). After I'd removed groups parameter, test passed.

      Is there any way to keep groups parameter with @Test annotation for Seam tests?

      Cheers.
      Slawek