Description of problem: Seam2.3 seam-gen doesn't generate working test classes with "seam new-action" or "seam new-form". The new-action generates test that mixes TestNG and JUnitSeamTest: package com.mydomain.myproject.test; import org.testng.annotations.Test; import org.jboss.seam.mock.JUnitSeamTest; public class FooActionTest extends JUnitSeamTest { @Test public void test_fooAction() throws Exception { new FacesRequest("/fooAction.xhtml") { @Override protected void invokeApplication() { //call action methods here invokeMethod("#{fooAction.fooAction}"); } }.run(); } } (note that this still won't work as the arquillian annotations and the deployment method is missing) also, the src/test/readme.txt file in the generated project still mentions TestNG and JBoss Embedded.
we are not supporting Test generation in seam-gen
It would probably be better if no tests were generated then.