dev-master
9999999-devGraphQL extension for Codeception
MIT
The Requires
codeception graphql
0.1.0
0.1.0.0GraphQL extension for Codeception
MIT
The Requires
codeception graphql
GraphQL extension for Codeception
This requires a running server, you can use Codeception PhpBuiltInServer if needed., (*1)
composer require xaddax/codeception-graphql --dev
In your acceptance.suite.yml file, (*2)
modules: enabled: - GraphQL: url: 'http://localhost:8080/'
To use it in a test, (*3)
class PingCest { public function testPing(AcceptanceTester $I) { $query = 'query{ping {response}}'; $I->sendGraphQL($query); $expected = [ 'ping' => [ 'response' => 'pong', ], ]; $I->assertEquals($expected, $I->grabResponseData()); } }
GraphQL extension for Codeception
MIT
codeception graphql
GraphQL extension for Codeception
MIT
codeception graphql