{"id":18449479,"url":"https://github.com/litehtml/litehtml-tests","last_synced_at":"2026-03-19T04:26:26.441Z","repository":{"id":256307094,"uuid":"854885501","full_name":"litehtml/litehtml-tests","owner":"litehtml","description":"This repository contains tests for litethtml","archived":false,"fork":false,"pushed_at":"2025-04-03T22:38:00.000Z","size":42958,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-16T08:35:37.374Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/litehtml.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-09-09T23:48:40.000Z","updated_at":"2025-04-03T22:38:03.000Z","dependencies_parsed_at":"2025-04-15T18:48:34.803Z","dependency_job_id":null,"html_url":"https://github.com/litehtml/litehtml-tests","commit_stats":null,"previous_names":["litehtml/litehtml-tests"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litehtml%2Flitehtml-tests","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litehtml%2Flitehtml-tests/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litehtml%2Flitehtml-tests/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litehtml%2Flitehtml-tests/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/litehtml","download_url":"https://codeload.github.com/litehtml/litehtml-tests/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249269130,"owners_count":21241060,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T07:20:16.046Z","updated_at":"2026-01-24T03:12:10.157Z","avatar_url":"https://github.com/litehtml.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tests for litehml\n\nThis repository contains tests for [litehtml](https://github.com/litehtml/litehtml).\n\nRendering tests depend on running environment. Currently tested and supported Linux distro: Ubuntu 24.04, Fedora 40.\nThe best way to run tests is using docker image. We've prepared Dockerfile to create the docker image, or use the\nscript ```run_render_tests.sh```. This script creates the docker image, build tests and run them.\n\n## Running tests in the docker container\n\nTo run tests in the docker container run the script ```run_render_tests.sh```:\n\n```shell\n./run_render_tests.sh /path/to/litehtml] 4\n```\n\nArguments:\n\n1. Real path to the litehtml cloned repository\n2. Number of threads to use for ```make``` and ```ctest``` commands\n\nScript will create the docker image and run building and testing inside container.\n\n## Running test locally\n\n### Pre-requirements\n\nTo build tests locally the following libraries are required: gdk-3.0 cairo pango pangocairo fontconfig\nIf you are using Ubuntu runs command to install required packages:\n\n```shell\napt-get install -yq --no-install-recommends --no-install-suggests libcairo2-dev libpango1.0-dev libgtk-3-dev\n```\n\n### Build tests\n\nTo build tests locally run commands:\n\n```shell\nmkdir build\ncd build\ncmake -DLITEHTML_PATH=/path/to/litehtml ../\nmake\nctest\n```\nReplace ```/path/to/litehtml``` with real path to the cloned\n\n### Build and run tests from the litehtml repository\n\nIt is possible to run tests from [litehtml](https://github.com/litehtml/litehtml). Commands:\n\n```shell\nmkdir build\ncd build\ncmake -DLITEHTML_BUILD_TESTING=ON ../\nmake\nctest --test-dir litehtml-tests-build\n```\n\n**Note**: litehtml uses only predefined ```litehtml-tests``` commit\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flitehtml%2Flitehtml-tests","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flitehtml%2Flitehtml-tests","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flitehtml%2Flitehtml-tests/lists"}