CDI TCKCommunity Documentation

Technology Compatibility Kit Reference Guide for JSR 365: Contexts and Dependency Injection for Java 2.0

Specification Lead: Red Hat Inc.


Preface
1. Who Should Use This Book
2. Before You Read This Book
3. How This Book Is Organized
I. Getting Acquainted with the TCK
1. Introduction (CDI TCK)
1.1. TCK Primer
1.2. Compatibility Testing
1.2.1. Why Compatibility Is Important
1.3. Compatibility Requirements
1.3.1. Definitions
1.3.2. Rules for Contexts and Dependency Injection for Java Version 2.0 Products
1.4. About the CDI TCK
1.4.1. CDI TCK Specifications and Requirements
1.4.2. CDI TCK Components
1.5. Libraries for Contexts and Dependency Injection for Java Version 2.0
2. Appeals Process
2.1. Who can make challenges to the TCK?
2.2. What challenges to the TCK may be submitted?
2.3. How these challenges are submitted?
2.4. How and by whom challenges are addressed?
2.5. How accepted challenges to the TCK are managed?
3. Installation
3.1. Obtaining the Software
3.2. The TCK Environment
3.3. Eclipse Plugins
3.3.1. TestNG Plugin
3.3.2. Maven Plugin (m2e)
4. Configuration
4.1. TCK Properties
4.2. Arquillian settings
4.3. The Porting Package
4.4. Using the CDI TCK with the Java EE Web Profile
4.5. Configuring TestNG to execute the TCK
4.6. Configuring your build environment to execute the TCK
4.7. Configuring your application server to execute the TCK
5. Reporting
5.1. CDI TCK Coverage Metrics
5.2. CDI TCK Coverage Report
5.2.1. CDK TCK Assertions
5.2.2. Producing the Coverage Report
5.2.3. TestNG Reports
II. Executing and Debugging Tests
6. Running the Signature Test
6.1. Obtaining the sigtest tool
6.2. Running the signature test
6.3. Forcing a signature test failure
7. Executing the Test Suite
7.1. The Test Suite Runner
7.2. Running the Tests In Standalone Mode
7.3. Running the Tests In the Container - Core and EE parts
7.4. Running the Tests In the Container - SE part
7.5. Dumping the Test Archives
8. Running Tests in Eclipse
8.1. Leveraging Eclipse’s plugin ecosystem
8.2. Readying the Eclipse workspace
8.3. Running a test in standalone mode
8.4. Running integration tests
9. Debugging Tests in Eclipse
9.1. Debugging a standalone test
9.2. Debugging an integration test
9.2.1. Attaching the IDE debugger to the container
9.2.2. Launching the test in the debugger