{"id":15663029,"url":"https://github.com/perlpunk/yaml-test-matrix","last_synced_at":"2025-04-16T05:49:14.195Z","repository":{"id":141768145,"uuid":"82333062","full_name":"perlpunk/yaml-test-matrix","owner":"perlpunk","description":"Run yaml/yaml-test-suite tests and create HTML matrix","archived":false,"fork":false,"pushed_at":"2024-06-10T21:56:23.000Z","size":4343,"stargazers_count":20,"open_issues_count":5,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-29T05:04:08.089Z","etag":null,"topics":["comparison","html","implementation","test","test-automation","yaml"],"latest_commit_sha":null,"homepage":"https://matrix.yaml.info/","language":"Perl","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/perlpunk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2017-02-17T19:57:03.000Z","updated_at":"2025-03-07T17:56:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"1e3a2269-233e-4b25-871e-d41a09026c6a","html_url":"https://github.com/perlpunk/yaml-test-matrix","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perlpunk%2Fyaml-test-matrix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perlpunk%2Fyaml-test-matrix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perlpunk%2Fyaml-test-matrix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perlpunk%2Fyaml-test-matrix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/perlpunk","download_url":"https://codeload.github.com/perlpunk/yaml-test-matrix/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246379128,"owners_count":20767692,"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":["comparison","html","implementation","test","test-automation","yaml"],"created_at":"2024-10-03T13:35:16.362Z","updated_at":"2025-03-30T20:31:13.152Z","avatar_url":"https://github.com/perlpunk.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# YAML Test Matrix\n\nThis matrix makes use of the [YAML Test Suite](https://github.com/yaml/yaml-test-suite)\nand the [YAML Runtimes](https://github.com/yaml/yaml-runtimes).\n\nIts output is currently saved in the\n[gh-pages branch](https://github.com/yaml/yaml-test-suite/tree/gh-pages)\nof yaml-test-suite.\n\nYou can find the current version on: [matrix.yaml.info](https://matrix.yaml.info/).\nDuring development I'm using\n[perlpunk.github.io/yaml-test-matrix](https://perlpunk.github.io/yaml-test-matrix/).\n\nIt shows which processors pass which test cases:\n\n| Test ID | Lib1 Events | Lib2 Events | Lib3 JSON | ...  |\n| ------- | ----------- | ----------- | --------  | ---- |\n| 229Q    | ok          | error       | ok        | diff |\n| 236B    | diff        | ok          | error     | ok   |\n| 26DV    | diff        | ok          | n/a       | n/a  |\n\nIt only shows results of valid YAML files currently.\n\n## YAML Test Suite\n\nThe [Test Suite](https://github.com/yaml/yaml-test-suite) is a collection of\nover 320 YAML test cases.\n\nEvery test case contains some of the following files:\n- in.yaml: The input YAML\n- test.event: Parser events in a specific format\n- in.json: The corresponding JSON that matches the loaded data structure\n- out.yaml, emit.yaml\n- error: Marks YAML files that are invalid\n\n## YAML Runtimes\n\n[yaml-runtimes](https://github.com/yaml/yaml-runtimes)  consists of code to\ncreate docker images that currently have 21 different YAML libraries installed.\n\nFor each library there exist scripts to output the yaml-test-suite parsing\nevent format, the loaded data structure in native format and in JSON.\n\nYou can also try out these library runtimes with the [YAML\nEditor](https://github.com/yaml/yaml-editor).  It contains a script that will\nopen Vim in the Docker container with some fancy mappings, so you can test YAML\ninput for many processors at the same time.\n\n## Matrix\n\nNow the matrix takes all test cases from yaml-test-suite and runs them\nthrough the various processors in the yaml-runtimes Docker container.\n\nIt checks if the program died, or if the result matches the expected\noutput.\nIt does some transformations as not all libraries support all features.\n\n## Adding a library\n\nIf you want to see a new library in the matrix, it has to be added to YAML\nRuntimes.\nPlease create an [issue](https://github.com/yaml/yaml-runtimes/issues) or [pull\nrequest](https://github.com/yaml/yaml-runtimes/pulls) there.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperlpunk%2Fyaml-test-matrix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fperlpunk%2Fyaml-test-matrix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperlpunk%2Fyaml-test-matrix/lists"}