Chapter 9. Appendix

Table of Contents

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?

Adding attachments to your test results

Each test result file is automagically attached to its automated test case in TestLink. That is the default behavior in the plug-in. You can extend it, only if you are using TAP. You will have to create a YAMLish following the example below (it is important that you encode the file content in Base64).

1..2
ok 1
not ok 2 - br.eti.kinoshita.selenium.TestListVeterinarians#testGoogle
  ---
  extensions:
	  Files:
	      /tmp/screenshot3562328890173159732.png:
	        File-Location: /tmp/screenshot3562328890173159732.png
	        File-Title: screenshot3562328890173159732.png
	        File-Description: Main page
	        File-Size: 114542
	        File-Name: screenshot3562328890173159732.png
	        File-Content: "iVBORw0KGgoAAAANSUhEUgAAA+IAAAJqCAYAAACvjvpKAAAgAElEQVR4nOy9d1RU5/r3ff543+dZ\r\
                \n613v8zy/95RfjjkmFmwgVXrvvffee1PBjtKbCoJ0qaIodqMYe8EWwRo1atQkRmOixkTFAkYFvu8f\r\
                ...
                ...
            File-Type: image/png

		  

An issue that wasn't solved yet is that if you are running your job in a distributed environment, then the plug-in won't be able to find the attachments for your test result.