[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1371) Unable to use TestNG groups with SeamTest

Samuel Mendenhall (JIRA) jira-events at lists.jboss.org
Wed May 30 16:48:09 EDT 2007

Unable to use TestNG groups with SeamTest

                 Key: JBSEAM-1371
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1371
             Project: JBoss Seam
          Issue Type: Bug
          Components: Test Harness
    Affects Versions: 1.2.1.GA
            Reporter: Samuel Mendenhall
            Priority: Minor

testng xml in build.xml
<testng outputdir="${basedir}/test-report" groups="SomeGroups">
                        <classfileset dir="classes" includes="**/*.class" />
                        <classpath path="${test.dir}" />
                        <classpath path="${embedded-ejb3.dir}" />
                        <classpath refid="build.classpath" />

public class EmptyTest extends SeamTest {

	@Test(groups = {"SomeGroups"})
	public void testNothing() throws Exception {
		new FacesRequest() {
			protected void invokeApplication() throws Exception {
				assert true;

	public void testNothingAgain() throws Exception {
		assert true;

ant test

[testng] java.lang.NullPointerException
[testng] at org.jboss.seam.mock.SeamTest$Request.run(SeamTest.java:418)
[testng] at com.mydomain.convotest.EmptyTest.testNothing(EmptyTest.java:10)

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list