{"id":23290814,"url":"https://github.com/imega/graphql-tester","last_synced_at":"2025-06-14T12:06:25.736Z","repository":{"id":144211933,"uuid":"130813253","full_name":"iMega/graphql-tester","owner":"iMega","description":"Graphql tester - Tool for testing GraphQL","archived":false,"fork":false,"pushed_at":"2018-05-12T10:44:40.000Z","size":949,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-24T20:02:07.639Z","etag":null,"topics":["version-0-0-8"],"latest_commit_sha":null,"homepage":"","language":"Go","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/iMega.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":"2018-04-24T07:21:25.000Z","updated_at":"2018-05-12T13:40:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"b2b03746-0ed6-4a57-b5aa-fbba9c9c90f8","html_url":"https://github.com/iMega/graphql-tester","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iMega/graphql-tester","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iMega%2Fgraphql-tester","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iMega%2Fgraphql-tester/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iMega%2Fgraphql-tester/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iMega%2Fgraphql-tester/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iMega","download_url":"https://codeload.github.com/iMega/graphql-tester/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iMega%2Fgraphql-tester/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259813009,"owners_count":22915198,"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":["version-0-0-8"],"created_at":"2024-12-20T05:12:50.388Z","updated_at":"2025-06-14T12:06:25.720Z","avatar_url":"https://github.com/iMega.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Graphql tester - Tool for testing GraphQL\n\n[![Build Status](https://travis-ci.org/iMega/graphql-tester.svg?branch=master)](https://travis-ci.org/iMega/graphql-tester)\n\n### Motivation\nin progress\n\n### Usage\n\n```\ndocker run -v `pwd`/github_api:/data imega/graphql-tester:0.0.1 -H 'Authorization: Bearer \u003ctoken\u003e' -u https://api.github.com/graphql /data\n```\n\ntoken - [Creating a personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/)\n\n### Referense\n\n#### The test case\n\nThe test case specification in the data part is composed by a series of test blocks.\nEach test block usually corresponds to a single test case, which has a title,\nan optional description, and a series of data sections. The structure of a test block\nis described by the following template.\n\n\n```\n# Title suite test\n\n=== Test 1.\n\n--- query\nquery {\n    viewer {\n        id\n        login\n    }\n}\n\n--- query_var\n{\n    \"variables\": {\n        \"input\": {\n            \"login\": \"blah-blah-blah\"\n        }\n    },\n    \"operationName\": \"GetLogin\"\n}\n\n--- expected_response\n{\n    \"data\": {\n        \"viewer\": {\n            \"login\": \"iMega\"\n        }\n    }\n}\n\n--- assert_not_empty\ndata.viewer.login\n\n--- assert_empty\ndata.viewer.id\n\n--- set_vars_from_response\n@login = data.viewer.login\n\n```\n\n### Examples\n\nSee folder github_api\n\n\n### Conditions\n\njq retuns json value from request, accept arg []byte\nequal returns error if values not equal\nhas retuns error if array not exists value\n!equal see equa;\n!has\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimega%2Fgraphql-tester","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimega%2Fgraphql-tester","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimega%2Fgraphql-tester/lists"}