Jenkins TestLink Plug-in Tutorial

Bruno P. Kinoshita

César Fernandes de Almeida

Flóreal Toumikian

French Translation. 

Olivier Renault

French Translation 

Oliver Merkel

Review and authorship on parts of this tutorial. German translation. 

Abstract

The Jenkins TestLink Plug-in Tutorial is intended to provide a better understanding on how to use the plug-in to integrate Jenkins and TestLink. It is an Open Source project, so contributions and suggestions are welcome.


Table of Contents

1. An Introduction to Jenkins
2. An Introduction to TestLink
3. Jenkins and TestLink Integration
4. TestLink Configuration
Installing TestLink
Creating a Test Project
Creating and assigning a Custom Field
Specifying Test Suite and Test Cases
Create a Test Plan and add the Test Cases
5. Jenkins Configuration
Installing Jenkins
Installing and configuring Jenkins TestLink Plug-in
Creating a job in Jenkins
TestLink Configuration
Test Execution
Result Seeking Strategy
Explaining the Job configuration parameters
TestLink Version
Test Project Name
Test Plan name
Build Name
Single Build Steps
Iterative Test Build Steps
Test Result Seeking Strategies
Include pattern
Key Custom Field
Attach TestNG XML
Mark skipped test as Blocked
Environment variables
6. Executing Automated Test Cases
7. Result Seeking Strategies
JUnit
JUnit case name
JUnit class name
JUnit method name
JUnit suite name
TestNG
TestNG class name
TestNG method name
TestNG suite name
TAP - Test Anything Protocol
TAP file name
8. Advantages of using Jenkins TestLink Plug-in
9. Appendix
Adding attachments to your test results
Using Platforms
Plug-in behavior in distributed environments
How to use the plug-in with SSL or basic authentication?
Bibliography

List of Tables

5.1. TestLink Configuration settings explanation
5.2. Test Execution settings explanation
5.3. Result Seeking Strategy settings explanation