Arquillian TCK Container

TCK for the Container Adapters

License

License

Categories

Categories

Arquillian Application Testing & Monitoring Container
GroupId

GroupId

org.arquillian.tck.container
ArtifactId

ArtifactId

arquillian-tck-container
Last Version

Last Version

1.0.0.Alpha1
Release Date

Release Date

Type

Type

jar
Description

Description

Arquillian TCK Container
TCK for the Container Adapters
Project Organization

Project Organization

JBoss by Red Hat

Download arquillian-tck-container

How to add to project

<!-- https://jarcasting.com/artifacts/org.arquillian.tck.container/arquillian-tck-container/ -->
<dependency>
    <groupId>org.arquillian.tck.container</groupId>
    <artifactId>arquillian-tck-container</artifactId>
    <version>1.0.0.Alpha1</version>
</dependency>
// https://jarcasting.com/artifacts/org.arquillian.tck.container/arquillian-tck-container/
implementation 'org.arquillian.tck.container:arquillian-tck-container:1.0.0.Alpha1'
// https://jarcasting.com/artifacts/org.arquillian.tck.container/arquillian-tck-container/
implementation ("org.arquillian.tck.container:arquillian-tck-container:1.0.0.Alpha1")
'org.arquillian.tck.container:arquillian-tck-container:jar:1.0.0.Alpha1'
<dependency org="org.arquillian.tck.container" name="arquillian-tck-container" rev="1.0.0.Alpha1">
  <artifact name="arquillian-tck-container" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.arquillian.tck.container', module='arquillian-tck-container', version='1.0.0.Alpha1')
)
libraryDependencies += "org.arquillian.tck.container" % "arquillian-tck-container" % "1.0.0.Alpha1"
[org.arquillian.tck.container/arquillian-tck-container "1.0.0.Alpha1"]

Dependencies

test (5)

Group / Artifact Type Version
org.jboss.arquillian.junit : arquillian-junit-container jar
org.jboss.shrinkwrap.descriptors : shrinkwrap-descriptors-impl-javaee jar
org.jboss.spec.javax.servlet : jboss-servlet-api_3.0_spec jar
javax.enterprise : cdi-api jar
junit : junit jar 4.11

Project Modules

There are no modules declared in this project.

Arquillian Test Compliance Kit

Container TCK

Contain tests to verify common technology integration and core behavior related to implementing a correct Container Adapter.

Maven Setup example

<profile>
    <id>container-tck</id>
    <properties>
        <version.arquillian_core>1.0.3.Final</version.arquillian_core>
        <version.shrinkwrap_descriptors>2.0.0-alpha-4</version.shrinkwrap_descriptors>
        <tck.classes>${project.build.directory}/tck-test-classes</tck.classes>
        <tck.reports>${project.build.directory}/surefire-reports/tck</tck.reports>
    </properties>
    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>org.jboss.arquillian</groupId>
                <artifactId>arquillian-bom</artifactId>
                <version>${version.arquillian_core}</version>
                <scope>import</scope>
                <type>pom</type>
            </dependency>
            <dependency>
                <groupId>org.jboss.shrinkwrap.descriptors</groupId>
                <artifactId>shrinkwrap-descriptors-bom</artifactId>
                <version>${version.shrinkwrap_descriptors}</version>
                <scope>import</scope>
                <type>pom</type>
            </dependency>
        </dependencies>
    </dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.jboss.arquillian.junit</groupId>
            <artifactId>arquillian-junit-container</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.jboss.shrinkwrap.descriptors</groupId>
            <artifactId>shrinkwrap-descriptors-impl-javaee</artifactId>
            <scope>test</scope>
        </dependency>
    </dependencies>
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-dependency-plugin</artifactId>
                <executions>
                    <execution>
                        <id>tck-unpack</id>
                        <phase>process-test-classes</phase>
                        <goals>
                            <goal>unpack</goal>
                        </goals>
                        <configuration>
                            <artifactItems>
                                <artifactItem>
                                    <groupId>org.arquillian.tck.container</groupId>
                                    <artifactId>arquillian-tck-container</artifactId>
                                    <version>1.0.0.Final-SNAPSHOT</version>
                                    <classifier>tests</classifier>
                                    <outputDirectory>${tck.classes}</outputDirectory>
                                </artifactItem>
                            </artifactItems>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <version>2.13</version>
                <executions>
                    <execution>
                        <id>tck-tests</id>
                        <phase>test</phase>
                        <goals>
                            <goal>test</goal>
                        </goals>
                        <configuration>
                            <!-- <groups>org.arquillian.tck.group.EE6</groups> -->
                            <!-- <excludedGroups>org.arquillian.tck.group.EE5</excludedGroups> -->
                            <testClassesDirectory>${tck.classes}</testClassesDirectory>
                            <reportsDirectory>${tck.reports}</reportsDirectory>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</profile>

TODO:

Container Adapters

Core

@Deployment jar / war / ear

@Deployment multiple

ContainerController
	Custom Mode
	Manual Mode	

RunAsClient

@ArquillianResource Deployer (deploy / undeploy)

Context/InitialContext

InContainer

EJB 3.0

@EJB inject Local
@EJB inject Remote
	
jar / ear

EJB 3.1

@EJB inject Local
@EJB inject Remote
	
jar / war / ear

Resource @Resource inject jndi binding

org.arquillian.tck.container

An Innovative Testing Platform for the JVM

Versions

Version
1.0.0.Alpha1