CDI TCK Community Documentation

- Prev
- Next

## Preface

This guide describes how to download, install, configure, and run the Technology Compatibility Kit (TCK) used to verify the compatibility of an implementation of the Jakarta Contexts and Dependency Injection.

The CDI TCK is built atop TestNG framework and Arquillian platform. The CDI TCK uses the Arquillian version 1.7.0.Alpha1 to execute the test suite.

The CDI TCK is provided under Apache Public License 2.0.

## 1. Who Should Use This Book

This guide is for implementors of the Jakarta Context and Dependency Injection 3.0 technology to assist in running the test suite that verifies the compatibility of their implementation.

## 2. Before You Read This Book

Before reading this guide, you should familiarize yourself with the Jakarta EE programming model, specifically the Jakarta Enterprise Beans (EJB) 4.0 and the Jakarta Contexts and Dependency Injection 3.0 specifications. A good resource for the Jakarta EE programming model is the Jakarta EE web site.

The CDI TCK is based on the Jakarta Context and Dependency Injection technology specification. Information about the specification, including links to the specification documents, can be found on the CDI page.

Before running the tests in the CDI TCK, read and become familiar with the Arquillian testing platform. A good starting point could be a series of Arquillian Guides.

## 3. How This Book Is Organized

If you are running the CDI TCK for the first time, read Chapter 2, Introduction (CDI TCK) completely for the necessary background information about the TCK. Once you have reviewed that material, perform the steps outlined in the remaining chapters.

- Chapter 2, Introduction (CDI TCK) gives an overview of the principles that apply generally to all Technology Compatibility Kits (TCKs), outlines the appeals process and describes the CDI TCK architecture and components. It also includes a broad overview of how the TCK is executed and lists the platforms on which the TCK has been tested and verified.
- Chapter 3, Appeals Process explains the process to be followed by an implementor, who wish to challenge any test in the TCK.
- Chapter 4, Installation explains where to obtain the required software for the CDI TCK and how to install it. It covers both the primary TCK components as well as tools useful for troubleshooting tests.
- Chapter 5, Configuration details the configuration of the JBoss Test Harness, how to create a TCK runner for the TCK test suite and the mechanics of how an in-container test is conducted.
- Chapter 6, Reporting explains the test reports that are generated by the TCK test suite and introduces the TCK audit report as a tool for measuring the completeness of the TCK in testing the CDI specification and in understanding how testcases relate to the specification.
- Chapter 8, Executing the Test Suite documents how the TCK test suite is executed. It covers both modes supported by the TCK, standalone and in-container, and shows how to dump the generated test artifacts to disk.
- Chapter 9, Running Tests in Eclipse shows how to run individual tests in Eclipse and advises the best way to setup your Eclipse workspace for running the tests.
- Chapter 10, Debugging Tests in Eclipse builds on Chapter 9, Running Tests in Eclipse by detailing how to debug individual tests in Eclipse.

- PrevChapter 1. Technology Compatibility Kit Reference...
- Top of page
- Front page
- NextPart I. Getting Acquainted with the TCK