CDI TCKCommunity Documentation

Technology Compatibility Kit Reference Guide for Jakarta Contexts and Dependency Injection


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 Jakarta Contexts and Dependency Injection Version 4.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 Jakarta Contexts and Dependency Injection Version 4.0
2. Appeals Process
2.1. What challenges to the TCK may be submitted?
2.2. How these challenges are submitted?
2.3. How and by whom challenges are addressed?
2.4. 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 Jakarta EE Core Profile
4.5. Using the CDI TCK with the Jakarta EE Web Profile
4.6. Configuring TestNG to execute the TCK
4.7. Configuring your build environment to execute the TCK
4.8. 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 plugin
6.2. Running the signature test
6.3. CDI Lite Signature Tests
6.4. 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. Executing the Lang Model Test Suite
8.1. Recommendation
8.2. Example Weld Test Suite Runner
9. Running Tests in Eclipse
9.1. Leveraging Eclipse’s plugin ecosystem
9.2. Readying the Eclipse workspace
9.3. Running a test in standalone mode
9.4. Running integration tests
10. Debugging Tests in Eclipse
10.1. Debugging a standalone test
10.2. Debugging an integration test
10.2.1. Attaching the IDE debugger to the container
10.2.2. Launching the test in the debugger