Issue by running a SeamTest
dotnetmobile Jun 13, 2010 4:25 AMI am developing a Web project with seam 2.1 which is available at
http://code.google.com/p/ezmanager.
I have created a SeamTest for testing a specific web page:
Toe test it I have installed TestNG under eclipse.
Then I have created a debug configuration under testNG to select the test class BaseStatusListPageTest and the method testConnection.
By trying to debug it I get the following errors. Could you please help me to set up correctly the test?
------------------------------------------------------- [Parser] Running: /tmp/testng-eclipse/testng-customsuite.xml ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Described: name=BeanDeployer state=PreInstall java.lang.RuntimeException: java.lang.reflect.UndeclaredThrowableException ... FAILED CONFIGURATION: @BeforeSuite startSeam org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): *** CONTEXTS IN ERROR: Name -> Error SARDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class; ServiceDeploymentDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class; ServiceClassLoaderDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class; BeanDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class; ServiceDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class; BeanMetaDataDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class; KernelDeploymentDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class; at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:576) at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:559) at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:149) at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:183) at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:195) at org.jboss.seam.mock.EmbeddedBootstrap.startAndDeployResources(EmbeddedBootstrap.java:11) at org.jboss.seam.mock.AbstractSeamTest.startJbossEmbeddedIfNecessary(AbstractSeamTest.java:1024) at org.jboss.seam.mock.AbstractSeamTest.startSeam(AbstractSeamTest.java:915) at org.jboss.seam.mock.SeamTest.startSeam(SeamTest.java:58) ... Removed 15 stack frames SKIPPED CONFIGURATION: @BeforeClass setupClass SKIPPED CONFIGURATION: @BeforeMethod begin SKIPPED CONFIGURATION: @AfterMethod end SKIPPED CONFIGURATION: @AfterClass cleanupClass SKIPPED: testConnection =============================================== org.ezmanager.test.BaseStatusListPageTest Tests run: 1, Failures: 0, Skips: 1 Configuration Failures: 1, Skips: 4 =============================================== =============================================== ezmanager-test Total tests run: 1, Failures: 0, Skips: 1 Configuration Failures: 1, Skips: 5 ===============================================