0 Replies Latest reply on Nov 17, 2011 10:28 AM by Vikas B

    Any success with running Arquillian test program?

    Vikas B Newbie

      Trying to run simple test program from eclipse  but getting this exception : Any clue ?



      FAILED: shouldBeAbleToInjectResource




      ArquillianServletRunner not found. Could not determine ContextRoot from ProtocolMetadata, please contact DeployableContainer developer.




      test Program :


      package com.acme.resource;

      import javax.annotation.Resource;
      import javax.mail.Session;

      import org.jboss.arquillian.api.Deployment;
      import org.jboss.arquillian.testng.Arquillian;
      import org.jboss.shrinkwrap.api.ShrinkWrap;
      import org.jboss.shrinkwrap.api.spec.JavaArchive;
      import org.jboss.shrinkwrap.api.spec.WebArchive;
      import org.testng.Assert;
      import org.testng.annotations.Test;

      * ResourcesTest
      * @author <a href="Aslak" _mce_href="mailto:aslak@conduct.no">Aslak">mailto:aslak@conduct.no">Aslak Knutsen</a>
      * @version $Revision: $
      @Test(groups = "integration")
      public class InjectionTestCase extends Arquillian
         public static JavaArchive createDeployment() {
          return ShrinkWrap.create(JavaArchive.class);
         public void shouldBeAbleToInjectResource() throws Exception {