amazeelabs/graphql_snapshot_test
最新稳定版本:1.1.5
Composer 安装命令:
composer require amazeelabs/graphql_snapshot_test
包简介
Drush commands for GraphQL snapshot testing.
README 文档
README
We compared this module with @amazeelabs/graphql-schema-test and found no reason to use it:
- there was a lot of headache with the Domain module
- tests ran with
@amazeelabs/graphql-schema-testtake almost same time
Drupal GraphQL Snapshot Testing
A Drush command that runs GraphQL queries against configured GraphQL servers and stores the results in snapshots.
Installation
composer require --dev amazeelabs/graphql_snapshot_test
Usage
drush help graphql:snapshot:test
Results can be altered from custom modules. See graphql_snapshot_test.api.php
Migration from @amazeelabs/graphql-schema-test
The package is designed to replace @amazeelabs/graphql-schema-test with
minimum effort. But you'll have to rewrite all your masking code to PHP 😬
New snapshots should look very close to the old ones. Example:
Tip: Use --servers option if the servers execution order does not match to the
old one.
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2023-01-18
