Compare HTML files by rendered output
Project description
htmlcmp
Tool to compare (generated) HTML files visually and automatically using Selenium.
Provides various entry points to run:
compare-htmlis a CLI tool to compare two directory structures containing HTML filescompare-html-serverstarts a webserver and allows to inspect differences manuallyhtml-render-diffrenders two HTML files and produces imageshtml-tidyallows to run HTML tidy on a directory
Used for regression testing in https://github.com/opendocument-app/OpenDocument.core.
Install via PyPI
pip install htmlcmp
Download and run the docker image
docker pull ghcr.io/opendocument-app/odr_core_test
docker run -ti \
-v $(pwd):/repo \
-p 8000:8000 \
ghcr.io/opendocument-app/odr_core_test \
compare-html-server /repo/REFERENCE /repo/MONITORED --compare --driver firefox --port 8000
Manually build the docker image
docker build --tag odr_core_test test/docker
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
htmlcmp-1.0.12.tar.gz
(9.4 kB
view details)
File details
Details for the file htmlcmp-1.0.12.tar.gz.
File metadata
- Download URL: htmlcmp-1.0.12.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
39c0e83061839f56825f1da359de88dee7693e4e9a5a1c2b22f0c08c73573034
|
|
| MD5 |
7b25f9c39b05b0fb2f6da738892cda10
|
|
| BLAKE2b-256 |
946169add4cff6865ab12eb64662146656b73a87ffdc977996bd332da5d28c6b
|
Provenance
The following attestation bundles were made for htmlcmp-1.0.12.tar.gz:
Publisher:
pypi.yaml on opendocument-app/compare-html
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
htmlcmp-1.0.12.tar.gz -
Subject digest:
39c0e83061839f56825f1da359de88dee7693e4e9a5a1c2b22f0c08c73573034 - Sigstore transparency entry: 220066866
- Sigstore integration time:
-
Permalink:
opendocument-app/compare-html@28b82fd0188acf1833965d6abc1925ec559dff49 -
Branch / Tag:
refs/tags/v1.0.12 - Owner: https://github.com/opendocument-app
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yaml@28b82fd0188acf1833965d6abc1925ec559dff49 -
Trigger Event:
release
-
Statement type: