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 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. 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

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

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.3b0.tar.gz (9.7 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.3b0-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for teamscalerobotplugin-0.0.3b0.tar.gz
Algorithm Hash digest
SHA256 76fdcada26abde3eb7e4015310169a166b320065f69dcdc2619e4b2fa96ea5e6
MD5 cad9c7c111ef5efc940706e52e1b88cf
BLAKE2b-256 ad43261a3e95b3073b3891d600a327aa5a4c6d805c97889b4e92dbc03b58c8cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for teamscalerobotplugin-0.0.3b0-py3-none-any.whl
Algorithm Hash digest
SHA256 6e52d389132795ac606443097efb915312d7777de9e34d0120dee3ee0bc24acb
MD5 67e447cfb240a50eaba0d93741ddb3c9
BLAKE2b-256 f2caf6a453856f8183f801f9e03645f1609b836bd18449b0d99beb0473474f8a

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