{"id":50680508,"url":"https://github.com/thorvg/thorvg.web-test","last_synced_at":"2026-06-08T18:04:52.340Z","repository":{"id":208763245,"uuid":"718933111","full_name":"thorvg/thorvg.web-test","owner":"thorvg","description":"Web-based ThorVG Test Tool","archived":false,"fork":false,"pushed_at":"2026-06-04T08:22:17.000Z","size":7892,"stargazers_count":7,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-06-04T10:10:38.421Z","etag":null,"topics":["lottie","test","test-automation","thorvg","vercel"],"latest_commit_sha":null,"homepage":"https://thorvg-test-automation.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thorvg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-11-15T04:46:57.000Z","updated_at":"2026-06-04T08:22:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"713048c5-ca15-45a7-bcb8-c047f1c04abd","html_url":"https://github.com/thorvg/thorvg.web-test","commit_stats":null,"previous_names":["thorvg/thorvg.test-automation","thorvg/thorvg.web-test"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thorvg/thorvg.web-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thorvg%2Fthorvg.web-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thorvg%2Fthorvg.web-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thorvg%2Fthorvg.web-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thorvg%2Fthorvg.web-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thorvg","download_url":"https://codeload.github.com/thorvg/thorvg.web-test/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thorvg%2Fthorvg.web-test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34073848,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["lottie","test","test-automation","thorvg","vercel"],"created_at":"2026-06-08T18:04:52.007Z","updated_at":"2026-06-08T18:04:52.333Z","avatar_url":"https://github.com/thorvg.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ThorVG Web Test\n\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"550\" height=\"auto\" src=\"https://github.com/thorvg/thorvg.site/blob/main/readme/logo/animated_brand.svg\"\u003e\n\u003c/p\u003e\n\nThorVG Web Test is a comprehensive rendering test tool designed for the ThorVG Engine. This versatile tool operates seamlessly as both a Graphical User Interface (GUI) and a Command-Line Interface (CLI). Its primary function is to identify rendering errors by performing a meticulous canvas bitmap comparison automatically.\n\n## Key Features\n\n### Dual Interface Capability\nThe tool is equipped with both a Graphical User Interface (GUI) and a Command-Line Interface (CLI), providing flexibility for different testing environments and user preferences.\n\n### Automated Rendering Error Detection\nThorVG Web Test streamlines the testing process by automatically detecting rendering errors. Through a sophisticated canvas bitmap comparison, it quickly identifies discrepancies, ensuring the reliability and accuracy of rendered images.\n\n## How It Works\n\n### Workflow\nThis figure illustrates a brief workflow for ThorVG Web Test.\u003c/br\u003e\n\n![image](https://github.com/thorvg/thorvg.web-test/assets/3711518/37ea8cf9-6329-445d-9c76-73665c66d4b0)\n\n### GUI\nIn GUI mode, developers benefit from a user-friendly interface, allowing them to interact with the tool effortlessly. The graphical representation aids in visualizing rendering errors, making the debugging process more intuitive.\n- [Try it out](https://thorvg-web-test.vercel.app)\n\n### CLI\nFor a streamlined and automated testing workflow, the Command-Line Interface is ideal. It facilitates integration into automated testing pipelines and continuous integration systems.\n\n```sh\n$npm i -g ./cli # in thorvg.web-test\n\n$tvg-cli /path/to/target-dir\n\n$open result.pdf # open the summarized PDF\n```\n\n```\nOptions:\n    -E  Run automatic classification after test\n    -D  Debug Mode, test with GUI, CLI at same time\n    -V  Verbose, log all\n\n    Target:\n        The directory path where `.json` files are located,\n        at least one of valid lottie json has to be provided.\n```\n\n## ThorVG CI Integration (TBD)\n\nTo enhance the robustness of ThorVG, we plan to integrate test automation using ThorVG. The following figure illustrates a concise workflow for ThorVG's Continuous Integration (CI) test automation.\n\n![image](https://github.com/thorvg/thorvg.web-test/assets/3711518/a15c3458-2d2c-4c1e-bd01-c12217eba377)\n\n## Review with PDF\n\nUpon completion of the test, the system ensures a seamless experience for result retrieval. You will receive a PDF document containing the detailed test results, allowing for easy inspection and review.\n\n- **GUI**: The GUI mode simplifies the process further by automatically opening the PDF in a new tab. This user-friendly feature ensures immediate visibility of the test outcomes, enhancing the efficiency of result assessment.\n\n- **CLI**: In CLI mode, the system generates a file named result.pdf in your current working directory. This approach provides a straightforward and organized means of accessing and storing the test results for further analysis or archival purposes.\n\n\u003cp align=\"center\"\u003e\n    \u003cimg width=\"800\" height=\"auto\" src=\"./docs/pdf-example.png\"\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthorvg%2Fthorvg.web-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthorvg%2Fthorvg.web-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthorvg%2Fthorvg.web-test/lists"}