Hi Vishwa

Thanks for checking out the adaptor, it would be great to take it further.
Hopefully I'll be able to do some more work on it myself next week. We can
definitely add the JBoss repo to the POM (I think I have it in my
settings.xml).

In terms of the dependencies, I've tried to keep them to a minimum, but the
examples I've seen, profiles are added to the POM to add the arquillian and
container dependencies. Then you can switch which container you're testing
with by using a different Maven profile.

I think it would be useful to setup an example in the sandbox along with the
adaptor (Moviefun perhaps) which uses the TomEE Arquillian adaptor and maybe
something like Selenium to run some tests.

Jon

On Sat, Jun 25, 2011 at 11:40 PM, stratwine <[email protected]> wrote:

> 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