Open source, self hosted solution for visual testing and managing results of visual testing.
Project description
Python SDK for Visual Regression Tracker
Install
pip install visual_regression_tracker
Usage
Import
from visual_regression_tracker import VisualRegressionTracker, Config, TestRun
Configure connection
config = Config(
# apiUrl - URL where backend is running
apiUrl='http://localhost:4200',
# project - Project name or ID
project='Default project',
# apiKey - User apiKey
apiKey='tXZVHX0EA4YQM1MGDD',
# branch - Current git branch
branchName='develop',
)
vrt = VisualRegressionTracker(config)
Send image
vrt.track(TestRun(
# Name to be displayed
# Required
name='Image name',
# Base64 encoded string
# Required
imageBase64=image,
# Allowed mismatch tollerance in %
# Optional
# Default: 1%
diffTollerancePercent=0,
# Optional
os='Mac',
# Optional
browser='Chrome',
# Optional
viewport='800x600',
# Optional
device='PC',
))
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
Close
Hashes for visual_regression_tracker-0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7093bc4daaf973df11f9baef3d38153bbfba60d0420041687128c6182e33177 |
|
MD5 | 469705fe612eb47944664a448b8f28f8 |
|
BLAKE2b-256 | ac69b306d9931de688c0d285280679741b5d666215dd9071c0fe4d83113667cc |
Close
Hashes for visual_regression_tracker-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 237a887abf7d3bd5cce9a0a112f11d63b6dd4333be39b8409bb1086b17013cc9 |
|
MD5 | 26d20991ec6773eb642ad9767fb781c3 |
|
BLAKE2b-256 | c11fa71d3e60fdf5fdf945111fff12e8f6251f4a884d3560b7b7f60272d06231 |