[WORK IN PROGRESS - NOT USABLE YET], (*1)
As you can see, this is heavily based on https://github.com/bookitcom/codeception-testrail, (*2)
Codeception TestLink Integration Module
This Codeception extension provides functionality for tests to report results to
TestLink using the TestLink Rest API v2., (*3)
Note: The extension currently only supports the Cest Codeception test format. It cannot report PHPUnit or Cept
tests., (*4)
Installation
The easiest way to install this plugin is using Composer. You can install module
by running:, (*5)
composer require --dev oneko/codeception-testlink
Theory of Operation
TODO, (*6)
Configuration
The extension requires four configuration parameters to be set (user, apikey, project). There are additional
configuration options for overriding statuses and disabling the connection to TestLink., (*7)
To enable the extension the following can be added to your codeception.yml config file:, (*8)
extensions:
enabled:
- OnekO\Codeception\TestLink\Extension
Global configuration options (like the user and apikey) should also be set in the codeception.yml config:, (*9)
extensions:
config:
OnekO\Codeception\TestLink\Extension:
enabled: false # When false, don't communicate with TestLink (optional; default: true)
user: 'testlink@oneko.org' # A TestLink user (required)
apikey: 'REDACTED' # A TestLink API Key (required)
url: 'https://myurl.testlink.com' # The base URL for you TestLink Instance
project: 9 # TestLink Project ID (required)
status:
success: 1 # Override the default success status (optional)
skipped: 11 # Override the default skipped status (optional)
incomplete: 12 # Override the default incomplete status (optional)
failed: 5 # Override the default failed status (optional)
error: 5 # Override the default error status (optional)
License
MIT, (*10)
(c) OnekO https://oneko.org 2018, (*11)