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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76fdcada26abde3eb7e4015310169a166b320065f69dcdc2619e4b2fa96ea5e6
|
|
| MD5 |
cad9c7c111ef5efc940706e52e1b88cf
|
|
| BLAKE2b-256 |
ad43261a3e95b3073b3891d600a327aa5a4c6d805c97889b4e92dbc03b58c8cb
|
File details
Details for the file teamscalerobotplugin-0.0.3b0-py3-none-any.whl.
File metadata
- Download URL: teamscalerobotplugin-0.0.3b0-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e52d389132795ac606443097efb915312d7777de9e34d0120dee3ee0bc24acb
|
|
| MD5 |
67e447cfb240a50eaba0d93741ddb3c9
|
|
| BLAKE2b-256 |
f2caf6a453856f8183f801f9e03645f1609b836bd18449b0d99beb0473474f8a
|