Skip to main content

A plugin that allows integration into the RobotFramework in order to allow testwise coverage recording for TIA.

Project description

Teamscale Robot Plugin

This plugin allows you to record testwise coverage for the RobotFramework.

Installation

You can install this package via pip install teamscalerobotplugin

Usage

You can specify the plugin via the --listener option when executing your test suite.

robot --listener teamscalerobotplugin.TiaRobotListener;partition=PARTITION MyTests.robot

There are a number of parameters you can use to customize the plugin:

  • partition
    • Mandatory. The partition in Teamscale for which to retrieve impacted tests and to which to upload testwise coverage. Must be the same partition as supplied to the JaCoCo agent.
  • url
    • The URL on which the JaCoCo Agent is listening.
    • DEFAULT: http://localhost:7001/
  • log_file
    • The name of the file that should be used to write logs
    • DEFAULT: ./teamscale-robot-plugin.log
  • log_level
    • The level at which events should be logged to the log file. Errors are always logged to the console as well.
    • DEFAULT: INFO
  • partial
    • Whether the produced testwise coverage report is partial or not. If not, then all tests not contained in the report are deleted from Teamscale.
    • DEFAULT: true

Examples

# Using default values
robot --listener "teamscalerobotplugin.TiaRobotListener;partition=Robot Tests" MyTests.robot
# Enabling debug logs
robot --listener "teamscalerobotplugin.TiaRobotListener;partition=Robot Tests;log_level=DEBUG" MyTests.robot
# Setting a custom URL and log file
robot --listener "teamscalerobotplugin.TiaRobotListener;partition=Robot Tests;url=http://localhost:9999/;log_file=mylog.log" MyTests.robot
# Setting a custom URL and making the upload partial
robot --listener "teamscalerobotplugin.TiaRobotListener;partition=Robot Tests;url=http://localhost:9999/;partial=true" MyTests.robot

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

teamscalerobotplugin-0.0.4b0.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

teamscalerobotplugin-0.0.4b0-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file teamscalerobotplugin-0.0.4b0.tar.gz.

File metadata

  • Download URL: teamscalerobotplugin-0.0.4b0.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.12

File hashes

Hashes for teamscalerobotplugin-0.0.4b0.tar.gz
Algorithm Hash digest
SHA256 15f75ff680b8dd8ec61ab774ded2433e4842773ba9c17760267cf0f448988469
MD5 30bfa4d4fad301a17e555268d148af1a
BLAKE2b-256 f2e804d76e53508f8e7229a0f05a913e3a332f7d88a511f1dbf42a2403b00b46

See more details on using hashes here.

File details

Details for the file teamscalerobotplugin-0.0.4b0-py3-none-any.whl.

File metadata

File hashes

Hashes for teamscalerobotplugin-0.0.4b0-py3-none-any.whl
Algorithm Hash digest
SHA256 953b51e3636c08fc56e9e7a1353b01bc936ccf01b558bfedf56f6ce21c028057
MD5 3a53108b28c79797d961946ed0b80ded
BLAKE2b-256 0d28b89c93bf9d5faf0caade0880f6dc65d8add2440626964f6a654737768bb6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page