Help

Controls

PermLinkWikiLink

Built with Seam

You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.

Forum: Seam Users Forum ListTopic List
01. May 2008, 18:18 CET | Link

What is the status on using our own TestNG groups with SeamTest testing?

Jira Ticket 1371 refers to this issue and it is closed but I really need to know the correct way to set it up.

On the ticket, Pete Muir said

User reports this works with new test structure.

I don't particularly know what that means. Was the following code the correct way to set it up?


@Test(groups="base")
public class SomeBaseTest
extends SeamTest
{
    @BeforeTest
    public void begin() {
      super.begin();
    }

    @AfterTest
    public void end() {
      super.end();
    }

    @BeforeClass
    public void init() throws Exception {
       super.init();
    }

    @AfterClass
    public void cleanup() throws Exception
    {
      super.cleanup();
    }
} 

 
Dan Hinojosa Seam :: Groovy :: Swing Developer/Consultant/Instructor Albuquerque, NM
1 Reply:
09. May 2008, 11:17 CET | Link

You need to use the test structure from 2.1 series (that isn't it).

 

Read about how to report a bug.