3 Replies Latest reply on May 28, 2013 12:23 PM by djangofan

    Using Arquillian Drone: trouble following a tutorial I found on the net

    djangofan

      I am having trouble setting up a basic Arquillian Drone example and hoping someone can give me some insight to get it going.  I'm using Eclipse J2EE Juno with

      the M2E plugin and JDK1.7.  Project is set to compile at 1.7 level.

       

      My project can be found here:

       

      https://github.com/djangofan/arquillian-drone

       

      I don't know why, but Eclipse/Maven cannot successfully build this simple project because of a missing class that I cannot locate.

       

      Here is the screenshot of the problem I am having:

       

      Untitled.png

        • 1. Re: Using Arquillian Drone: cant find class javax.enterprise.inject.Model
          djangofan

          Ok, I was able to solve it with these missing dependencies:

           

          <dependency>

                  <groupId>javax.enterprise</groupId>

                  <artifactId>cdi-api</artifactId>

                  <version>1.1-20130403</version>

                  </dependency>       

                  <dependency>

          <groupId>javax.faces</groupId>

          <artifactId>jsf-api</artifactId>

          <version>2.1</version>

                  </dependency>       

          <dependency>

                 <groupId>xalan</groupId>

                 <artifactId>xalan</artifactId>

                 <version>2.7.1</version>

          </dependency>

           

           

          Still having trouble following this tutorial:  http://arquillian.org/guides/functional_testing_using_drone/

           

          I think I am close to getting it working but having some pains trying to understand how Jboss starts, deploys, and listens for Selenium tests.  I am an expert Selenium user but having trouble understanding the Arquillian side of it.  Can anyone help?

          • 2. Re: Using Arquillian Drone: cant find class javax.enterprise.inject.Model
            bmajsak

            Can anyone help?

            Sure, what is the problem now?

            • 3. Re: Using Arquillian Drone: cant find class javax.enterprise.inject.Model
              djangofan

              It is hard to describe.  If you checkout my project and "run as a JUnit test" or execute "mvn.bat test" , you would see that the unit tests don't start correctly.   I will reply with more information on the error later , after I get some more time to get into it again.  Its basically some kind of  a problem with the configuration of the tests.   I tried to keep the project as simple as possible in order to attract help on this.