Hi Jon,

I was just thinking of starting with writing CDI examples and was wondering
how write tests. Got reminded of this adaptor. Been having fun, playing
around with this.. :) 

These are a few things that I observed,

The example test is now failing with  http://tinypaste.com/af837d
http://tinypaste.com/af837d   in the snapshot version of Arquillian. On
changing it to 1.0.0.Alpha5 version it works fine. 

Had to include the jboss-repo to the pom to get the Arquillian artifacts..
Looks like they haven't got it published in maven central yet.

 <repository>
          <id>jboss-public-repository-group</id>
          <name>JBoss Public Maven Repository Group</name>
         
<url>https://repository.jboss.org/nexus/content/groups/public-jboss/</url>
          <layout>default</layout>
          <releases>
            <enabled>true</enabled>
            <updatePolicy>never</updatePolicy>
          </releases>
          <snapshots>
            <enabled>true</enabled>
            <updatePolicy>never</updatePolicy>
          </snapshots>
        </repository>


And one doubt.. How would we run Arquillian tests using this adaptor.. ? By
adding this as a dependency in whichever project we write tests ?

I tried it this way.. and got a error on annotating the class with
@RunWith(Arquillian.class) with Arquillian.class not in classpath.

Commented out the test scope to have the tests running

<dependency>
        <groupId>org.jboss.arquillian</groupId>
        <artifactId>arquillian-junit</artifactId>
        <version>${version.arquillian}</version>
        
      </dependency>

Will play around more with the adaptor..

-Vishwa


--
View this message in context: 
http://openejb.979440.n4.nabble.com/Arquillian-adaptor-for-TomEE-tp3541150p3625145.html
Sent from the OpenEJB Dev mailing list archive at Nabble.com.

Reply via email to