{"id":27601176,"url":"https://github.com/zestic/codeception-graphql","last_synced_at":"2025-04-22T17:16:33.348Z","repository":{"id":61733830,"uuid":"126734677","full_name":"zestic/codeception-graphql","owner":"zestic","description":"A codeception extension for calling graphql endpoints","archived":false,"fork":false,"pushed_at":"2023-04-10T14:36:49.000Z","size":13,"stargazers_count":2,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-22T17:16:29.074Z","etag":null,"topics":["codeception","codeception-module","graphql"],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/zestic.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-03-25T19:57:11.000Z","updated_at":"2023-03-21T08:54:06.000Z","dependencies_parsed_at":"2024-07-29T20:41:29.716Z","dependency_job_id":null,"html_url":"https://github.com/zestic/codeception-graphql","commit_stats":{"total_commits":17,"total_committers":3,"mean_commits":5.666666666666667,"dds":"0.47058823529411764","last_synced_commit":"37a35197adc73e3fab65269e5a7f126d15c952df"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zestic%2Fcodeception-graphql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zestic%2Fcodeception-graphql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zestic%2Fcodeception-graphql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zestic%2Fcodeception-graphql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zestic","download_url":"https://codeload.github.com/zestic/codeception-graphql/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250285732,"owners_count":21405298,"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":["codeception","codeception-module","graphql"],"created_at":"2025-04-22T17:16:32.758Z","updated_at":"2025-04-22T17:16:33.334Z","avatar_url":"https://github.com/zestic.png","language":"PHP","readme":"# Codeception GraphQL\n#### A codeception extension for calling GraphQL endpoints\n\nThis requires a running server, you can use [Codeception PhpBuiltInServer](https://github.com/tiger-seo/PhpBuiltinServer)\nif needed.\n\n#### Installation\n```bash\ncomposer require zestic/codeception-graphql --dev\n```\n\n#### To configure\n\nIn your acceptance.suite.yml file\n```yaml\nmodules:\n    enabled:\n        - GraphQL:\n            url: 'http://localhost:8080/'\n```\n\n#### Testing\n\nTo use it in a test\n```php\n\nclass PingCest\n{\n    public function testPing(AcceptanceTester $I)\n    {\n        $query = 'query{ping {response}}';\n        $I-\u003esendGraphQL($query);\n        $expected = [\n            'ping' =\u003e [\n                'response' =\u003e 'pong',\n            ],\n        ];\n        $I-\u003eassertEquals($expected, $I-\u003egrabResponseData());\n    }\n}\n\n```\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzestic%2Fcodeception-graphql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzestic%2Fcodeception-graphql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzestic%2Fcodeception-graphql/lists"}